-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
executable file
·191 lines (161 loc) · 3.93 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
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
/* This started out as a Halloween theme, but honestly, having a Winter vibe to my site is kinda nice. I don't wanna be cringe, but I asked ChatCPT to pick the colors out for this CSS file, sorry! */
/* See humans.html for full thanks */
body {
max-width: 800px ;
margin: auto ;
}
h1 {
text-align: left ;
}
/* LIGHT MODE */
:root {
--color: #cc1b07;
--link-color: #96160b;
--bg-image: url(odds/christmas2024/starsbg.png);
--bg-color: hsl(28.42, 76.88%, 66.08%);
background-size: auto;
background-repeat: auto;
background-position: center;
background-attachment: fixed;
}
/* unvisited link */
a:link {
color: #550f0a;
}
/* visited link */
a:visited {
color: #da3c14;
}
/* mouse over link */
a:hover {
color: #150b09;
}
/* selected link */
a:active {
color: #28120e;
}
/* DARK MODE */
@media (prefers-color-scheme: dark) {
:root {
--color: #f0e68c;
--link-color: #ff4500;
--bg-image: url(odds/christmas2024/starsbg.png);
--bg-color: hsl(30, 36%, 4%);
}
/* unvisited link */
a:link {
color: #ff6347;
}
/* visited link */
a:visited {
color: #cd5c5c;
}
/* mouse over link */
a:hover {
color: #ffcccb;
}
/* selected link */
a:active {
color: #ffdead;
}
}
body {
max-width: 800px ;
margin: auto ;
color: var(--color);
background-image: var(--bg-image);
background-color: var(--bg-color);
background-size: auto;
background-repeat: auto;
background-position: center;
background-attachment: fixed;
}
/* unvisited link */
a:link {
color: var(--link-color);
}
/* While this part was cool, I decided to get rid of it due to accessibility reasons, but what it did was remove the underlines for links
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: underline; }
a:active { text-decoration: underline; } */
/* What font to use */
h1, h2, h3, a, li, th, br, ubuntu, p, blockquote, center {
font-family: Ubuntu, "Noto Sans", "Liberation Sans", Helvetica, Arial, sans-serif;
}
pre, tt, xmp, ubuntu-mono {
font-family: monospace, "Ubuntu Monospace", Courier;
}
a {
text-decoration: underline;
}
a:hover {
text-decoration: none;
}
/* Thank you to Job of joppiesaus.neocities.org for not only writing the following CSS, but also allowing me to use it */
/* Job has been a friend of mine for a few years now, and it would really make me happy if you checked out their website */
figure {
display: block;
margin: 0 auto;
max-width: 95vw;
border: 1px solid #999;
background: #000;
background: rgba(0, 0, 0, 0.5);
width: min-content;
border-radius: 2px;
}
figure {
float: right;
max-width: 33vw;
margin: 3px;
margin-left: 5px;
margin-right: 0;
}
/* The Following code has been written by Randy and has given his consent for me to use it */
/* I am unsure if the following code *can* even be copyrighted due to how generic it is */
blockquote {
border-left: 0.1em solid #cc66ff;
padding-left: 0.3em;
}
/* The following was written by devils.gay - thank you */
uppercase,yell {
text-transform: uppercase;
}
/* The following has been taken from the below URL */
/* https://learn2dev.com/articles/css-shorts/spoilers */
.spoiler-text {
background: black;
color: transparent;
cursor: help;
user-select: none;
transition: background 0.3s ease 0.2s, color 0.2s ease 0.25s;
}
.spoiler-text:hover,
.spoiler-text:focus {
background: #e8e8e8;
color: inherit;
}
/* Following taken from /accessibility/#autoplay part of the website */
.flashing {
-webkit-filter: blur(5px); /* For Safari 6.0 - 9.0 */
filter: blur(5px);
}
.flashing:hover {
-webkit-filter: none;
filter: none;
}
/* Following taken from /accessibility/#autoplay part of the website */
.flashing {
-webkit-filter: blur(5px); /* For Safari 6.0 - 9.0 */
filter: blur(5px);
}
.flashing:hover {
-webkit-filter: none;
filter: none;
}
.tag {
padding: 10px;
border: 5px solid gray;
margin: 0;
background-color: #4D4A7C;
}