/
app.css
154 lines (130 loc) · 2.59 KB
/
app.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
*,
*:before,
*:after {
padding: 0;
margin: 0;
box-sizing: border-box;
}
* {
transition: color .4s ease, background .4s ease .4s;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
font-size: 1.6vw;
line-height: 1.6;
padding: 2vw;
color: #fff;
-webkit-font-smoothing: antialiased;
}
@media (max-width: 1080px) { body { font-size: calc(1.6vw * 1.4); } }
@media (max-width: 640px) { body { font-size: calc(1.6vw * 2.4); } }
@media (max-width: 400px) { body { font-size: calc(1.6vw * 3.2); } }
h1 {
font-size: 1000%;
font-weight: 800;
line-height: 1;
letter-spacing: -.05em;
margin-top: 14vw;
margin-left: -.8vw;
}
@media (max-width: 1080px) { h1 { font-size: 700%; } }
@media (max-width: 640px) { h1 { font-size: 400%; } }
@media (max-width: 400px) { h1 { font-size: 300%; } }
h2 {
font-size: 250%;
font-weight: 400;
line-height: 1.2;
margin-left: -.2vw;
margin-bottom: 1.4vw;
}
@media (max-width: 1080px) { h2 { font-size: 180%; } }
@media (max-width: 640px) { h2 { font-size: 140%; } }
@media (max-width: 400px) { h2 { font-size: 120%; font-weight: 300; margin-left: -.1vw; } }
h3 {
font-size: 200%;
font-weight: 400;
line-height: 1;
margin-bottom: 12vw;
margin-left: -.1vw;
}
@media (max-width: 1080px) { h3 { font-size: 160%; } }
@media (max-width: 640px) { h3 { font-size: 120%; } }
@media (max-width: 400px) { h3 { font-size: 100%; font-weight: 300; } }
a {
color: #fff;
font-weight: 700;
text-decoration: none;
cursor: pointer;
}
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
appearance: none;
outline: none;
border: none;
}
input {
color: #fff;
font-family: Menlo, Consolas, monospace;
border-radius: 0;
}
button {
color: #fff;
background: transparent;
padding: 0 10px;
cursor: pointer;
}
p,
pre {
margin-bottom: 1.6rem;
outline: none;
}
code,
pre {
font-family: Menlo, Consolas, monospace;
}
p code,
li code {
word-break: break-all;
}
pre {
padding: 2vw;
margin: 0 -2vw 1.8rem;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.wrap {
max-width: 800px;
}
.sub-heading {
font-size: 72%;
text-transform: uppercase;
margin: 10vmin 0 1rem;
opacity: .5;
}
.btn-picker {
display: flex;
flex-wrap: wrap;
}
.btn-picker button {
flex-grow: 1;
text-align: right;
font-family: Menlo, Consolas, monospace;
padding: .2em .4em;
}
.btn-picker input {
width: 8ex;
padding: .2em .4em;
}
.btn-present {
display: flex;
flex-wrap: wrap;
}
.generated-styles {
font-size: 72%;
max-height: 12em;
}