-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
91 lines (74 loc) · 1.26 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
html,
body {
height: 100%;
}
body {
background-color: #222;
color: #fff;
font-family: Helvetica, Arial, sans-serif;
font-size: 100%;
margin: 0;
padding: 0;
}
h1 {
font-size: 2rem;
font-weight: 300;
margin-top: 0;
}
h1 span { white-space: nowrap; }
p {
font-size: 1.1rem;
font-weight: 300;
line-height: 1.3;
margin-top: 0;
}
a {
border-bottom-color: transparent;
border-bottom-style: solid;
border-bottom-width: 0.0625rem;
color: mediumspringgreen;
display: inline-block;
font-size: 1.1rem;
font-weight: 300;
line-height: 1;
text-decoration: none;
transition: border-bottom-color 0.2s;
}
a:hover,
a:focus {
border-bottom-color: mediumspringgreen;
}
ul {
margin-bottom: 0;
margin-top: 0;
padding-left: 0;
}
li {
display: inline-block;
font-size: 1rem;
font-weight: 300;
list-style: none;
margin-bottom: 0.3rem;
}
li:after {
content: ',';
font-size: inherit;
font-weight: inherit;
}
li:last-child:after { content: ''; }
main {
display: flex;
height: 100%;
}
div {
margin: auto;
max-width: 24rem;
padding: 1rem;
}
@media only screen and (min-width: 30em) {
h1 { font-size: 2.8rem; }
p { font-size: 1.3rem; }
a { font-size: 1.3rem; }
li { font-size: 1.3rem; }
div { max-width: 30rem; }
}