templates/style.css
author František Kučera <franta-hg@frantovo.cz>
Tue, 14 Jul 2020 16:42:04 +0200
branchv_0
changeset 67 78eca0b3ab5f
parent 63 20eed1382726
child 72 2e86632f5aef
permissions -rw-r--r--
style: change font to more classic Computer Modern (CMU) + change the anchor symbol
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
30
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
     1
@font-face {
67
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
     2
        font-family: "CMU Serif Roman";
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
     3
        src: url("cmunrm.woff");
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
     4
}
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
     5
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
     6
@font-face {
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
     7
        font-family: "CMU Serif Bold";
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
     8
        src: url("cmunbx.woff");
30
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
     9
}
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
    10
2
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    11
body {
67
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    12
	font-family: "CMU Serif Roman";
30
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
    13
	font-size:  18px;
16
131b90c4909e generate links/anchors so we can link to particular items
František Kučera <franta-hg@frantovo.cz>
parents: 2
diff changeset
    14
	background-color: white;
131b90c4909e generate links/anchors so we can link to particular items
František Kučera <franta-hg@frantovo.cz>
parents: 2
diff changeset
    15
	color: black;
29
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    16
	text-align: center;
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    17
}
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    18
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    19
div#content {
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    20
	max-width: 800px;
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    21
	text-align: justify;
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    22
	margin: 0 auto;
2
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    23
}
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    24
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    25
h1,h2,h3 {
67
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    26
	font-family: "CMU Serif Bold";
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    27
	font-weight: normal;
2
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    28
}
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    29
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    30
h1 {
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    31
	text-align: center;
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    32
}
16
131b90c4909e generate links/anchors so we can link to particular items
František Kučera <franta-hg@frantovo.cz>
parents: 2
diff changeset
    33
131b90c4909e generate links/anchors so we can link to particular items
František Kučera <franta-hg@frantovo.cz>
parents: 2
diff changeset
    34
a.anchor {
67
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    35
	color:  #eee;
63
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    36
	text-decoration: none;
67
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    37
	font-size: 80%;
63
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    38
}
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    39
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    40
h2:hover > a.anchor, li:hover > a.anchor {
67
78eca0b3ab5f style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    41
	color: #999;
16
131b90c4909e generate links/anchors so we can link to particular items
František Kučera <franta-hg@frantovo.cz>
parents: 2
diff changeset
    42
	text-decoration: none;
17
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    43
}
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    44
53
f62393f88eab css: highlight current item (#id)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    45
li:target, div.chapter:target {
f62393f88eab css: highlight current item (#id)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    46
   background: #eee;
f62393f88eab css: highlight current item (#id)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    47
}
f62393f88eab css: highlight current item (#id)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    48
17
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    49
p.footer {
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    50
	font-size: 80%;
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    51
}
29
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    52
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    53
hr {
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    54
	border: 2px solid #888;
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    55
}