-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
125 lines (104 loc) · 2.03 KB
/
main.css
File metadata and controls
125 lines (104 loc) · 2.03 KB
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
html {
height: 100%;
}
body {
font-family: 'Atkinson Hyperlegible Next', sans-serif;
line-height: 1.45;
font-size: 120%;
display: flex;
background: url(img/bg-progressive-white.jpg) no-repeat center center fixed;
background-color: #f5f5f5;
margin: 0;
padding-bottom: 1em;
}
h1 {
font-size: 2em;
margin: .4em 0 0;
}
h2 {
font-weight: 400;
margin: .4em 0 0;
font-style: italic;
}
nav {
position: fixed;
margin: 2em;
}
main {
display: block;
padding-right: 2em;
width: 32em;
margin: 3em 0;
margin-left:11em;
}
ul {
margin: 0;
padding: 0;
}
li {
display: block;
text-align: center;
padding: 2.5em;
}
a {
font-weight: 400;
color: #000;
text-decoration: none;
transition: all .2s ease;
}
a:hover {
color: #444;
transition: all .2s ease;
}
p > a {
text-decoration: underline;
}
.fab,
.fas {
font-size: 2em;
}
.tippy-box[data-theme~=light-border]{background-color:#444;font-size: 0.8em;}
@media (max-width: 800px) {
body { display: block; }
nav {
position: initial;
display: table;
margin: 0 auto;
padding: 0;
}
ul {
display: inline-flex;
padding: 0;
}
li {
display: inline-block;
padding: 2em;
}
main {
width: auto;
margin: 0 auto;
padding: 0 1em;
}
h1 {
margin-top: 0;
margin-bottom: 0;
}
h2 {
margin-top: 0;
margin-bottom: 0;
}
}
@media (max-width: 465px) {
li { padding: 1em; }
.fab, .fas { font-size: 1.5em; }
}
@media (prefers-color-scheme: dark) {
body {
background: url(img/bg-progressive.jpg) no-repeat center center fixed;
background-color: #131313;
color: #fff;
}
a { color: #fff; }
a:hover { color: #ccc; }
.tippy-box[data-theme~=light-border] { background-color:#ccc; }
}