Commit bb604fa0 authored by Luc Didry's avatar Luc Didry

💄 — Add dark css for prefers-color-scheme: dark

parent a95d7eb7
Pipeline #180359 passed with stages
in 49 seconds
......@@ -14,8 +14,8 @@ pages:
script:
- rm -rf public
- if [[ -d last ]]; then rm -rf last/; fi
- for i in themes/*; do if [[ $i != 'themes/default' ]]; then cp -r $i last/themes; fi; done
- git clone https://framagit.org/luc/last.git
- for i in themes/*; do if [[ $i != 'themes/default' ]]; then cp -r $i last/themes; fi; done
- cp last.conf last/
- if [[ -d local ]]; then mv local last; fi
- if [[ -d cache ]]; then mv cache last; fi
......
Revision history for Last
0.8.0 2019-10-30
- Add dark css for prefers-color-scheme: dark
0.7.0 2019-09-24
- Update dependencies
- Add opengraph tags
......
@media (prefers-color-scheme: dark) {
html {
background-color: #181a1b !important;
}
html, body, input, textarea, select, button {
background-color: #181a1b;
}
html, body, input, textarea, select, button {
border-color: #575757;
color: #e8e6e3;
}
a {
color: #3391ff;
}
table {
border-color: #4c4c4c;
}
::placeholder {
color: #bab5ab;
}
::selection {
background-color: #005ccc;
color: #ffffff;
}
::-moz-selection {
background-color: #005ccc;
color: #ffffff;
}
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
background-color: #545b00 !important;
color: #e8e6e3 !important;
}
::-webkit-scrollbar {
background-color: #1c1e1f;
color: #c5c1b9;
}
::-webkit-scrollbar-thumb {
background-color: #2a2c2e;
}
::-webkit-scrollbar-thumb:hover {
background-color: #323537;
}
::-webkit-scrollbar-thumb:active {
background-color: #3d4043;
}
::-webkit-scrollbar-corner {
background-color: #181a1b;
}
* {
scrollbar-color: #2a2c2e #1c1e1f;
}
}
......@@ -16,6 +16,7 @@
<link rel="stylesheet" href="css/raleway.css">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="stylesheet" href="css/dark-mode.css">
<link rel="icon" type="image/png" href="img/favicon.png">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment