Last active
August 29, 2015 14:03
-
-
Save tshrinivasan/95ace5882cac6a1070fe to your computer and use it in GitHub Desktop.
CSS for FreeTamilEbooks.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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