-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
115 lines (94 loc) · 1.58 KB
/
style.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
:root {
background-color: #444;
color: #8C72DE;
-webkit-text-stroke: 0.05em #60018B99;
}
#tombstone {
max-width: 100%;
max-height: 75dvh;
display: block;
margin-top: 15vh;
}
a {
display: inline-block;
color: inherit;
text-decoration: none;
filter: drop-shadow(4px 4px 2px #25003655);
margin-bottom: 4px;
margin-right: 4px;
}
a:hover {
color: #AE3DE5;
text-decoration: underline;
text-decoration-style: dotted;
margin-left: 4px;
margin-right: 0px;
margin-top: 4px;
margin-bottom: 0px;
filter: drop-shadow(0px 0px 2px #25003655);
}
main {
display: flex;
max-width: 115ch;
margin: auto;
}
h1, h2, h3 {
font-family: serif;
text-align: center;
}
aside {
position: relative;
}
html, body, aside, #bg {
height: 100dvh;
width: 100%;
}
body {
position: relative;
}
aside {
position: absolute;
inset: 0;
}
#rip {
filter: drop-shadow(4px 4px 2px #25003655);
font-size: clamp(3rem, calc(4vw + 0.5em), 5.5rem);
}
#obituary a {
font-size: clamp(1.5rem, calc(2.5vw + 0.5em), 3.5rem);
}
#text {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#survivors ul, #survivors ul li {
padding: 0;
margin: 0;
list-style-type: none;
}
#survivors ul li {
display: inline-block;
}
#survivors ul li:first-child::after {
content: " & ";
}
acronym {
text-decoration: none;
}
@media(width < 70rem) {
main {
flex-direction: column;
}
#tombstone {
margin-top: 0;
}
#rip {
white-space: inherit;
}
a {
text-decoration: underline;
text-decoration-style: dashed;
}
}