jekyll-theme-mastodon 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +7 -0
  2. data/_includes/analytics.html +36 -0
  3. data/_includes/analytics/amplitude.js +35 -0
  4. data/_includes/analytics/gtag.js +9 -0
  5. data/_includes/analytics/gtm.js +5 -0
  6. data/_includes/analytics/hotjar.js +8 -0
  7. data/_includes/analytics/matomo.js +10 -0
  8. data/_includes/analytics/quantcast.js +12 -0
  9. data/_includes/footer.html +28 -0
  10. data/_includes/head.html +41 -0
  11. data/_includes/header.html +18 -0
  12. data/_includes/resources.html +20 -0
  13. data/_layouts/about.html +71 -0
  14. data/_layouts/default.html +15 -0
  15. data/_layouts/error.html +31 -0
  16. data/_layouts/none.html +4 -0
  17. data/_layouts/page.html +15 -0
  18. data/_layouts/post.html +56 -0
  19. data/_layouts/profile.html +199 -0
  20. data/_layouts/redirect.html +18 -0
  21. data/_layouts/rss.html +29 -0
  22. data/_layouts/sitemap.html +29 -0
  23. data/_layouts/tags.html +32 -0
  24. data/_sass/_about.scss +905 -0
  25. data/_sass/_accounts.scss +327 -0
  26. data/_sass/_admin.scss +918 -0
  27. data/_sass/_basics.scss +272 -0
  28. data/_sass/_boost.scss +32 -0
  29. data/_sass/_compact_header.scss +34 -0
  30. data/_sass/_components.scss +7363 -0
  31. data/_sass/_containers.scss +903 -0
  32. data/_sass/_dashboard.scss +78 -0
  33. data/_sass/_font-montserrat.scss +19 -0
  34. data/_sass/_font-roboto.scss +47 -0
  35. data/_sass/_font-robotomono.scss +11 -0
  36. data/_sass/_footer.scss +137 -0
  37. data/_sass/_forms.scss +1009 -0
  38. data/_sass/_highlights.scss +146 -0
  39. data/_sass/_introduction.scss +154 -0
  40. data/_sass/_lists.scss +19 -0
  41. data/_sass/_mixins.scss +56 -0
  42. data/_sass/_modal.scss +35 -0
  43. data/_sass/_polls.scss +274 -0
  44. data/_sass/_reset.scss +108 -0
  45. data/_sass/_rtl.scss +468 -0
  46. data/_sass/_statuses.scss +191 -0
  47. data/_sass/_tables.scss +293 -0
  48. data/_sass/_variables.scss +58 -0
  49. data/_sass/_widgets.scss +619 -0
  50. data/assets/404.gif +0 -0
  51. data/assets/avatar.png +0 -0
  52. data/assets/banner.png +0 -0
  53. data/assets/fonts/montserrat/Montserrat-Medium.ttf +0 -0
  54. data/assets/fonts/montserrat/Montserrat-Regular.ttf +0 -0
  55. data/assets/fonts/montserrat/Montserrat-Regular.woff +0 -0
  56. data/assets/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
  57. data/assets/fonts/roboto/roboto-bold-webfont.svg +16273 -0
  58. data/assets/fonts/roboto/roboto-bold-webfont.ttf +0 -0
  59. data/assets/fonts/roboto/roboto-bold-webfont.woff +0 -0
  60. data/assets/fonts/roboto/roboto-bold-webfont.woff2 +0 -0
  61. data/assets/fonts/roboto/roboto-italic-webfont.svg +15513 -0
  62. data/assets/fonts/roboto/roboto-italic-webfont.ttf +0 -0
  63. data/assets/fonts/roboto/roboto-italic-webfont.woff +0 -0
  64. data/assets/fonts/roboto/roboto-italic-webfont.woff2 +0 -0
  65. data/assets/fonts/roboto/roboto-medium-webfont.svg +16273 -0
  66. data/assets/fonts/roboto/roboto-medium-webfont.ttf +0 -0
  67. data/assets/fonts/roboto/roboto-medium-webfont.woff +0 -0
  68. data/assets/fonts/roboto/roboto-medium-webfont.woff2 +0 -0
  69. data/assets/fonts/roboto/roboto-regular-webfont.svg +15513 -0
  70. data/assets/fonts/roboto/roboto-regular-webfont.ttf +0 -0
  71. data/assets/fonts/roboto/roboto-regular-webfont.woff +0 -0
  72. data/assets/fonts/roboto/roboto-regular-webfont.woff2 +0 -0
  73. data/assets/fonts/robotomono/robotomono-regular-webfont.svg +1051 -0
  74. data/assets/fonts/robotomono/robotomono-regular-webfont.ttf +0 -0
  75. data/assets/fonts/robotomono/robotomono-regular-webfont.woff +0 -0
  76. data/assets/fonts/robotomono/robotomono-regular-webfont.woff2 +0 -0
  77. data/assets/hero.png +0 -0
  78. data/assets/mastodon.scss +34 -0
  79. data/license +661 -0
  80. data/readme.md +3 -0
  81. metadata +136 -0
