Skip to content

Instantly share code, notes, and snippets.

@tshrinivasan
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tshrinivasan/95ace5882cac6a1070fe to your computer and use it in GitHub Desktop.
Save tshrinivasan/95ace5882cac6a1070fe to your computer and use it in GitHub Desktop.
CSS for FreeTamilEbooks.com
<style type="text/css">
body {
background: white;
font-size: 12pt;
}
strong,h3,h4{
font-weight: 900;
color:midnightblue;
}
h1.front-matter-title{
page-break-before: always;
}
#toc {
page-break-before: always;
}
#title-page{
page-break-before: always;
}
p{
line-height:140%;
text-align:left;
clear:left;
}
div.chapter-title-wrap{
page-break-before: always;
border-bottom-style: groove;
display:block;
margin-bottom:100px;
color : #3366FF;
}
div.back-matter-title-wrap{
page-break-before: always;
border-bottom-style: groove;
display:block;
margin-bottom:100px;
color : #3366FF;
}
h3.front-matter-number {
display:none;
}
#half-title-page {
display:none;
}
img{
/*page-break-before: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
/* page-break-after: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
page-break-inside: avoid; /* or 'auto' */
}
@media print {
img {
max-width: 100%; !important;
max-height:100%;
margin-bottom:30px;
/*page-break-before: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
/*page-break-after: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
page-break-inside: avoid; /* or 'auto' */
}
p{
clear:left;
}
a {
font-weight: bolder;
text-decoration: none;
}
}
</style>
பொருளடக்கம்
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment