-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.scss
51 lines (42 loc) · 847 Bytes
/
styles.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
body {
font-family: 'Rubik', sans-serif;
max-width: 40em;
background-color: #212121;
color: #fafafa;
margin-left: 2em;
line-height: 1.6;
}
a {
text-decoration: none;
color: #ff0;
}
a:hover {
text-decoration: underline;
}
code {
font-family: 'Source Code Pro', monospace;
}
h1 {
font-family: 'Major Mono Display', monospace;
font-size: 9vw;
line-height: initial;
// Hack: the capital "R" in Major Mono Display isn't great.
//
// Since `not` can't be used with pseudo-selectors, transform the whole
// heading into lowercase and then transform the "A" back to uppercase.
text-transform: lowercase;
&::first-letter {
text-transform: uppercase;
}
}
@media screen and (min-width: 768px) {
h1 {
font-size: 4em;
}
}
h2 {
border-bottom: 1px solid #eaecef;
}
li {
list-style-type: square;
}