-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtemp_main.css
More file actions
601 lines (585 loc) · 12.1 KB
/
Copy pathtemp_main.css
File metadata and controls
601 lines (585 loc) · 12.1 KB
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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
@charset "UTF-8";
/* ==========================================================================
* openDANES — MAIN bundle
* - Include this on every page.
* - Keeps the same output as assets/CSS/style_0.2.scss
* ========================================================================== */
/* ==========================================================================
openDANES — Variables (single source of truth)
- All variables are `!default` so page bundles can override before import.
- Defaults match your current style_0.2.scss palette & sizes.
========================================================================== */
/* Colors */
/* used by search/tags */
/* Tables */
/* Callouts */
/* Typography */
/* used by search/tags */
/* Icons */
/* Cards */
/* Breakpoints (match originals) */
/* ==========================================================================
Base / global element styles (from style_0.2.scss)
========================================================================== */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
/* Custom thin scrollbar */
}
* ::-webkit-scrollbar {
width: 4px;
}
* ::-webkit-scrollbar-track {
background: #FEFBF1;
}
* ::-webkit-scrollbar-thumb {
background: #52053E;
border-radius: 5px;
}
* ::-webkit-scrollbar-thumb:hover {
background: #67074e;
}
* body {
overflow-x: hidden;
background-color: #FEFBF1;
}
/* Page headings */
h1 {
font-family: "Taviraj", serif;
font-size: 3.2vw;
padding: 15px;
margin-top: 15px;
text-align: center;
}
/* Main content */
section {
font-family: "Taviraj", serif;
margin: 15px 20vw;
/* Paragraphs + links */
/* Lists */
/* Images (enlarge on hover; disabled on very small screens in responsive partial) */
}
section h2, section h3, section h4, section h5, section h6 {
padding-bottom: 10px;
margin: 15px 0;
}
section h2 {
font-size: 2.7vw;
border-bottom: #330327 solid 1px;
}
section h2 i {
font-size: inherit;
}
section h3 {
font-size: 2vw;
padding-top: 10px;
}
section h3 i {
font-size: inherit;
}
section h4, section h5, section h6 {
font-size: 1.7vw;
padding-top: 10px;
}
section h4 i, section h5 i, section h6 i {
font-size: inherit;
}
section blockquote {
font-style: italic;
padding-left: 3vw;
border-left: #52053E solid;
}
section p {
padding: 15px 0;
text-align: justify;
font-size: 18px;
}
section p a, section p i {
padding: none !important;
text-align: inherit !important;
font-size: inherit !important;
}
section p a {
text-decoration: none;
color: #05878a;
border-bottom: #05878a 1px dashed;
transition: color 0.25s ease-in-out, border-bottom 0.25s ease-in-out;
}
section p a:hover {
color: #9a6b23;
border-bottom: #9a6b23 1px dashed;
}
section p a.footnote, section p a.reversefootnote {
border: none;
}
section p a.image-link {
border-bottom: none;
}
section ul, section ol {
padding: 15px;
text-align: justify;
font-size: 18px;
}
section ul li, section ol li {
font-size: 18px;
text-align: justify;
padding: 0 5px;
}
section ul li a, section ol li a {
text-decoration: none;
color: #05878a;
border-bottom: #05878a 1px dashed;
transition: color 0.25s ease-in-out, border-bottom 0.25s ease-in-out;
}
section ul li a:hover, section ol li a:hover {
color: #9a6b23;
border-bottom: #9a6b23 1px dashed;
}
section ul {
margin: 0 7.5px;
}
section .fig {
font-size: 16px;
padding: 5px 25px 15px 25px;
line-height: 1.4;
font-style: italic;
}
section .fig a {
font-size: 16px;
}
section img {
max-width: 100%;
height: auto;
padding: 0 2.5vw;
transition: max-width 0.3s ease-in-out;
}
section img:hover {
max-width: 130%;
}
section img.not-enlarge {
transition: none;
}
section img.not-enlarge:hover {
max-width: 100%;
}
section i {
font-size: 25px;
padding: 1px;
}
/* ==========================================================================
Components (from style_0.2.scss)
- prompts/callouts
- code blocks
- tables
- embeds
========================================================================== */
section {
/* Prompt / callout styles */
/* Code blocks */
/* Inline code */
/* Tables */
/* Embeds */
}
section blockquote.prompt-tip {
background-color: rgba(123, 247, 144, 0.2);
border-radius: 10px;
font-style: normal;
padding: 0;
border: #03b303 solid 1px;
}
section blockquote.prompt-tip p {
padding: 13px;
}
section blockquote.prompt-tip p::before {
content: "\f0eb";
color: #03b303;
font: var(--fa-font-solid);
padding-right: 13px;
padding-top: 5px;
}
section blockquote.prompt-info {
background-color: #e1f5fe;
border-radius: 10px;
font-style: normal;
padding: 0;
border: #0070cb solid 1px;
}
section blockquote.prompt-info p {
padding: 13px;
}
section blockquote.prompt-info p::before {
content: "\f05a";
color: #0070cb;
font: var(--fa-font-solid);
padding-right: 13px;
padding-top: 5px;
}
section blockquote.prompt-warning {
background-color: #fff3cd;
border-radius: 10px;
font-style: normal;
padding: 0;
border: #ef9c03 solid 1px;
}
section blockquote.prompt-warning p {
padding: 13px;
}
section blockquote.prompt-warning p::before {
content: "\f06a";
color: #ef9c03;
font: var(--fa-font-solid);
padding-right: 13px;
padding-top: 5px;
}
section blockquote.prompt-danger {
background-color: rgba(248, 215, 218, 0.56);
border-radius: 10px;
font-style: normal;
padding: 0;
border: #df3c30 solid 1px;
}
section blockquote.prompt-danger p {
padding: 13px;
}
section blockquote.prompt-danger p::before {
content: "\f071";
color: #df3c30;
font: var(--fa-font-solid);
padding-right: 13px;
padding-top: 5px;
}
section div.highlight {
padding: 15px 0;
}
section div pre.highlight {
background-color: black;
color: #FEFBF1;
border-radius: 0 0 5px 5px;
font-family: "Source Code Pro", monospace;
white-space: pre-wrap;
word-break: break-all;
width: 100%;
margin: 0;
padding: 1px;
}
section div.highlight > button {
height: fit-content;
padding: 5px 15px;
font-family: "Taviraj", serif;
background-color: #5a175d;
color: #FEFBF1;
border: none;
cursor: pointer;
width: -webkit-fill-available;
text-align: right;
border-radius: 5px 5px 0 0;
}
section button span.code-button-emoticon {
font: var(--fa-font-solid);
padding-right: 13px;
padding-top: 5px;
}
section code.language-plaintext.highlighter-rouge {
padding: 3px 5px;
border-radius: 4px;
background-color: rgba(254, 218, 117, 0.3);
font-size: 14px;
}
section table {
width: 100%;
table-layout: fixed;
border-spacing: 0;
}
section table thead {
background-color: rgba(254, 218, 117, 0.6);
border-radius: 10px;
}
section table tbody tr {
background-color: rgba(254, 218, 117, 0.3);
}
section table tbody tr:nth-child(2n+1) {
background-color: rgba(254, 218, 117, 0.1);
}
section table th, section table td {
padding: 10px;
text-align: left !important;
}
section .video-container {
display: flex;
justify-content: center;
align-items: center;
padding: 5px 0;
}
section .video-container iframe {
border-radius: 10px;
}
section .luwian {
font-family: 'Noto Sans Anatolian Hieroglyphs', sans-serif;
font-weight: bold;
font-size: x-large;
}
/* ==========================================================================
Layout (header/footer) from style_0.2.scss
========================================================================== */
header {
background-color: #52053E;
background-size: cover;
width: 100%;
padding: 10px;
font-family: "Taviraj", serif;
color: #FEFBF1;
position: relative;
z-index: 1000;
}
header .navigation {
width: 100%;
}
header .nav-header {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
gap: 20px;
}
header .nav-header .nav-logo img {
max-height: 70px;
}
header .nav-header .nav-title {
font-size: 30px;
font-weight: bold;
margin: 0 10px;
color: #FEFBF1;
text-decoration: none;
transition: color 0.3s ease;
}
header .nav-header .nav-title:hover {
color: #feda75;
}
header .nav-toggle {
display: none;
}
header .nav-toggle-label {
cursor: pointer;
padding: 10px 20px;
}
header .nav-toggle-label span i {
font-size: 35px;
color: #FEFBF1;
transition: color 0.3s ease;
}
header .nav-toggle-label span i:hover {
color: #feda75;
}
header .nav-links {
list-style: none;
margin: 0;
padding: 0;
display: none;
flex-direction: column;
background-color: #330327;
width: 100%;
position: absolute;
top: 100%;
left: 0;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
}
header .nav-links li {
margin: 0;
padding: 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
header .nav-links li a {
text-decoration: none;
color: #FEFBF1;
transition: background-color 0.3s, color 0.3s;
display: block;
padding: 20px;
text-align: center;
font-size: 20px;
font-weight: bold;
}
header .nav-links li a:hover {
color: #feda75;
background-color: rgba(255, 255, 255, 0.05);
}
header .nav-links li a img {
display: none;
/* Hide the extra logo inside the links since it's already in nav-header */
}
header .nav-links li:last-child {
border-bottom: none;
}
header .nav-toggle:checked ~ .nav-links {
display: flex;
}
footer {
background-color: #52053E;
background-size: cover;
width: 100vw;
height: auto;
font-family: "Taviraj", serif;
color: #FEFBF1;
display: flex;
align-items: flex-start;
justify-content: space-around;
padding: 20px;
}
footer div {
padding: 10px;
flex: 1 1 0px;
}
footer div h3 {
color: #feda75;
}
footer div a {
text-decoration: none;
color: #FEFBF1;
transition: color 0.3s ease-in-out;
}
footer div a i {
font-size: 25px;
padding: 1px;
}
footer div a:hover {
color: #feda75;
cursor: pointer;
}
#credits {
display: flex;
align-items: flex-start;
flex-direction: column;
}
#credits p {
padding: 10px;
}
/* ==========================================================================
Responsive rules from style_0.2.scss (kept identical)
========================================================================== */
/* Tablet */
@media (max-width: 1024px) {
h1 {
font-size: 4vw;
}
section {
margin: 15px 15vw;
}
section h2 {
font-size: 3.5vw;
}
section h3 {
font-size: 3vw;
}
section h4,
section h5,
section h6 {
font-size: 2.5vw;
}
section p {
font-size: 2vw !important;
}
section code.language-plaintext.highlighter-rouge {
font-size: 1.75vw !important;
}
section ul,
section ol {
font-size: 2vw !important;
}
section ul li,
section ol li {
font-size: 2vw !important;
}
section .fig,
section .fig a {
font-size: 1.5vw;
}
}
/* Landscape phone */
@media (max-width: 900px) {
section {
margin: 15px 10vw;
}
blockquote {
padding-left: 5vw !important;
}
blockquote.prompt-tip,
blockquote.prompt-info,
blockquote.prompt-warning,
blockquote.prompt-danger {
padding: 0 !important;
}
}
/* Phone */
@media (max-width: 700px) {
h1 {
font-size: 40px;
}
section h2 {
font-size: 35px;
}
section h3 {
font-size: 30px;
}
section h4,
section h5,
section h6 {
font-size: 25px;
}
section p {
text-align: left;
font-size: 17px !important;
}
section code.language-plaintext.highlighter-rouge {
font-size: 15px !important;
}
section ul,
section ol {
text-align: left;
font-size: 17px !important;
}
section ul li,
section ol li {
font-size: 17px !important;
}
section .fig,
section .fig a {
font-size: 14px;
}
section div pre.highlight {
flex-direction: column;
white-space: pre-wrap;
word-break: break-all;
}
section div pre.highlight > button {
opacity: 1 !important;
width: fit-content;
align-self: center;
margin: 10px;
}
footer {
flex-direction: column;
text-align: justify;
align-items: flex-start;
}
#credits {
flex-direction: column;
}
}
/* Very small phone */
@media (max-width: 500px) {
blockquote {
padding-left: 10vw !important;
}
blockquote.prompt-tip,
blockquote.prompt-info,
blockquote.prompt-warning,
blockquote.prompt-danger {
padding: 0 !important;
}
img {
transition: none;
}
img:hover {
max-width: 100% !important;
}
}