forked from planex/defiance
improve contrast
This commit is contained in:
parent
f04e8e917f
commit
3a68004925
2 changed files with 11 additions and 25 deletions
|
@ -4,7 +4,7 @@
|
|||
<ul id="artlist">
|
||||
{{ range .Pages }}
|
||||
<li data-tags="{{.Params.Tags}}">
|
||||
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||
{{ partial "metadata.html" . }}
|
||||
{{ if .Params.cws }}
|
||||
{{ else }}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: #1f2023;
|
||||
color: #E7DBDA;
|
||||
color: #FAFAFA;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
|
@ -13,30 +13,22 @@
|
|||
color: #E7DBDA;
|
||||
}
|
||||
.author-name {
|
||||
background-color: #B5ADAD;
|
||||
background-color: #ffffff;
|
||||
color: #F14B25;
|
||||
border-radius: 4px;
|
||||
padding: 5px 10px;
|
||||
font-family: 'Liberation Mono', monospace;
|
||||
}
|
||||
|
||||
.author-name:hover {
|
||||
background-color: #CEC4C4;
|
||||
font-family: monospace;
|
||||
}
|
||||
.tag {
|
||||
background-color: #34353B;
|
||||
border-radius: 4px;
|
||||
padding: 5px 10px;
|
||||
font-family: 'Liberation Mono', monospace;
|
||||
}
|
||||
|
||||
.tag:hover {
|
||||
background-color: #2D2E33;
|
||||
font-family: monospace;
|
||||
}
|
||||
}
|
||||
/* Light Mode */
|
||||
@media (prefers-color-scheme: light) {
|
||||
body {
|
||||
background-color: #E7DBDA;
|
||||
background-color: #FAFAFA;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
|
@ -47,22 +39,15 @@
|
|||
color: #1f2023;
|
||||
}
|
||||
.author-name {
|
||||
background-color: #34353B;
|
||||
background-color: #000000;
|
||||
border-radius: 4px;
|
||||
padding: 5px 10px;
|
||||
font-family: 'Liberation Mono', monospace;
|
||||
}
|
||||
.author-name:hover {
|
||||
background-color: #2D2E33;
|
||||
font-family: monospace;
|
||||
}
|
||||
.tag {
|
||||
background-color: #B5ADAD;
|
||||
border-radius: 4px;
|
||||
padding: 5px 10px;
|
||||
font-family: 'Liberation Mono', monospace;
|
||||
}
|
||||
.tag:hover {
|
||||
background-color: #CEC4C4;
|
||||
font-family: monospace;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -162,6 +147,7 @@ nav {
|
|||
/* For Content Warnings */
|
||||
label {
|
||||
display: none;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
#cw:checked + label {
|
||||
|
|
Loading…
Add table
Reference in a new issue