summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css55
1 files changed, 27 insertions, 28 deletions
diff --git a/style.css b/style.css
index ef9e2a5..f614f8e 100644
--- a/style.css
+++ b/style.css
@@ -18,47 +18,46 @@ body {
18 display: inline; 18 display: inline;
19} 19}
20 20
21a { 21div.theorem:before {
22 color: inherit; 22 content: "Theorem.";
23 font-weight: bold;
23} 24}
24 25
25p { 26div.theorem div.lemma div.proposition div.definition div.corollary {
26 margin-bottom: 0 27 text-indent: 2em;
28 margin-top: 1em;
29 margin-bottom: 1em;
27} 30}
28 31
29p + p { 32div.lemma:before {
30 text-indent: 1.5em; 33 content: "Lemma.";
31 margin-top: 0 34 font-weight: bold;
32} 35}
33 36
34nav#top-level { 37div.proposition:before {
35 border-bottom: 1px solid grey; 38 content: "Proposition.";
36 border-top: 1px solid grey; 39 font-weight: bold;
37 display: table;
38 text-align: center;
39 width: 100%;
40} 40}
41 41
42nav#top-level ul { 42div.definition:before {
43 display: table-row; 43 content: "Definition.";
44 font-weight: bold;
44} 45}
45 46
46nav#top-level ul li { 47div.corollary:before {
47 display: table-cell; 48 content: "Definition.";
49 font-weight: bold;
48} 50}
49 51
50nav#top-level ul li a { 52a {
51 display: inline-block;
52 width: 100%;
53 text-align: center;
54 text-decoration: none;
55 color: inherit; 53 color: inherit;
56 text-transform: uppercase;
57} 54}
58 55
59nav#top-level ul li a:hover { 56p {
60 display: inline-block; 57 margin-bottom: 0
61 width: 100%; 58}
62 text-align: center; 59
63 background: lightgrey; 60p + p {
61 text-indent: 1.5em;
62 margin-top: 0
64} 63}