-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
110 lines (93 loc) · 1.58 KB
/
style.scss
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
:root {
--padding: 0.5rem;
--tiny: calc(100vw - var(--padding) * 2);
--wide: 32rem;
--box: min(var(--tiny), var(--wide));
--edge: calc((100vw - var(--box)) / 2);
--abstractFontSize: 1rem;
--abstractLineHeight: 1.2em;
}
@media (min-width: 16rem) {
:root {
--padding: 1rem
}
}
@media (min-width: 20rem) {
:root {
--abstractFontSize: 1.0rem;
}
}
@media (min-width: 24rem) {
:root {
--abstractFontSize: 1.2rem;
--abstractLineHeight: 1.2em;
}
}
@media (min-width: 32rem) {
:root {
--abstractFontSize: 1.4rem;
--abstractLineHeight: 1.4em;
}
}
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
background: white;
font-family: sans-serif;
margin: 0;
}
main {
align-items: center;
display: flex;
flex-direction: column;
}
header {
display: flex;
flex-direction: column;
justify-content: center;
height: var(--box);
width: var(--box);
}
h1 {
display: none;
}
header svg:nth-child(2) {
width: 100%;
height: 3rem;
margin-bottom: 1rem;
}
header p {
font-family: Rockwell;
font-size: 1.5rem;
margin: 0;
text-transform: lowercase;
}
header a[href*="github"] {
align-items: center;
color: dodgerblue;
display: flex;
flex-direction: row;
font-family: Futura, sans-serif;
font-size: 1.2rem;
margin-top: 0.5rem;
text-decoration: none;
}
header a[href*="github"]:hover {
text-decoration: underline;
}
header a[href*="github"] svg {
fill: dodgerblue;
margin-right: 0.5ch;
height: 1.4rem;
width: 1.4rem;
}
main > svg {
height: var(--box);
width: var(--box);
}