-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (78 loc) · 1.46 KB
/
style.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
:root {
--font-monospace: Courier New, Courier, Lucida Sans Typewriter, Lucida Typewriter, monospace;
--color-black: #343837;
--color-white: #FDFDFE;
--color-gray: #7D7F7C;
}
html { font-size: 11px; }
@media (min-width: 600px) {
html { font-size: 12px; }
}
body {
padding: 0;
margin: 0;
font-size: 1.5rem;
font-weight: bold;
font-family: var(--font-monospace, monospace);
color: var(--color-black, black);
background-color: var(--color-white, white);
}
main {
display: flex;
flex-direction: column;
max-width: 600px;
margin: auto;
padding: 2rem;
}
header {
display: flex;
flex-direction: column;
}
@media (min-width: 600px) {
header {
flex-direction: row-reverse;
justify-content: flex-end;
align-items: flex-end;
}
}
h1 {
margin-top: 0;
margin-bottom: 0;
font-size: 2.5rem;
}
h2 {
margin-top: 0;
font-size: inherit;
}
img {
align-self: center;
width: 100%;
max-width: 200px;
height: auto;
margin-bottom: 1rem;
border-radius: 50%;
filter: grayscale(50%) brightness(110%);
}
ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
padding: 0;
margin: 0;
}
@media (min-width: 600px) {
ul { justify-content: start; }
}
li {
text-align: center;
list-style: none;
}
@media (min-width: 600px) {
li { margin-right: 3rem; }
}
.link { color: var(--color-gray, gray); }
.link:hover {
color: var(--color-black, black);
transition: color 0.25s;
}