jekyll-theme-mastodon 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/_includes/analytics.html +36 -0
- data/_includes/analytics/amplitude.js +35 -0
- data/_includes/analytics/gtag.js +9 -0
- data/_includes/analytics/gtm.js +5 -0
- data/_includes/analytics/hotjar.js +8 -0
- data/_includes/analytics/matomo.js +10 -0
- data/_includes/analytics/quantcast.js +12 -0
- data/_includes/footer.html +28 -0
- data/_includes/head.html +41 -0
- data/_includes/header.html +18 -0
- data/_includes/resources.html +20 -0
- data/_layouts/about.html +71 -0
- data/_layouts/default.html +15 -0
- data/_layouts/error.html +31 -0
- data/_layouts/none.html +4 -0
- data/_layouts/page.html +15 -0
- data/_layouts/post.html +56 -0
- data/_layouts/profile.html +199 -0
- data/_layouts/redirect.html +18 -0
- data/_layouts/rss.html +29 -0
- data/_layouts/sitemap.html +29 -0
- data/_layouts/tags.html +32 -0
- data/_sass/_about.scss +905 -0
- data/_sass/_accounts.scss +327 -0
- data/_sass/_admin.scss +918 -0
- data/_sass/_basics.scss +272 -0
- data/_sass/_boost.scss +32 -0
- data/_sass/_compact_header.scss +34 -0
- data/_sass/_components.scss +7363 -0
- data/_sass/_containers.scss +903 -0
- data/_sass/_dashboard.scss +78 -0
- data/_sass/_font-montserrat.scss +19 -0
- data/_sass/_font-roboto.scss +47 -0
- data/_sass/_font-robotomono.scss +11 -0
- data/_sass/_footer.scss +137 -0
- data/_sass/_forms.scss +1009 -0
- data/_sass/_highlights.scss +146 -0
- data/_sass/_introduction.scss +154 -0
- data/_sass/_lists.scss +19 -0
- data/_sass/_mixins.scss +56 -0
- data/_sass/_modal.scss +35 -0
- data/_sass/_polls.scss +274 -0
- data/_sass/_reset.scss +108 -0
- data/_sass/_rtl.scss +468 -0
- data/_sass/_statuses.scss +191 -0
- data/_sass/_tables.scss +293 -0
- data/_sass/_variables.scss +58 -0
- data/_sass/_widgets.scss +619 -0
- data/assets/404.gif +0 -0
- data/assets/avatar.png +0 -0
- data/assets/banner.png +0 -0
- data/assets/fonts/montserrat/Montserrat-Medium.ttf +0 -0
- data/assets/fonts/montserrat/Montserrat-Regular.ttf +0 -0
- data/assets/fonts/montserrat/Montserrat-Regular.woff +0 -0
- data/assets/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
- data/assets/fonts/roboto/roboto-bold-webfont.svg +16273 -0
- data/assets/fonts/roboto/roboto-bold-webfont.ttf +0 -0
- data/assets/fonts/roboto/roboto-bold-webfont.woff +0 -0
- data/assets/fonts/roboto/roboto-bold-webfont.woff2 +0 -0
- data/assets/fonts/roboto/roboto-italic-webfont.svg +15513 -0
- data/assets/fonts/roboto/roboto-italic-webfont.ttf +0 -0
- data/assets/fonts/roboto/roboto-italic-webfont.woff +0 -0
- data/assets/fonts/roboto/roboto-italic-webfont.woff2 +0 -0
- data/assets/fonts/roboto/roboto-medium-webfont.svg +16273 -0
- data/assets/fonts/roboto/roboto-medium-webfont.ttf +0 -0
- data/assets/fonts/roboto/roboto-medium-webfont.woff +0 -0
- data/assets/fonts/roboto/roboto-medium-webfont.woff2 +0 -0
- data/assets/fonts/roboto/roboto-regular-webfont.svg +15513 -0
- data/assets/fonts/roboto/roboto-regular-webfont.ttf +0 -0
- data/assets/fonts/roboto/roboto-regular-webfont.woff +0 -0
- data/assets/fonts/roboto/roboto-regular-webfont.woff2 +0 -0
- data/assets/fonts/robotomono/robotomono-regular-webfont.svg +1051 -0
- data/assets/fonts/robotomono/robotomono-regular-webfont.ttf +0 -0
- data/assets/fonts/robotomono/robotomono-regular-webfont.woff +0 -0
- data/assets/fonts/robotomono/robotomono-regular-webfont.woff2 +0 -0
- data/assets/hero.png +0 -0
- data/assets/mastodon.scss +34 -0
- data/license +661 -0
- data/readme.md +3 -0
- metadata +136 -0
@@ -0,0 +1,903 @@
|
|
1
|
+
.container-alt {
|
2
|
+
width: 700px;
|
3
|
+
margin: 0 auto;
|
4
|
+
margin-top: 40px;
|
5
|
+
|
6
|
+
@media screen and (max-width: 740px) {
|
7
|
+
width: 100%;
|
8
|
+
margin: 0;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.logo-container {
|
13
|
+
margin: 100px auto 50px;
|
14
|
+
|
15
|
+
@media screen and (max-width: 500px) {
|
16
|
+
margin: 40px auto 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
h1 {
|
20
|
+
display: flex;
|
21
|
+
justify-content: center;
|
22
|
+
align-items: center;
|
23
|
+
|
24
|
+
svg {
|
25
|
+
fill: $primary-text-color;
|
26
|
+
height: 42px;
|
27
|
+
margin-right: 10px;
|
28
|
+
}
|
29
|
+
|
30
|
+
a {
|
31
|
+
display: flex;
|
32
|
+
justify-content: center;
|
33
|
+
align-items: center;
|
34
|
+
color: $primary-text-color;
|
35
|
+
text-decoration: none;
|
36
|
+
outline: 0;
|
37
|
+
padding: 12px 16px;
|
38
|
+
line-height: 32px;
|
39
|
+
font-family: $font-display, sans-serif;
|
40
|
+
font-weight: 500;
|
41
|
+
font-size: 14px;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.compose-standalone {
|
47
|
+
.compose-form {
|
48
|
+
width: 400px;
|
49
|
+
margin: 0 auto;
|
50
|
+
padding: 20px 0;
|
51
|
+
margin-top: 40px;
|
52
|
+
box-sizing: border-box;
|
53
|
+
|
54
|
+
@media screen and (max-width: 400px) {
|
55
|
+
width: 100%;
|
56
|
+
margin-top: 0;
|
57
|
+
padding: 20px;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.account-header {
|
63
|
+
width: 400px;
|
64
|
+
margin: 0 auto;
|
65
|
+
display: flex;
|
66
|
+
font-size: 13px;
|
67
|
+
line-height: 18px;
|
68
|
+
box-sizing: border-box;
|
69
|
+
padding: 20px 0;
|
70
|
+
padding-bottom: 0;
|
71
|
+
margin-bottom: -30px;
|
72
|
+
margin-top: 40px;
|
73
|
+
|
74
|
+
@media screen and (max-width: 440px) {
|
75
|
+
width: 100%;
|
76
|
+
margin: 0;
|
77
|
+
margin-bottom: 10px;
|
78
|
+
padding: 20px;
|
79
|
+
padding-bottom: 0;
|
80
|
+
}
|
81
|
+
|
82
|
+
.avatar {
|
83
|
+
width: 40px;
|
84
|
+
height: 40px;
|
85
|
+
margin-right: 8px;
|
86
|
+
|
87
|
+
img {
|
88
|
+
width: 100%;
|
89
|
+
height: 100%;
|
90
|
+
display: block;
|
91
|
+
margin: 0;
|
92
|
+
border-radius: 4px;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
.name {
|
97
|
+
flex: 1 1 auto;
|
98
|
+
color: $secondary-text-color;
|
99
|
+
width: calc(100% - 88px);
|
100
|
+
|
101
|
+
.username {
|
102
|
+
display: block;
|
103
|
+
font-weight: 500;
|
104
|
+
text-overflow: ellipsis;
|
105
|
+
overflow: hidden;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
.logout-link {
|
110
|
+
display: block;
|
111
|
+
font-size: 32px;
|
112
|
+
line-height: 40px;
|
113
|
+
margin-left: 8px;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
.grid-3 {
|
118
|
+
display: grid;
|
119
|
+
grid-gap: 10px;
|
120
|
+
grid-template-columns: 3fr 1fr;
|
121
|
+
grid-auto-columns: 25%;
|
122
|
+
grid-auto-rows: max-content;
|
123
|
+
|
124
|
+
.column-0 {
|
125
|
+
grid-column: 1 / 3;
|
126
|
+
grid-row: 1;
|
127
|
+
}
|
128
|
+
|
129
|
+
.column-1 {
|
130
|
+
grid-column: 1;
|
131
|
+
grid-row: 2;
|
132
|
+
}
|
133
|
+
|
134
|
+
.column-2 {
|
135
|
+
grid-column: 2;
|
136
|
+
grid-row: 2;
|
137
|
+
}
|
138
|
+
|
139
|
+
.column-3 {
|
140
|
+
grid-column: 1 / 3;
|
141
|
+
grid-row: 3;
|
142
|
+
}
|
143
|
+
|
144
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
145
|
+
grid-gap: 0;
|
146
|
+
grid-template-columns: minmax(0, 100%);
|
147
|
+
|
148
|
+
.column-0 {
|
149
|
+
grid-column: 1;
|
150
|
+
}
|
151
|
+
|
152
|
+
.column-1 {
|
153
|
+
grid-column: 1;
|
154
|
+
grid-row: 3;
|
155
|
+
}
|
156
|
+
|
157
|
+
.column-2 {
|
158
|
+
grid-column: 1;
|
159
|
+
grid-row: 2;
|
160
|
+
}
|
161
|
+
|
162
|
+
.column-3 {
|
163
|
+
grid-column: 1;
|
164
|
+
grid-row: 4;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
.grid-4 {
|
170
|
+
display: grid;
|
171
|
+
grid-gap: 10px;
|
172
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
173
|
+
grid-auto-columns: 25%;
|
174
|
+
grid-auto-rows: max-content;
|
175
|
+
|
176
|
+
.column-0 {
|
177
|
+
grid-column: 1 / 5;
|
178
|
+
grid-row: 1;
|
179
|
+
}
|
180
|
+
|
181
|
+
.column-1 {
|
182
|
+
grid-column: 1 / 4;
|
183
|
+
grid-row: 2;
|
184
|
+
}
|
185
|
+
|
186
|
+
.column-2 {
|
187
|
+
grid-column: 4;
|
188
|
+
grid-row: 2;
|
189
|
+
}
|
190
|
+
|
191
|
+
.column-3 {
|
192
|
+
grid-column: 2 / 5;
|
193
|
+
grid-row: 3;
|
194
|
+
}
|
195
|
+
|
196
|
+
.column-4 {
|
197
|
+
grid-column: 1;
|
198
|
+
grid-row: 3;
|
199
|
+
}
|
200
|
+
|
201
|
+
.landing-page__call-to-action {
|
202
|
+
min-height: 100%;
|
203
|
+
}
|
204
|
+
|
205
|
+
.flash-message {
|
206
|
+
margin-bottom: 10px;
|
207
|
+
}
|
208
|
+
|
209
|
+
@media screen and (max-width: 738px) {
|
210
|
+
grid-template-columns: minmax(0, 50%) minmax(0, 50%);
|
211
|
+
|
212
|
+
.landing-page__call-to-action {
|
213
|
+
padding: 20px;
|
214
|
+
display: flex;
|
215
|
+
align-items: center;
|
216
|
+
justify-content: center;
|
217
|
+
}
|
218
|
+
|
219
|
+
.row__information-board {
|
220
|
+
width: 100%;
|
221
|
+
justify-content: center;
|
222
|
+
align-items: center;
|
223
|
+
}
|
224
|
+
|
225
|
+
.row__mascot {
|
226
|
+
display: none;
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
231
|
+
grid-gap: 0;
|
232
|
+
grid-template-columns: minmax(0, 100%);
|
233
|
+
|
234
|
+
.column-0 {
|
235
|
+
grid-column: 1;
|
236
|
+
}
|
237
|
+
|
238
|
+
.column-1 {
|
239
|
+
grid-column: 1;
|
240
|
+
grid-row: 3;
|
241
|
+
}
|
242
|
+
|
243
|
+
.column-2 {
|
244
|
+
grid-column: 1;
|
245
|
+
grid-row: 2;
|
246
|
+
}
|
247
|
+
|
248
|
+
.column-3 {
|
249
|
+
grid-column: 1;
|
250
|
+
grid-row: 5;
|
251
|
+
}
|
252
|
+
|
253
|
+
.column-4 {
|
254
|
+
grid-column: 1;
|
255
|
+
grid-row: 4;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
|
260
|
+
.public-layout {
|
261
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
262
|
+
padding-top: 48px;
|
263
|
+
}
|
264
|
+
|
265
|
+
.container {
|
266
|
+
max-width: 960px;
|
267
|
+
|
268
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
269
|
+
padding: 0;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
.header {
|
274
|
+
background: lighten($ui-base-color, 8%);
|
275
|
+
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
276
|
+
border-radius: 4px;
|
277
|
+
height: 48px;
|
278
|
+
margin: 10px 0;
|
279
|
+
display: flex;
|
280
|
+
align-items: stretch;
|
281
|
+
justify-content: center;
|
282
|
+
flex-wrap: nowrap;
|
283
|
+
overflow: hidden;
|
284
|
+
|
285
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
286
|
+
position: fixed;
|
287
|
+
width: 100%;
|
288
|
+
top: 0;
|
289
|
+
left: 0;
|
290
|
+
margin: 0;
|
291
|
+
border-radius: 0;
|
292
|
+
box-shadow: none;
|
293
|
+
z-index: 110;
|
294
|
+
}
|
295
|
+
|
296
|
+
& > div {
|
297
|
+
flex: 1 1 33.3%;
|
298
|
+
min-height: 1px;
|
299
|
+
}
|
300
|
+
|
301
|
+
.nav-left {
|
302
|
+
display: flex;
|
303
|
+
align-items: stretch;
|
304
|
+
justify-content: flex-start;
|
305
|
+
flex-wrap: nowrap;
|
306
|
+
}
|
307
|
+
|
308
|
+
.nav-center {
|
309
|
+
display: flex;
|
310
|
+
align-items: stretch;
|
311
|
+
justify-content: center;
|
312
|
+
flex-wrap: nowrap;
|
313
|
+
}
|
314
|
+
|
315
|
+
.nav-right {
|
316
|
+
display: flex;
|
317
|
+
align-items: stretch;
|
318
|
+
justify-content: flex-end;
|
319
|
+
flex-wrap: nowrap;
|
320
|
+
}
|
321
|
+
|
322
|
+
.brand {
|
323
|
+
display: block;
|
324
|
+
padding: 15px;
|
325
|
+
|
326
|
+
svg {
|
327
|
+
display: block;
|
328
|
+
height: 18px;
|
329
|
+
width: auto;
|
330
|
+
position: relative;
|
331
|
+
bottom: -2px;
|
332
|
+
fill: $primary-text-color;
|
333
|
+
|
334
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
335
|
+
height: 20px;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
|
339
|
+
&:hover,
|
340
|
+
&:focus,
|
341
|
+
&:active {
|
342
|
+
background: lighten($ui-base-color, 12%);
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
.nav-link {
|
347
|
+
display: flex;
|
348
|
+
align-items: center;
|
349
|
+
padding: 0 1rem;
|
350
|
+
font-size: 12px;
|
351
|
+
font-weight: 500;
|
352
|
+
text-decoration: none;
|
353
|
+
color: $darker-text-color;
|
354
|
+
white-space: nowrap;
|
355
|
+
text-align: center;
|
356
|
+
|
357
|
+
&:hover,
|
358
|
+
&:focus,
|
359
|
+
&:active {
|
360
|
+
text-decoration: underline;
|
361
|
+
color: $primary-text-color;
|
362
|
+
}
|
363
|
+
|
364
|
+
@media screen and (max-width: 550px) {
|
365
|
+
&.optional {
|
366
|
+
display: none;
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
.nav-button {
|
372
|
+
background: lighten($ui-base-color, 16%);
|
373
|
+
margin: 8px;
|
374
|
+
margin-left: 0;
|
375
|
+
border-radius: 4px;
|
376
|
+
|
377
|
+
&:hover,
|
378
|
+
&:focus,
|
379
|
+
&:active {
|
380
|
+
text-decoration: none;
|
381
|
+
background: lighten($ui-base-color, 20%);
|
382
|
+
}
|
383
|
+
}
|
384
|
+
}
|
385
|
+
|
386
|
+
$no-columns-breakpoint: 750px;
|
387
|
+
|
388
|
+
.grid {
|
389
|
+
display: grid;
|
390
|
+
grid-gap: 10px;
|
391
|
+
grid-template-columns: minmax(300px, 3fr) minmax(298px, 1fr);
|
392
|
+
grid-auto-columns: 25%;
|
393
|
+
grid-auto-rows: max-content;
|
394
|
+
|
395
|
+
.column-0 {
|
396
|
+
grid-row: 1;
|
397
|
+
grid-column: 1;
|
398
|
+
}
|
399
|
+
|
400
|
+
.column-1 {
|
401
|
+
grid-row: 1;
|
402
|
+
grid-column: 2;
|
403
|
+
}
|
404
|
+
|
405
|
+
@media screen and (max-width: $no-columns-breakpoint) {
|
406
|
+
grid-template-columns: 100%;
|
407
|
+
grid-gap: 0;
|
408
|
+
|
409
|
+
.column-1 {
|
410
|
+
display: none;
|
411
|
+
}
|
412
|
+
}
|
413
|
+
}
|
414
|
+
|
415
|
+
.directory__card {
|
416
|
+
border-radius: 4px;
|
417
|
+
|
418
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
419
|
+
border-radius: 0;
|
420
|
+
}
|
421
|
+
}
|
422
|
+
|
423
|
+
.page-header {
|
424
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
425
|
+
border-bottom: 0;
|
426
|
+
}
|
427
|
+
}
|
428
|
+
|
429
|
+
.public-account-header {
|
430
|
+
overflow: hidden;
|
431
|
+
margin-bottom: 10px;
|
432
|
+
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
433
|
+
|
434
|
+
&.inactive {
|
435
|
+
opacity: 0.5;
|
436
|
+
|
437
|
+
.public-account-header__image,
|
438
|
+
.avatar {
|
439
|
+
filter: grayscale(100%);
|
440
|
+
}
|
441
|
+
|
442
|
+
.logo-button {
|
443
|
+
background-color: $secondary-text-color;
|
444
|
+
}
|
445
|
+
}
|
446
|
+
|
447
|
+
.logo-button {
|
448
|
+
padding: 3px 15px;
|
449
|
+
}
|
450
|
+
|
451
|
+
&__image {
|
452
|
+
border-radius: 4px 4px 0 0;
|
453
|
+
overflow: hidden;
|
454
|
+
height: 300px;
|
455
|
+
position: relative;
|
456
|
+
background: darken($ui-base-color, 12%);
|
457
|
+
|
458
|
+
&::after {
|
459
|
+
content: "";
|
460
|
+
display: block;
|
461
|
+
position: absolute;
|
462
|
+
width: 100%;
|
463
|
+
height: 100%;
|
464
|
+
box-shadow: inset 0 -1px 1px 1px rgba($base-shadow-color, 0.15);
|
465
|
+
top: 0;
|
466
|
+
left: 0;
|
467
|
+
}
|
468
|
+
|
469
|
+
img {
|
470
|
+
object-fit: cover;
|
471
|
+
display: block;
|
472
|
+
width: 100%;
|
473
|
+
height: 100%;
|
474
|
+
margin: 0;
|
475
|
+
border-radius: 4px 4px 0 0;
|
476
|
+
}
|
477
|
+
|
478
|
+
@media screen and (max-width: 600px) {
|
479
|
+
height: 200px;
|
480
|
+
}
|
481
|
+
}
|
482
|
+
|
483
|
+
&--no-bar {
|
484
|
+
margin-bottom: 0;
|
485
|
+
|
486
|
+
.public-account-header__image,
|
487
|
+
.public-account-header__image img {
|
488
|
+
border-radius: 4px;
|
489
|
+
|
490
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
491
|
+
border-radius: 0;
|
492
|
+
}
|
493
|
+
}
|
494
|
+
}
|
495
|
+
|
496
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
497
|
+
margin-bottom: 0;
|
498
|
+
box-shadow: none;
|
499
|
+
|
500
|
+
&__image::after {
|
501
|
+
display: none;
|
502
|
+
}
|
503
|
+
|
504
|
+
&__image,
|
505
|
+
&__image img {
|
506
|
+
border-radius: 0;
|
507
|
+
}
|
508
|
+
}
|
509
|
+
|
510
|
+
&__bar {
|
511
|
+
position: relative;
|
512
|
+
margin-top: -80px;
|
513
|
+
display: flex;
|
514
|
+
justify-content: flex-start;
|
515
|
+
|
516
|
+
&::before {
|
517
|
+
content: "";
|
518
|
+
display: block;
|
519
|
+
background: lighten($ui-base-color, 4%);
|
520
|
+
position: absolute;
|
521
|
+
bottom: 0;
|
522
|
+
left: 0;
|
523
|
+
right: 0;
|
524
|
+
height: 60px;
|
525
|
+
border-radius: 0 0 4px 4px;
|
526
|
+
z-index: -1;
|
527
|
+
}
|
528
|
+
|
529
|
+
.avatar {
|
530
|
+
display: block;
|
531
|
+
width: 120px;
|
532
|
+
height: 120px;
|
533
|
+
padding-left: 20px - 4px;
|
534
|
+
flex: 0 0 auto;
|
535
|
+
|
536
|
+
img {
|
537
|
+
display: block;
|
538
|
+
width: 100%;
|
539
|
+
height: 100%;
|
540
|
+
margin: 0;
|
541
|
+
border-radius: 50%;
|
542
|
+
border: 4px solid lighten($ui-base-color, 4%);
|
543
|
+
background: darken($ui-base-color, 8%);
|
544
|
+
}
|
545
|
+
}
|
546
|
+
|
547
|
+
@media screen and (max-width: 600px) {
|
548
|
+
margin-top: 0;
|
549
|
+
background: lighten($ui-base-color, 4%);
|
550
|
+
border-radius: 0 0 4px 4px;
|
551
|
+
padding: 5px;
|
552
|
+
|
553
|
+
&::before {
|
554
|
+
display: none;
|
555
|
+
}
|
556
|
+
|
557
|
+
.avatar {
|
558
|
+
width: 48px;
|
559
|
+
height: 48px;
|
560
|
+
padding: 7px 0;
|
561
|
+
padding-left: 10px;
|
562
|
+
|
563
|
+
img {
|
564
|
+
border: 0;
|
565
|
+
border-radius: 4px;
|
566
|
+
}
|
567
|
+
|
568
|
+
@media screen and (max-width: 360px) {
|
569
|
+
display: none;
|
570
|
+
}
|
571
|
+
}
|
572
|
+
}
|
573
|
+
|
574
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
575
|
+
border-radius: 0;
|
576
|
+
}
|
577
|
+
|
578
|
+
@media screen and (max-width: $no-columns-breakpoint) {
|
579
|
+
flex-wrap: wrap;
|
580
|
+
}
|
581
|
+
}
|
582
|
+
|
583
|
+
&__tabs {
|
584
|
+
flex: 1 1 auto;
|
585
|
+
margin-left: 20px;
|
586
|
+
|
587
|
+
&__name {
|
588
|
+
padding-top: 20px;
|
589
|
+
padding-bottom: 8px;
|
590
|
+
|
591
|
+
h1 {
|
592
|
+
font-size: 20px;
|
593
|
+
line-height: 18px * 1.5;
|
594
|
+
color: $primary-text-color;
|
595
|
+
font-weight: 500;
|
596
|
+
overflow: hidden;
|
597
|
+
white-space: nowrap;
|
598
|
+
text-overflow: ellipsis;
|
599
|
+
text-shadow: 1px 1px 1px $base-shadow-color;
|
600
|
+
|
601
|
+
small {
|
602
|
+
display: block;
|
603
|
+
font-size: 14px;
|
604
|
+
color: $primary-text-color;
|
605
|
+
font-weight: 400;
|
606
|
+
overflow: hidden;
|
607
|
+
text-overflow: ellipsis;
|
608
|
+
}
|
609
|
+
}
|
610
|
+
}
|
611
|
+
|
612
|
+
@media screen and (max-width: 600px) {
|
613
|
+
margin-left: 15px;
|
614
|
+
display: flex;
|
615
|
+
justify-content: space-between;
|
616
|
+
align-items: center;
|
617
|
+
|
618
|
+
&__name {
|
619
|
+
padding-top: 0;
|
620
|
+
padding-bottom: 0;
|
621
|
+
|
622
|
+
h1 {
|
623
|
+
font-size: 16px;
|
624
|
+
line-height: 24px;
|
625
|
+
text-shadow: none;
|
626
|
+
|
627
|
+
small {
|
628
|
+
color: $darker-text-color;
|
629
|
+
}
|
630
|
+
}
|
631
|
+
}
|
632
|
+
}
|
633
|
+
|
634
|
+
&__tabs {
|
635
|
+
display: flex;
|
636
|
+
justify-content: flex-start;
|
637
|
+
align-items: stretch;
|
638
|
+
height: 58px;
|
639
|
+
|
640
|
+
.details-counters {
|
641
|
+
display: flex;
|
642
|
+
flex-direction: row;
|
643
|
+
min-width: 300px;
|
644
|
+
}
|
645
|
+
|
646
|
+
@media screen and (max-width: $no-columns-breakpoint) {
|
647
|
+
.details-counters {
|
648
|
+
display: none;
|
649
|
+
}
|
650
|
+
}
|
651
|
+
|
652
|
+
.counter {
|
653
|
+
min-width: 33.3%;
|
654
|
+
box-sizing: border-box;
|
655
|
+
flex: 0 0 auto;
|
656
|
+
color: $darker-text-color;
|
657
|
+
padding: 10px;
|
658
|
+
border-right: 1px solid lighten($ui-base-color, 4%);
|
659
|
+
cursor: default;
|
660
|
+
text-align: center;
|
661
|
+
position: relative;
|
662
|
+
|
663
|
+
a {
|
664
|
+
display: block;
|
665
|
+
}
|
666
|
+
|
667
|
+
&:last-child {
|
668
|
+
border-right: 0;
|
669
|
+
}
|
670
|
+
|
671
|
+
&::after {
|
672
|
+
display: block;
|
673
|
+
content: "";
|
674
|
+
position: absolute;
|
675
|
+
bottom: 0;
|
676
|
+
left: 0;
|
677
|
+
width: 100%;
|
678
|
+
border-bottom: 4px solid $ui-primary-color;
|
679
|
+
opacity: 0.5;
|
680
|
+
transition: all 400ms ease;
|
681
|
+
}
|
682
|
+
|
683
|
+
&.active {
|
684
|
+
&::after {
|
685
|
+
border-bottom: 4px solid $highlight-text-color;
|
686
|
+
opacity: 1;
|
687
|
+
}
|
688
|
+
|
689
|
+
&.inactive::after {
|
690
|
+
border-bottom-color: $secondary-text-color;
|
691
|
+
}
|
692
|
+
}
|
693
|
+
|
694
|
+
&:hover {
|
695
|
+
&::after {
|
696
|
+
opacity: 1;
|
697
|
+
transition-duration: 100ms;
|
698
|
+
}
|
699
|
+
}
|
700
|
+
|
701
|
+
a {
|
702
|
+
text-decoration: none;
|
703
|
+
color: inherit;
|
704
|
+
}
|
705
|
+
|
706
|
+
.counter-label {
|
707
|
+
font-size: 12px;
|
708
|
+
display: block;
|
709
|
+
}
|
710
|
+
|
711
|
+
.counter-number {
|
712
|
+
font-weight: 500;
|
713
|
+
font-size: 18px;
|
714
|
+
margin-bottom: 5px;
|
715
|
+
color: $primary-text-color;
|
716
|
+
font-family: $font-display, sans-serif;
|
717
|
+
}
|
718
|
+
}
|
719
|
+
|
720
|
+
.spacer {
|
721
|
+
flex: 1 1 auto;
|
722
|
+
height: 1px;
|
723
|
+
}
|
724
|
+
|
725
|
+
&__buttons {
|
726
|
+
padding: 7px 8px;
|
727
|
+
}
|
728
|
+
}
|
729
|
+
}
|
730
|
+
|
731
|
+
&__extra {
|
732
|
+
display: none;
|
733
|
+
margin-top: 4px;
|
734
|
+
|
735
|
+
.public-account-bio {
|
736
|
+
border-radius: 0;
|
737
|
+
box-shadow: none;
|
738
|
+
background: transparent;
|
739
|
+
margin: 0 -5px;
|
740
|
+
|
741
|
+
.account__header__fields {
|
742
|
+
border-top: 1px solid lighten($ui-base-color, 12%);
|
743
|
+
}
|
744
|
+
|
745
|
+
.roles {
|
746
|
+
display: none;
|
747
|
+
}
|
748
|
+
}
|
749
|
+
|
750
|
+
&__links {
|
751
|
+
margin-top: -15px;
|
752
|
+
font-size: 14px;
|
753
|
+
color: $darker-text-color;
|
754
|
+
|
755
|
+
a {
|
756
|
+
display: inline-block;
|
757
|
+
color: $darker-text-color;
|
758
|
+
text-decoration: none;
|
759
|
+
padding: 15px;
|
760
|
+
font-weight: 500;
|
761
|
+
|
762
|
+
strong {
|
763
|
+
font-weight: 700;
|
764
|
+
color: $primary-text-color;
|
765
|
+
}
|
766
|
+
}
|
767
|
+
}
|
768
|
+
|
769
|
+
@media screen and (max-width: $no-columns-breakpoint) {
|
770
|
+
display: block;
|
771
|
+
flex: 100%;
|
772
|
+
}
|
773
|
+
}
|
774
|
+
}
|
775
|
+
|
776
|
+
.account__section-headline {
|
777
|
+
border-radius: 4px 4px 0 0;
|
778
|
+
|
779
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
780
|
+
border-radius: 0;
|
781
|
+
}
|
782
|
+
}
|
783
|
+
|
784
|
+
.detailed-status__meta {
|
785
|
+
margin-top: 25px;
|
786
|
+
}
|
787
|
+
|
788
|
+
.public-account-bio {
|
789
|
+
background: lighten($ui-base-color, 8%);
|
790
|
+
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
791
|
+
border-radius: 4px;
|
792
|
+
overflow: hidden;
|
793
|
+
margin-bottom: 10px;
|
794
|
+
|
795
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
796
|
+
box-shadow: none;
|
797
|
+
margin-bottom: 0;
|
798
|
+
border-radius: 0;
|
799
|
+
}
|
800
|
+
|
801
|
+
.account__header__fields {
|
802
|
+
margin: 0;
|
803
|
+
border-top: 0;
|
804
|
+
|
805
|
+
a {
|
806
|
+
color: lighten($ui-highlight-color, 8%);
|
807
|
+
}
|
808
|
+
|
809
|
+
dl:first-child .verified {
|
810
|
+
border-radius: 0 4px 0 0;
|
811
|
+
}
|
812
|
+
|
813
|
+
.verified a {
|
814
|
+
color: $valid-value-color;
|
815
|
+
}
|
816
|
+
}
|
817
|
+
|
818
|
+
.account__header__content {
|
819
|
+
padding: 20px;
|
820
|
+
padding-bottom: 0;
|
821
|
+
color: $primary-text-color;
|
822
|
+
}
|
823
|
+
|
824
|
+
&__extra,
|
825
|
+
.roles {
|
826
|
+
padding: 20px;
|
827
|
+
font-size: 14px;
|
828
|
+
color: $darker-text-color;
|
829
|
+
}
|
830
|
+
|
831
|
+
.roles {
|
832
|
+
padding-bottom: 0;
|
833
|
+
}
|
834
|
+
}
|
835
|
+
|
836
|
+
.directory__list {
|
837
|
+
display: grid;
|
838
|
+
grid-gap: 10px;
|
839
|
+
grid-template-columns: minmax(0, 50%) minmax(0, 50%);
|
840
|
+
|
841
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
842
|
+
display: block;
|
843
|
+
}
|
844
|
+
|
845
|
+
.icon-button {
|
846
|
+
font-size: 18px;
|
847
|
+
}
|
848
|
+
}
|
849
|
+
|
850
|
+
.directory__card {
|
851
|
+
margin-bottom: 0;
|
852
|
+
}
|
853
|
+
|
854
|
+
.card-grid {
|
855
|
+
display: flex;
|
856
|
+
flex-wrap: wrap;
|
857
|
+
min-width: 100%;
|
858
|
+
margin: 0 -5px;
|
859
|
+
|
860
|
+
& > div {
|
861
|
+
box-sizing: border-box;
|
862
|
+
flex: 1 0 auto;
|
863
|
+
width: 300px;
|
864
|
+
padding: 0 5px;
|
865
|
+
margin-bottom: 10px;
|
866
|
+
max-width: 33.333%;
|
867
|
+
|
868
|
+
@media screen and (max-width: 900px) {
|
869
|
+
max-width: 50%;
|
870
|
+
}
|
871
|
+
|
872
|
+
@media screen and (max-width: 600px) {
|
873
|
+
max-width: 100%;
|
874
|
+
}
|
875
|
+
}
|
876
|
+
|
877
|
+
@media screen and (max-width: $no-gap-breakpoint) {
|
878
|
+
margin: 0;
|
879
|
+
border-top: 1px solid lighten($ui-base-color, 8%);
|
880
|
+
|
881
|
+
& > div {
|
882
|
+
width: 100%;
|
883
|
+
padding: 0;
|
884
|
+
margin-bottom: 0;
|
885
|
+
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
886
|
+
|
887
|
+
&:last-child {
|
888
|
+
border-bottom: 0;
|
889
|
+
}
|
890
|
+
|
891
|
+
.card__bar {
|
892
|
+
background: $ui-base-color;
|
893
|
+
|
894
|
+
&:hover,
|
895
|
+
&:active,
|
896
|
+
&:focus {
|
897
|
+
background: lighten($ui-base-color, 4%);
|
898
|
+
}
|
899
|
+
}
|
900
|
+
}
|
901
|
+
}
|
902
|
+
}
|
903
|
+
}
|