improve contrast

This commit is contained in:
ch0ccyra1n 2023-01-23 18:01:14 -08:00
parent f04e8e917f
commit 3a68004925
2 changed files with 11 additions and 25 deletions

View file

@ -4,7 +4,7 @@
<ul id="artlist"> <ul id="artlist">
{{ range .Pages }} {{ range .Pages }}
<li data-tags="{{.Params.Tags}}"> <li data-tags="{{.Params.Tags}}">
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3> <h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ partial "metadata.html" . }} {{ partial "metadata.html" . }}
{{ if .Params.cws }} {{ if .Params.cws }}
{{ else }} {{ else }}

View file

@ -2,7 +2,7 @@
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body { body {
background-color: #1f2023; background-color: #1f2023;
color: #E7DBDA; color: #FAFAFA;
} }
a { a {
text-decoration: none; text-decoration: none;
@ -13,30 +13,22 @@
color: #E7DBDA; color: #E7DBDA;
} }
.author-name { .author-name {
background-color: #B5ADAD; background-color: #ffffff;
color: #F14B25;
border-radius: 4px; border-radius: 4px;
padding: 5px 10px; padding: 5px 10px;
font-family: 'Liberation Mono', monospace; font-family: monospace;
}
.author-name:hover {
background-color: #CEC4C4;
} }
.tag { .tag {
background-color: #34353B;
border-radius: 4px; border-radius: 4px;
padding: 5px 10px; padding: 5px 10px;
font-family: 'Liberation Mono', monospace; font-family: monospace;
}
.tag:hover {
background-color: #2D2E33;
} }
} }
/* Light Mode */ /* Light Mode */
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
body { body {
background-color: #E7DBDA; background-color: #FAFAFA;
} }
a { a {
text-decoration: none; text-decoration: none;
@ -47,22 +39,15 @@
color: #1f2023; color: #1f2023;
} }
.author-name { .author-name {
background-color: #34353B; background-color: #000000;
border-radius: 4px; border-radius: 4px;
padding: 5px 10px; padding: 5px 10px;
font-family: 'Liberation Mono', monospace; font-family: monospace;
}
.author-name:hover {
background-color: #2D2E33;
} }
.tag { .tag {
background-color: #B5ADAD;
border-radius: 4px; border-radius: 4px;
padding: 5px 10px; padding: 5px 10px;
font-family: 'Liberation Mono', monospace; font-family: monospace;
}
.tag:hover {
background-color: #CEC4C4;
} }
} }
@ -162,6 +147,7 @@ nav {
/* For Content Warnings */ /* For Content Warnings */
label { label {
display: none; display: none;
font-size: 22px;
} }
#cw:checked + label { #cw:checked + label {