Fixed code blocks being unreadable in light mode
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s

This commit is contained in:
BlueFox 2025-02-20 19:39:57 +01:00
parent 7f12cdc3e7
commit f6e21cbc1f
Signed by: BlueFox
GPG Key ID: 327233DA85435270
2 changed files with 7 additions and 3 deletions

View File

@ -13,7 +13,7 @@ html { box-sizing: border-box; }
}
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #111111;
--bg-color: #000000;
--fg-color: #ffffff;
--selection-bg-color: var(--accent);
--selection-fg-color: #000000;
@ -91,7 +91,11 @@ code {
padding: 2px;
margin: 1px;
font-family: serif;
background-color: #000000;
background-color: var(--fg-color);
color: var(--bg-color);
}
code a {
text-decoration-color: var(--fg-color); !important
}
.row {

View File

@ -9,7 +9,7 @@
</head>
<body>
<h1 id="headline">Hey dear stanger!</h1>
<p>This is <a href="https://privacynerd.de/"><code>privacynerd.de</code></a>. I'm mostly known as BlueFox and host some services in the internet. I love coding and publish blog posts every know and then. <br />
<p>This is <code><a href="https://privacynerd.de/">privacynerd.de</a></code>. I'm mostly known as BlueFox and host some services in the internet. I love coding and publish blog posts every know and then. <br />
<i>Stay optimistic!</i></p>
<hr>
<div class="row">