Skip to content

Commit ef8f5c1

Browse files
authored
Merge pull request #19 from JustStudio7/main
Add selection styles
2 parents e5ef6ef + d824213 commit ef8f5c1

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

styles/404.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,13 @@ body * {
5353
.error-container a:hover {
5454
text-decoration: underline;
5555
}
56+
57+
/* Selection */
58+
::-moz-selection {
59+
color: #fff;
60+
background: var(--accent);
61+
}
62+
::selection {
63+
color: #fff;
64+
background: var(--accent);
65+
}

styles/main.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,13 @@ input::placeholder {
208208
#carbonads .carbon-poweredby {
209209
color: #ffffff;
210210
}
211+
212+
/* Selection */
213+
::-moz-selection {
214+
color: #fff;
215+
background: var(--accent);
216+
}
217+
::selection {
218+
color: #fff;
219+
background: var(--accent);
220+
}

0 commit comments

Comments
 (0)