-
Notifications
You must be signed in to change notification settings - Fork 0
/
vocab.scss.txt
346 lines (281 loc) · 8.34 KB
/
vocab.scss.txt
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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
/* add legacy-vocabulary styling */
@import '../../static/vocabulary-legacy/legacy-vocabulary.css';
.select:not(.is-multiple):not(.is-loading)::after {
border: none;
}
// adds correct bullet styling to item 3(index2) in the ChooserModal.vue
.modal .modal-body .modal-2 ul {
list-style: circle;
}
@media only screen and (max-width: 768px) {
h3 {
font-size: 1.25rem;
}
#site-container {
h3 {
font-size: 1.25rem;
}
h4.b-header {
font-size: 1.25rem;
font-style: normal;
font-weight: 700;
line-height: 1.4375rem;
letter-spacing: 0;
text-align: left;
}
.body-bigger, .body-big {
font-size: 1rem;
font-style: normal;
font-weight: 400;
line-height: 1.5625rem;
letter-spacing: 0;
text-align: left;
}
.body-normal {
font-size: 1rem;
font-style: normal;
font-weight: 400;
line-height: 1.5rem;
letter-spacing: 0;
text-align: left;
}
}
}
/* add new Vocabulary styling */
@import '../../static/vocabulary/css/vocabulary.css';
/* localized patch styles to get new Vocabulary to apply correctly */
#app > header {
display: flex;
flex-wrap: wrap;
position: relative;
margin-bottom: 2em;
/* padding: 0 var(--vocabulary-page-edges-space); */
}
.container {
margin-bottom: 8em;
}
.container .icon {
background-color: initial;
-webkit-mask-image: none;
mask-image: none;
}
#app > footer {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-areas:
"logo nav nav nav"
"contact subscribe subscribe donate"
"contact license license donate";
gap: 40px;
padding: 20px var(--vocabulary-page-edges-space);
padding-top: 40px;
padding-bottom: 40px;
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
color: white;
background: black;
}
#app > footer h2 {
margin: .83em 0;
color: white;
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 700;
font-size: 1.25em;
}
#app > footer a {
color: var(--vocabulary-brand-color-turquoise);
text-decoration: none;
}
#app > footer p {
line-height: 1.5;
margin: 1em 0;
}
/* needs to be moved to be broader in general specificity scope */
#app > footer p a {
/* better hyperlink underline typesetting inspired by Tufte CSS */
--underline-color: var(--vocabulary-brand-color-turquoise);
--underline-background-color: black;
color: var(--vocabulary-brand-color-turquoise);
/* text-decoration: none; */
/* adapted from Tufte.css -- Copyright (c) 2014 Dave Liepmann -- https://github.com/edwardtufte/tufte-css -- https://github.com/edwardtufte/tufte-css/blob/gh-pages/LICENSE */
background: -webkit-linear-gradient(var( --underline-color), var( --underline-color)), -webkit-linear-gradient(var( --underline-color), var( --underline-color)), -webkit-linear-gradient(currentColor, currentColor);
background: linear-gradient(var( --underline-color), var( --underline-color)), linear-gradient(var( --underline-color), var( --underline-color)), linear-gradient(currentColor, currentColor);
-webkit-background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
-moz-background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
background-repeat: no-repeat, no-repeat, repeat-x;
text-shadow: 0.03em 0 var(--underline-background-color), -0.03em 0 var(--underline-background-color), 0 0.03em var(--underline-background-color), 0 -0.03em var(--underline-background-color), 0.06em 0 var(--underline-background-color), -0.06em 0 var(--underline-background-color), 0.09em 0 var(--underline-background-color), -0.09em 0 var(--underline-background-color), 0.12em 0 var(--underline-background-color), -0.12em 0 var(--underline-background-color), 0.15em 0 var(--underline-background-color), -0.15em 0 var(--underline-background-color);
background-position: 0% 93%, 100% 93%, 0% 93%;
/* background-position-y: 87%, 87%, 87%; */
}
#app > footer .identity-logo {
grid-area: logo;
display: inline-block;
text-indent: -1000px;
vertical-align: bottom;
height: 50px;
width: 191px;
/* allows for color manipulation of svg */
background-color: white;
-webkit-mask-image: url('../../static/vocabulary/svg/cc/logos/cc/logomark.svg');
mask-image: url('../../static/vocabulary/svg/cc/logos/cc/logomark.svg');
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
cursor: pointer;
/* standard pattern for setting logo in lieu of background color manipulation */
/* background: url('../../svg/cc/logos/cc/logomark.svg') left top no-repeat; */
}
#app > footer .identity-logo:hover {
background-color: var(--vocabulary-brand-color-turquoise);
}
#app > footer .footer-menu {
grid-area: nav;
font-size: 1.3em;
font-weight: 700;
}
#app > footer .footer-menu ul {
display: flex;
justify-content: space-between;
margin: 0;
padding: 0;
list-style: none;
}
#app > footer .footer-menu ul li a {
text-decoration: none;
color: var(--vocabulary-brand-color-turquoise);
}
#app > footer .contact {
grid-area: contact;
}
#app > footer .contact .social-menu ul {
display: flex;
margin: 0;
padding: 0;
margin-top: 3em;
list-style: none;
}
#app > footer .contact .social-menu ul li {
margin-right: 1.5em;
}
#app > footer .social-menu li a {
--icon-sprite-color: white;
--icon-sprite-size: 1.9em;
}
#app > footer .subscribe {
grid-area: subscribe;
}
#app > footer .subscribe form {
display: flex;
justify-content: space-around;
width: 100%;
}
#app > footer .subscribe form input {
display: inline-flex;
position: relative;
justify-content: flex-start;
align-items: center;
vertical-align: top;
box-sizing: border-box;
-webkit-appearance: none;
background-color: transparent;
color: rgb(118, 118, 118);
font-family: "Source Sans Pro", sans-serif;
font-size: 1em;
font-weight: 600;
line-height: 1.3;
border: 2px solid rgb(118, 118, 118);
/* border-radius: 4px; */
box-shadow: none;
}
#app > footer .subscribe form input.input {
border-radius: 0;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
padding: .5em;
width: 100%;
}
#app > footer .subscribe form input.input:focus {
color: white;
}
#app > footer .subscribe form input.button {
justify-content: center;
padding: 1.1em;
cursor: pointer;
font-family: "Roboto Condensed", sans-serif;
font-size: 1.125rem;
text-align: center;
text-transform: uppercase;
font-weight: 600;
line-height: 0;
white-space: nowrap;
background-color: rgb(118, 118, 118);
border: none;
border-radius: 0;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
color: rgb(255, 255, 255);
}
#app > footer .donate {
grid-area: donate;
}
#app > footer .donate a.donate {
display: inline-flex;
align-items: center;
padding: 1rem 1.5rem;
text-transform: uppercase;
font-family: 'Roboto Condensed';
font-size: 1.5em;
line-height: 1em;
font-style: normal;
font-weight: 700;
border: none;
border-radius: 4px;
color: black;
background: var(--vocabulary-brand-color-gold);
}
#app > footer .donate a.donate:hover {
cursor: pointer;
background-color: rgb(248, 204, 44);
}
/* set the icon settings */
#app > footer .donate a.donate.icon-attach:before {
/* --icon-sprite: var(--cc-heart-filled); */
--icon-sprite-color: black;
--icon-sprite-size: 1.2em;
margin-right: .3em;
}
#app > footer .license {
grid-area: license;
}
#app > footer .license img path {
fill: white;
/* width: 1.2em; */
}
#app > footer .license svg {
display: inline;
width: 1.9em;
height: 1.9em;
margin-right: .3em;
}
@media (max-width: 680px) {
#app > footer {
display: block;
}
#app > footer > nav {
margin-top: 1em;
margin-bottom: 3em;
}
#app > footer > nav ul li {
margin-bottom: 1em;
}
#app > footer > div {
margin-bottom: 4em;
}
}
@media (max-width: 580px) {
#app > footer .footer-menu ul {
display: block;
}
}