iconic magenta stripes
This commit is contained in:
parent
d5905fff2c
commit
ca9e1593a9
2 changed files with 8 additions and 53 deletions
|
@ -6,36 +6,17 @@
|
||||||
|
|
||||||
/* Theme colors */
|
/* Theme colors */
|
||||||
:root {
|
:root {
|
||||||
--color-gray-20: #e0e0e0;
|
--xkcd-light-grey: #d8dcd6;
|
||||||
--color-gray-50: #C0C0C0;
|
--xkcd-steel-blue: #5a7d9a;
|
||||||
--color-gray-90: #333;
|
--xkcd-magenta: #c20078;
|
||||||
|
|
||||||
--background-color: #fff;
|
--background-color: black;
|
||||||
|
--text-color: var(--xkcd-light-grey);
|
||||||
--text-color: var(--color-gray-90);
|
--text-color-link: var(--xkcd-steel-blue);
|
||||||
--text-color-link: #082840;
|
|
||||||
--text-color-link-active: #5f2b48;
|
|
||||||
--text-color-link-visited: #17050F;
|
|
||||||
|
|
||||||
--syntax-tab-size: 2;
|
--syntax-tab-size: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
:root {
|
|
||||||
--color-gray-20: #e0e0e0;
|
|
||||||
--color-gray-50: #C0C0C0;
|
|
||||||
--color-gray-90: #dad8d8;
|
|
||||||
|
|
||||||
/* --text-color is assigned to --color-gray-_ above */
|
|
||||||
--text-color-link: #1493fb;
|
|
||||||
--text-color-link-active: #6969f7;
|
|
||||||
--text-color-link-visited: #a6a6f8;
|
|
||||||
|
|
||||||
--background-color: #15202b;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Global stylesheet */
|
/* Global stylesheet */
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -81,13 +62,6 @@ li {
|
||||||
a[href] {
|
a[href] {
|
||||||
color: var(--text-color-link);
|
color: var(--text-color-link);
|
||||||
}
|
}
|
||||||
a[href]:visited {
|
|
||||||
color: var(--text-color-link-visited);
|
|
||||||
}
|
|
||||||
a[href]:hover,
|
|
||||||
a[href]:active {
|
|
||||||
color: var(--text-color-link-active);
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
main {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
@ -97,7 +71,7 @@ main :first-child {
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
border-bottom: 1px dashed var(--color-gray-20);
|
border-bottom: 1.5ch double var(--xkcd-magenta);
|
||||||
}
|
}
|
||||||
header:after {
|
header:after {
|
||||||
content: "";
|
content: "";
|
||||||
|
@ -107,7 +81,7 @@ header:after {
|
||||||
|
|
||||||
.links-nextprev {
|
.links-nextprev {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
border-top: 1px dashed var(--color-gray-20);
|
border-top: 1.5ch double var(--xkcd-magenta);
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -201,7 +175,6 @@ header {
|
||||||
.postlist-date,
|
.postlist-date,
|
||||||
.postlist-item:before {
|
.postlist-item:before {
|
||||||
font-size: 0.8125em; /* 13px /16 */
|
font-size: 0.8125em; /* 13px /16 */
|
||||||
color: var(--color-gray-90);
|
|
||||||
}
|
}
|
||||||
.postlist-date {
|
.postlist-date {
|
||||||
word-spacing: -0.5px;
|
word-spacing: -0.5px;
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
/* Message Box */
|
|
||||||
.message-box {
|
|
||||||
--color-message-box: #ffc;
|
|
||||||
|
|
||||||
display: block;
|
|
||||||
background-color: var(--color-message-box);
|
|
||||||
color: var(--color-gray-90);
|
|
||||||
padding: 1em 0.625em; /* 16px 10px /16 */
|
|
||||||
}
|
|
||||||
.message-box ol {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
.message-box {
|
|
||||||
--color-message-box: #082840;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue