templates/style.css
author František Kučera <franta-hg@frantovo.cz>
Fri, 10 May 2024 00:10:08 +0200
branchv_0
changeset 82 a11239f9f9e7
parent 72 2e86632f5aef
permissions -rw-r--r--
EPUB: move Preamble to the same level as other chapters

@font-face {
        font-family: "CMU Serif Roman";
        src: url("cmunrm.woff");
}

@font-face {
        font-family: "CMU Serif Bold";
        src: url("cmunbx.woff");
}

body {
	font-family: "CMU Serif Roman";
	font-size:  18px;
	background-color: #F8F8F8;
	color: black;
	text-align: center;
}

div#content {
	max-width: 800px;
	text-align: justify;
	margin: 0 auto;
}

h1,h2,h3 {
	font-family: "CMU Serif Bold";
	font-weight: normal;
}

h1 {
	text-align: center;
	margin-top: 50px;
}

a {
	color: #806;
	text-decoration: none;
}

a.anchor {
	color:  #eee;
	text-decoration: none;
	font-size: 80%;
}

h2:hover > a.anchor, li:hover > a.anchor {
	color: #999;
	text-decoration: none;
}

li:target, div.chapter:target {
   background: #eee;
}

p.footer {
	font-size: 80%;
	margin-bottom: 30px;
}

hr {
	border: 2px solid #888;
}