~metalune/simplytranslate_web

68cd8de932cdb0af27a67972360e195807da5059 — metalune 29 days ago 86597f4
Add dark mode
2 files changed, 19 insertions(+), 0 deletions(-)

M static/home.css
M static/info.css
M static/home.css => static/home.css +12 -0
@@ 1,3 1,15 @@
@media (prefers-color-scheme: dark) {
    body {
        background-color: #10100E;
        color: #C6C6C4;
    }

    #input, #from_language, #to_language, button {
        background-color: #222222;
        color: #bbbbbb;
    }
}

body {
    text-align: center;
}

M static/info.css => static/info.css +7 -0
@@ 1,3 1,10 @@
@media (prefers-color-scheme: dark) {
    body {
        background-color: #10100E;
        color: #C6C6C4;
    }
}

body {
    max-width: 800px;
    margin: 0 auto;