Quote:
Originally Posted by DNSB
You do know that you can define classes in the html files? Not to mention some people's unnatural love for in-line styles? The code block is a sample from a Randy Penguin ebook's next read blurb.
Code:
<style>
@font-face {font-family: 'Shift Light'; font-style: normal; font-weight: bold; src: url('../Fonts/Shift-Bold.otf');}
@font-face {font-family: 'Shift Light'; font-style: italic; font-weight: bold; src: url('../Fonts/Shift-BoldItalic.otf');}
div {margin: 0; padding: 0; line-height: inherit; text-indent: 0;}
h1 {font-size: 1.5em; text-align: center; margin: 0 0 1em 0; font-weight: bold; font-style: italic; line-height: inherit; text-indent: 0; font-family: 'Shift Light', Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;}
p {text-align: center; text-indent: 0; margin: 1em 0 0 0; font-family: 'Shift Light', Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;}
.center{text-align: center;}
.x-small {font-weight: bold; font-size: 1em; margin: 0; padding: 0;}
.image_h12{font-size: 1em; height: 12em; max-width: 100%;}
a, a:link, a:visited, a:hover, a:active {font-weight: bold; font-size: 1.2em; color: #fa6400; text-decoration: underline;}
.rule {font-size: 1em; margin: 1.2em 5% 0 5%; border-top: 1px solid #636363;}
</style>
|
That mess is not a problem at all. I just delete the HTML file as I don't need or want it.