-
Notifications
You must be signed in to change notification settings - Fork 5
/
main.css
145 lines (103 loc) · 1.55 KB
/
main.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300');
body {
background-color: #F1F1EF;
color: #000036;
margin: auto;
font-family: 'Open Sans', sans-serif;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* header */
#header {
padding: 1em;
background-color: #000036;
color: #F1F1EF;
text-align: center;
}
#header * {
color: #F1F1EF;
}
#header h1 {
font-size: 3em;
margin: 0.4em auto;
}
#header h1 a {
text-decoration: none;
}
#header h2 {
font-size: 1.2em;
margin: 0.4em auto;
}
@media screen and (max-width: 320px) {
#header h2 {
display: none;
}
}
@media screen and (max-width: 680px) {
#header h1 {
font-size: 3em;
}
}
#header .next, #header .prev {
opacity: 0.28;
}
#header a.next:hover, #header a.prev:hover {
opacity: 0.84;
transition: 0.2s;
}
/* nav */
#nav li.app {
list-style-type: none;
margin-left: -1em;
}
#nav li.app:before {
content: "+ ";
color: green;
}
/* content */
#content {
margin: auto;
max-width: 52em;
padding: 0em 2em 4em 2em;
}
#content h1 {
margin-top: 4em;
text-align: center;
}
#content h2 {
font-size: 1.4em;
margin-top: 2em;
}
@media screen and (max-width: 680px) {
#content {
font-size: 120%;
}
}
@media screen and (max-width: 780px) {
#content {
font-size: 110%;
}
}
/* glossario */
.gloss dt {
margin-top: 1em;
font-weight: bold;
}
/* footnotes */
.footnote a {
text-decoration: none;
}
#footnotes {
margin: 1em;
}
/* 404 page */
.notFound {
text-align: center;
}
.notFound p {
margin-top: 2em;
}