templates/style.css
author František Kučera <franta-hg@frantovo.cz>
Mon, 27 Apr 2020 10:55:46 +0200
branchv_0
changeset 66 6dff32230593
parent 63 20eed1382726
child 67 78eca0b3ab5f
permissions -rw-r--r--
note on silent failures (full disk and data loss)
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 {
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
     2
	font-family: "Sawasdee";
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
     3
	src: url("Sawasdee.woff");
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
     4
}
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
     5
2
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     6
body {
30
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
     7
	font-family: sans-serif;
841bec790da8 add Sawasdee.woff web font
František Kučera <franta-hg@frantovo.cz>
parents: 29
diff changeset
     8
	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
     9
	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
    10
	color: black;
29
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    11
	text-align: center;
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    12
}
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    13
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    14
div#content {
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    15
	max-width: 800px;
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    16
	text-align: justify;
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    17
	margin: 0 auto;
2
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    18
}
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    19
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    20
h1,h2,h3 {
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    21
	font-family: Sawasdee;
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    22
	font-weight: bold;
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 {
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    26
	text-align: center;
7aca0c2ba72d some formatting, fonts
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    27
}
16
131b90c4909e generate links/anchors so we can link to particular items
František Kučera <franta-hg@frantovo.cz>
parents: 2
diff changeset
    28
131b90c4909e generate links/anchors so we can link to particular items
František Kučera <franta-hg@frantovo.cz>
parents: 2
diff changeset
    29
a.anchor {
63
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    30
	color: transparent;
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    31
	text-shadow: 0 0 0 #eee;
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    32
	text-decoration: none;
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    33
	font-family: sans-serif;
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    34
	font-weight: normal;
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    35
	font-size: medium;
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    36
	width: 0px;
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    37
	height: 0px;
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    38
	display: inline-block;
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
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    41
h2:hover > a.anchor, li:hover > a.anchor {
20eed1382726 CSS: make permanent links more visible
František Kučera <franta-hg@frantovo.cz>
parents: 53
diff changeset
    42
	text-shadow: 0 0 0 #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
    43
	text-decoration: none;
17
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    44
}
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    45
53
f62393f88eab css: highlight current item (#id)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    46
li:target, div.chapter:target {
f62393f88eab css: highlight current item (#id)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    47
   background: #eee;
f62393f88eab css: highlight current item (#id)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    48
}
f62393f88eab css: highlight current item (#id)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    49
17
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    50
p.footer {
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    51
	font-size: 80%;
355edb728822 license/copyright footer
František Kučera <franta-hg@frantovo.cz>
parents: 16
diff changeset
    52
}
29
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    53
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    54
hr {
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    55
	border: 2px solid #888;
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    56
}