Add dark theme for homepage (MR 5)

Adds @media query to set dark theme for systems with dark theme preference
This commit is contained in:
HenriDellal 2021-05-14 22:18:16 +00:00 committed by Oliver Smith
parent 1a0bde9a5b
commit f07fe00abd
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -52,6 +52,23 @@ a {
color: black;
padding: 0px;
}
@media (prefers-color-scheme: dark) {
body {
color: #f0f0f0;
background-color: #222;
}
a {
background: #111;
color: #0b0;
}
.text a {
color: white;
}
h1, h2 {
color: unset;
}
}
</style>
</head>
<body>