css for tags
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-05-02 16:11:09 +02:00
parent 67feca4fc2
commit 652a96d722
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -9,6 +9,7 @@
--quote-bg-color: #d8d6d6; --quote-bg-color: #d8d6d6;
--link-hover-color: #fd62af; --link-hover-color: #fd62af;
--separator-color: #cccccc; --separator-color: #cccccc;
--tag-bg-color: #d2e0f0;
} }
} }
@ -23,6 +24,7 @@
--quote-bg-color: #273341; --quote-bg-color: #273341;
--link-hover-color: #ff80bf; --link-hover-color: #ff80bf;
--separator-color: #414558; --separator-color: #414558;
--tag-bg-color: #242e38;
} }
} }
@ -67,6 +69,25 @@ header > span {
font-style: italic; font-style: italic;
} }
/* Tags */
header > ul {
display: inline;
margin-left: 1em;
padding: 0;
}
header li::before {
content: "#";
}
header li {
display: inline;
background-color: var(--tag-bg-color);
border-radius: 5px;
padding: 2px 8px;
font-size: calc(var(--font-size) / 1.1);
}
::selection { ::selection {
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
background: var(--selection); background: var(--selection);