@@ -0,0 +1,191 @@
1
+ .activity-stream {
2
+ box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
3
+ border-radius: 4px;
4
+ overflow: hidden;
5
+ margin-bottom: 10px;
6
+
7
+ &--under-tabs {
8
+ border-radius: 0 0 4px 4px;
9
+ }
10
+
11
+ @media screen and (max-width: $no-gap-breakpoint) {
12
+ margin-bottom: 0;
13
+ border-radius: 0;
14
+ box-shadow: none;
15
+ }
16
+
17
+ &--headless {
18
+ border-radius: 0;
19
+ margin: 0;
20
+ box-shadow: none;
21
+
22
+ .detailed-status,
23
+ .status {
24
+ border-radius: 0 !important;
25
+ }
26
+ }
27
+
28
+ div[data-component] {
29
+ width: 100%;
30
+ }
31
+
32
+ .entry {
33
+ background: $ui-base-color;
34
+
35
+ .detailed-status,
36
+ .status,
37
+ .load-more {
38
+ animation: none;
39
+ }
40
+
41
+ &:last-child {
42
+ .detailed-status,
43
+ .status,
44
+ .load-more {
45
+ border-bottom: 0;
46
+ border-radius: 0 0 4px 4px;
47
+ }
48
+ }
49
+
50
+ @media screen and (max-width: 740px) {
51
+ .detailed-status,
52
+ .status,
53
+ .load-more {
54
+ border-radius: 0 !important;
55
+ }
56
+ }
57
+ }
58
+
59
+ &--highlighted .entry {
60
+ background: lighten($ui-base-color, 8%);
61
+ }
62
+ }
63
+
64
+ .button.logo-button {
65
+ flex: 0 auto;
66
+ font-size: 14px;
67
+ background: $ui-highlight-color;
68
+ color: $primary-text-color;
69
+ text-transform: none;
70
+ line-height: 1.2;
71
+ height: auto;
72
+ min-height: 36px;
73
+ min-width: 88px;
74
+ white-space: normal;
75
+ overflow-wrap: break-word;
76
+ hyphens: auto;
77
+ padding: 0 15px;
78
+ border: 0;
79
+
80
+ svg {
81
+ width: 20px;
82
+ height: auto;
83
+ vertical-align: middle;
84
+ margin-right: 5px;
85
+ fill: $primary-text-color;
86
+ }
87
+
88
+ &:active,
89
+ &:focus,
90
+ &:hover {
91
+ background: lighten($ui-highlight-color, 10%);
92
+ }
93
+
94
+ &:disabled,
95
+ &.disabled {
96
+ &:active,
97
+ &:focus,
98
+ &:hover {
99
+ background: $ui-primary-color;
100
+ }
101
+ }
102
+
103
+ &.button--destructive {
104
+ &:active,
105
+ &:focus,
106
+ &:hover {
107
+ background: $error-red;
108
+ }
109
+ }
110
+
111
+ @media screen and (max-width: $no-gap-breakpoint) {
112
+ svg {
113
+ display: none;
114
+ }
115
+ }
116
+ }
117
+
118
+ a.button.logo-button {
119
+ display: inline-flex;
120
+ align-items: center;
121
+ justify-content: center;
122
+ }
123
+
124
+ .embed,
125
+ .public-layout {
126
+ .status__content[data-spoiler=folded] {
127
+ .e-content {
128
+ display: none;
129
+ }
130
+
131
+ p:first-child {
132
+ margin-bottom: 0;
133
+ }
134
+ }
135
+
136
+ .detailed-status {
137
+ padding: 15px;
138
+
139
+ .detailed-status__display-avatar .account__avatar {
140
+ width: 48px;
141
+ height: 48px;
142
+ }
143
+ }
144
+
145
+ .status {
146
+ padding: 15px 15px 15px (48px + 15px * 2);
147
+ min-height: 48px + 2px;
148
+
149
+ &__avatar {
150
+ left: 15px;
151
+ top: 17px;
152
+
153
+ .account__avatar {
154
+ width: 48px;
155
+ height: 48px;
156
+ }
157
+ }
158
+
159
+ &__content {
160
+ padding-top: 5px;
161
+
162
+ img,
163
+ svg,
164
+ embed {
165
+ max-width: 100%;
166
+ }
167
+ }
168
+
169
+ &__prepend {
170
+ margin-left: 48px + 15px * 2;
171
+ padding-top: 15px;
172
+ }
173
+
174
+ &__prepend-icon-wrapper {
175
+ left: -32px;
176
+ }
177
+
178
+ .media-gallery,
179
+ &__action-bar,
180
+ .video-player {
181
+ margin-top: 10px;
182
+ }
183
+
184
+ &__action-bar-button {
185
+ font-size: 18px;
186
+ width: 23.1429px;
187
+ height: 23.1429px;
188
+ line-height: 23.15px;
189
+ }
190
+ }
191
+ }
@@ -0,0 +1,293 @@
1
+ .table {
2
+ width: 100%;
3
+ max-width: 100%;
4
+ border-spacing: 0;
5
+ border-collapse: collapse;
6
+
7
+ th,
8
+ td {
9
+ padding: 8px;
10
+ line-height: 18px;
11
+ vertical-align: top;
12
+ border-top: 1px solid $ui-base-color;
13
+ text-align: left;
14
+ background: darken($ui-base-color, 4%);
15
+ }
16
+
17
+ & > thead > tr > th {
18
+ vertical-align: bottom;
19
+ border-bottom: 2px solid $ui-base-color;
20
+ border-top: 0;
21
+ font-weight: 500;
22
+ }
23
+
24
+ & > tbody > tr > th {
25
+ font-weight: 500;
26
+ }
27
+
28
+ & > tbody > tr:nth-child(odd) > td,
29
+ & > tbody > tr:nth-child(odd) > th {
30
+ background: $ui-base-color;
31
+ }
32
+
33
+ a {
34
+ color: $highlight-text-color;
35
+ text-decoration: underline;
36
+
37
+ &:hover {
38
+ text-decoration: none;
39
+ }
40
+ }
41
+
42
+ strong {
43
+ font-weight: 500;
44
+
45
+ @each $lang in $cjk-langs {
46
+ &:lang(#{$lang}) {
47
+ font-weight: 700;
48
+ }
49
+ }
50
+ }
51
+
52
+ &.inline-table {
53
+ & > tbody > tr:nth-child(odd) {
54
+ & > td,
55
+ & > th {
56
+ background: transparent;
57
+ }
58
+ }
59
+
60
+ & > tbody > tr:first-child {
61
+ & > td,
62
+ & > th {
63
+ border-top: 0;
64
+ }
65
+ }
66
+ }
67
+
68
+ &.batch-table {
69
+ & > thead > tr > th {
70
+ background: $ui-base-color;
71
+ border-top: 1px solid darken($ui-base-color, 8%);
72
+ border-bottom: 1px solid darken($ui-base-color, 8%);
73
+
74
+ &:first-child {
75
+ border-radius: 4px 0 0;
76
+ border-left: 1px solid darken($ui-base-color, 8%);
77
+ }
78
+
79
+ &:last-child {
80
+ border-radius: 0 4px 0 0;
81
+ border-right: 1px solid darken($ui-base-color, 8%);
82
+ }
83
+ }
84
+ }
85
+
86
+ &--invites tbody td {
87
+ vertical-align: middle;
88
+ }
89
+ }
90
+
91
+ .table-wrapper {
92
+ overflow: auto;
93
+ margin-bottom: 20px;
94
+ }
95
+
96
+ samp {
97
+ font-family: $font-monospace, monospace;
98
+ }
99
+
100
+ button.table-action-link {
101
+ background: transparent;
102
+ border: 0;
103
+ font: inherit;
104
+ }
105
+
106
+ button.table-action-link,
107
+ a.table-action-link {
108
+ text-decoration: none;
109
+ display: inline-block;
110
+ margin-right: 5px;
111
+ padding: 0 10px;
112
+ color: $darker-text-color;
113
+ font-weight: 500;
114
+
115
+ &:hover {
116
+ color: $primary-text-color;
117
+ }
118
+
119
+ i.fa {
120
+ font-weight: 400;
121
+ margin-right: 5px;
122
+ }
123
+
124
+ &:first-child {
125
+ padding-left: 0;
126
+ }
127
+ }
128
+
129
+ .batch-table {
130
+ &__toolbar,
131
+ &__row {
132
+ display: flex;
133
+
134
+ &__select {
135
+ box-sizing: border-box;
136
+ padding: 8px 16px;
137
+ cursor: pointer;
138
+ min-height: 100%;
139
+
140
+ input {
141
+ margin-top: 8px;
142
+ }
143
+
144
+ &--aligned {
145
+ display: flex;
146
+ align-items: center;
147
+
148
+ input {
149
+ margin-top: 0;
150
+ }
151
+ }
152
+ }
153
+
154
+ &__actions,
155
+ &__content {
156
+ padding: 8px 0;
157
+ padding-right: 16px;
158
+ flex: 1 1 auto;
159
+ }
160
+ }
161
+
162
+ &__toolbar {
163
+ border: 1px solid darken($ui-base-color, 8%);
164
+ background: $ui-base-color;
165
+ border-radius: 4px 0 0;
166
+ height: 47px;
167
+ align-items: center;
168
+
169
+ &__actions {
170
+ text-align: right;
171
+ padding-right: 16px - 5px;
172
+ }
173
+ }
174
+
175
+ &__form {
176
+ padding: 16px;
177
+ border: 1px solid darken($ui-base-color, 8%);
178
+ border-top: 0;
179
+ background: $ui-base-color;
180
+
181
+ .fields-row {
182
+ padding-top: 0;
183
+ margin-bottom: 0;
184
+ }
185
+ }
186
+
187
+ &__row {
188
+ border: 1px solid darken($ui-base-color, 8%);
189
+ border-top: 0;
190
+ background: darken($ui-base-color, 4%);
191
+
192
+ @media screen and (max-width: $no-gap-breakpoint) {
193
+ .optional &:first-child {
194
+ border-top: 1px solid darken($ui-base-color, 8%);
195
+ }
196
+ }
197
+
198
+ &:hover {
199
+ background: darken($ui-base-color, 2%);
200
+ }
201
+
202
+ &:nth-child(even) {
203
+ background: $ui-base-color;
204
+
205
+ &:hover {
206
+ background: lighten($ui-base-color, 2%);
207
+ }
208
+ }
209
+
210
+ &__content {
211
+ padding-top: 12px;
212
+ padding-bottom: 16px;
213
+
214
+ &--unpadded {
215
+ padding: 0;
216
+ }
217
+
218
+ &--with-image {
219
+ display: flex;
220
+ align-items: center;
221
+ }
222
+
223
+ &__image {
224
+ flex: 0 0 auto;
225
+ display: flex;
226
+ justify-content: center;
227
+ align-items: center;
228
+ margin-right: 10px;
229
+
230
+ .emojione {
231
+ width: 32px;
232
+ height: 32px;
233
+ }
234
+ }
235
+
236
+ &__text {
237
+ flex: 1 1 auto;
238
+ }
239
+
240
+ &__extra {
241
+ flex: 0 0 auto;
242
+ text-align: right;
243
+ color: $darker-text-color;
244
+ font-weight: 500;
245
+ }
246
+ }
247
+
248
+ .directory__tag {
249
+ margin: 0;
250
+ width: 100%;
251
+
252
+ a {
253
+ background: transparent;
254
+ border-radius: 0;
255
+ }
256
+ }
257
+ }
258
+
259
+ &.optional .batch-table__toolbar,
260
+ &.optional .batch-table__row__select {
261
+ @media screen and (max-width: $no-gap-breakpoint) {
262
+ display: none;
263
+ }
264
+ }
265
+
266
+ .status__content {
267
+ padding-top: 0;
268
+
269
+ summary {
270
+ display: list-item;
271
+ }
272
+
273
+ strong {
274
+ font-weight: 700;
275
+ }
276
+ }
277
+
278
+ .nothing-here {
279
+ border: 1px solid darken($ui-base-color, 8%);
280
+ border-top: 0;
281
+ box-shadow: none;
282
+
283
+ @media screen and (max-width: $no-gap-breakpoint) {
284
+ border-top: 1px solid darken($ui-base-color, 8%);
285
+ }
286
+ }
287
+
288
+ @media screen and (max-width: 870px) {
289
+ .accounts-table tbody td.optional {
290
+ display: none;
291
+ }
292
+ }
293
+ }