-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
161 lines (138 loc) · 2.81 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
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
/* Colors (light theme) */
:root {
--color-background: #ffffff;
--color-text: #454545;
--color-yes: #44e447;
--color-no: #c0392b;
--color-kinda: #ebbc00;
--color-unknown: #858585;
--color-link: #07a;
--color-link-visited: #941352;
--color-details-background: #eee;
--color-details-shadow: #999;
}
/* Colors (dark theme) */
@media (prefers-color-scheme: dark) {
:root {
--color-background: #111111;
--color-text: #c4c4c4;
--color-yes: #44e447;
--color-no: #ef6b5d;
--color-kinda: #ebbc00;
--color-unknown: #808080;
--color-link: #70b5d3;
--color-link-visited: #c672e1;
--color-details-background: #222;
--color-details-shadow: #525252;
}
}
/* Global CSS */
@font-face {
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFWJ0bbck.woff2) format('woff2');
}
body {
background-color: var(--color-background);
color: var(--color-text);
font-family: 'Open Sans', sans-serif;
font-size: 1.4em;
text-align: center;
margin: 0;
}
a {
color: var(--color-link);
}
a:visited {
color: var(--color-link-visited);
}
body > hr {
margin: 1rem 20%;
background: linear-gradient(90deg, transparent 0%, gray 50%, transparent 100%);
border: none;
height: 2px;
}
/* Title and Release Date */
#title {
font-size: 3.3em;
margin: 0.3em;
}
.yes {
color: var(--color-yes);
}
.no {
color: var(--color-no);
}
.kinda {
color: var(--color-kinda);
}
.unknown {
color: var(--color-unknown);
}
.yes, .no {
font-size: 2.4em;
}
.unknown, .kinda {
font-size: 2em;
}
.yes, .no, .unknown, .kinda {
font-family: 'Georgia', 'Open Sans', sans-serif;
text-shadow: 0 0 1.5rem color-mix(in srgb, currentcolor 35%, transparent);
}
/* YouTube Video Player */
.latestVideoEmbed {
position: relative;
padding-bottom: 56.25%;
height: 0;
}
iframe[title='YouTube video player'] {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding-bottom: 0;
border: none;
border-radius: 0.75rem;
}
main {
height: auto;
max-width: 32.142857142857146em;
margin: 0 auto;
padding: 1rem;
}
/* Other News */
.otherNews {
margin: 0.1em;
font-size: 115%;
font-weight: bolder;
}
details {
font-family: monospace;
text-align: left;
max-width: 52.5em;
width: 85%;
margin: 1rem auto;
padding: 1rem;
background-color: var(--color-details-background);
box-shadow: 1px 1px 2px var(--color-details-shadow);
border-radius: 0.75rem;
}
details > p {
line-height: 1.3;
}
details > hr {
border-top: thin solid var(--color-text);
}
summary {
cursor: pointer;
}
/* Page Footer */
footer {
font-size: 0.8em;
text-align: center;
margin: 2rem;
padding: 2rem 0;
}