-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
276 lines (241 loc) · 5.52 KB
/
styles.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
@font-face {
font-family: "Select Mono";
src: url('/assets/fonts/SelectMono-Italic.woff') format('woff');
}
html {
font-size: 0.625rem;
/* 10px equivalent thanks to default of 16px */
}
html * {
box-sizing: border-box;
}
body {
background: #fff;
color: #414141;
font-family: 'Source Code Pro', monospace;
font-size: 1.6rem;
/* 16px equivalent */
font-weight: 400;
padding: 4rem;
}
h1, h2, h3, h4, h5, h6 {
/* color: #000000; */
font-weight: 400;
}
h2 {
font-family: "Select Mono", cursive;
font-size: 3rem;
line-height: 1.25;
margin-bottom: 3.6rem;
}
hr {
border: none;
border-top: .2rem solid #eae5f0;
border-bottom: .2rem solid #eae5f0;
border-radius: 200rem;
background: none;
height: 0;
margin: 2em 0;
}
a {
border-bottom: .2rem solid #e6c2c5;
/* color: #e4bcbf; */
color: #e6c2c5;
font-weight: 600;
text-decoration: none;
transition: .3s ease all; }
a:hover {
color: #EEAABE;
border-bottom-color: #EEAABE;
transition: .1s ease all;
}
/* form fields */
input, textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid #e5e5e5;
padding: .8rem; }
input:focus, textarea:focus {
outline: none;
border-color: pink;
z-index: 100; }
button, input[type="button"], input[type="submit"],
.btn-link {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: #fff;
background: #e4bcbf;
border: .2rem solid #e4bcbf;
border-radius: .25rem;
color: #e4bcbf;
color: #fff;
text-shadow:
0 .1rem 0 #bf9296,
.1rem .2rem .1rem #d0a2a6;
cursor: pointer;
display: inline-block;
font-family: inherit;
font-weight: 600;
padding: .6em 1.2em .8em 1.2em;
text-align: center;
transition: .3s ease all;
}
button.primary, input[type="button"].primary, input[type="submit"].primary,
.btn-link.primary {
color: #2328ff; }
button:hover, input[type="button"]:hover, input[type="submit"]:hover,
.btn-link:hover {
color: #fff;
text-shadow:
0 .1rem 0 #cf95a6
.1rem .2rem .1rem #cf95a6;
background: #e4bcbf;
background: #EEAABE;
border-color: #EEAABE; }
button:active, input[type="button"]:active, input[type="submit"]:active,
.btn-link:active {
color: #fff;
background: #EEAABE;
transform: translateY(.4rem);
transition: 0s ease all; }
button:disabled, input[type="button"]:disabled, input[type="submit"]:disabled,
.btn-link:disabled {
color: #bbb;
background: #f0f0f0;
border-color: #f0f0f0; }
button:disabled:hover, input[type="button"]:disabled:hover, input[type="submit"]:disabled:hover,
.btn-link:disabled:hover {
cursor: default; }
button:focus, input[type="button"]:focus, input[type="submit"]:focus,
.btn-link:focus {
outline: 2px solid pink;
z-index: 100; }
.btn-link:not([href]) {
background: transparent;
border-color: transparent;
color: #9c9b9b; }
header {
margin-bottom: 4rem;
}
main {
margin: 2rem auto;
max-width: 110rem;
}
footer {
/* margin: 6rem auto; */
}
.description {
margin-bottom: 6rem;
margin-top: 6rem;
}
.title-emoji {
display: block;
font-size: 1.4em;
}
.theme-link {
padding: 0;
position: relative;
overflow: hidden;
}
.theme-link::after {
box-sizing: border-box;
/* background: rgba(0, 0, 0, 1); */
background: #EEAABE;
bottom: 0;
color: #fff;
content: "view theme";
display: block;
opacity: 0;
padding: 1rem 2rem;
position: absolute;
width: 100%;
z-index: 200;
}
.theme-link:hover {
/* box-shadow: -2rem 2.2rem .2rem .15rem #f6f0f4; */
}
.theme-link:hover::after {
opacity: 1;
transition: .2s ease all;
}
.theme-link-description {
padding: 2rem 4rem;
}
.theme-link h3 {
font-family: "Select Mono", cursive;
font-size: 3rem;
margin: 1rem 0 0 0;
}
.theme-thumbnail-wrapper {
overflow: hidden;
width: 100%;
max-height: 22rem;
}
.theme-thumbnail {
display: block;
position: relative;
width: 250%;
}
.theme-page-soft-era {
background: #f9f5f5;
/* color: #c3adad; */
color: #ba989c;
}
.theme-page-soft-era h1 {
color: #414141;
}
.theme-page-soft-era a:not(.btn-link) {
color: #a29acb;
border-color: #a29acb;
/* color: #25b7b8; */
}
.theme-page-soft-era a:not(.btn-link):hover {
color: #414141;
border-color: #414141;
}
.theme-page-soft-era .btn-link {
/* color: #a29acb; */
/* color: #25b7b8; */
color: #fff;
/* border-radius: 10rem; */
}
.theme-page-soft-era .btn-link:hover {
color: #fff;
}
.theme-preview {
display: block;
margin: 0 auto;
max-width: 100%;
}
@media only screen and (min-width: 50em) {
body {
font-size: 2rem;
padding: 8rem 10rem;
}
/* column alignment on larger screens */
header, footer, main > section {
max-width: 66%;
margin-left: auto;
margin-right: auto;
}
hr {
margin: 9.4rem 0;
}
header {
margin-bottom: 6rem;
}
.theme-link-description {
padding: 4rem 4rem;
}
.theme-link h3 {
font-size: 4rem;
}
.theme-thumbnail-wrapper {
max-height: 36rem;
}
.theme-thumbnail {
width: 100%;
}
}