diff --git a/static/css/style.css b/static/css/style.css index 2303278..9e113de 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -302,7 +302,6 @@ header .site-menu a{ .content h3 { font-size: 1em; - padding-left: 2em; } .flex-page { @@ -626,10 +625,7 @@ ul.errorlist { font-size: 2.5em; font-weight: bold; margin: 2.75em 0.5em; - - -webkit-text-fill-color: #D99C7E; - -webkit-text-stroke-width: 1px; - -webkit-text-stroke-color: #1c619a; + color: #000; letter-spacing: 0.045em; } @@ -680,9 +676,6 @@ ul.errorlist { .homepage .map { display: block; } -#worldmap svg { - stroke-width: 0.5; -} #map { display: block; @@ -916,8 +909,8 @@ table.flat-table { font-size: 1.1em; border: 1px solid #bbb; border-top: 0; - color: #1c619a; background: #ddd; + font-weight: bold; } .flat-table thead tr td:first-child { border-left: 0; @@ -1156,6 +1149,113 @@ div.ticket-message-private { } +/***************************************************/ +/********************* Dark mode overrides */ +@media (prefers-color-scheme: dark) { + body { + background: #333; + color: #eee; + } + header #logo { + filter: brightness(1.9); + /* #35b8ff */ + } + .icon-wireguard { + filter: brightness(7) saturate(0); + } + a, + .content-box a, + .homepage .title, + header .site-menu a { + color: #35b8ff; + } + a.pure-button { /* the previous rule makes buttons ugly */ + color: #fff; + } + .install-guides li a, + .install-guides li a i { + color: #ddd; + } + .left-menu a { color: #ccc; } + .homepage h2, .content h2 { + color: #eee; + } + + .content-box { + background: #272727; + border-color: #777; + } + + .flat-table thead td { + border-color: #777; + background: #222; + color: #ccc; + } + .flat-table tbody tr:nth-child(2n) { + background: #2d2d2d; + } + .flat-table tbody tr td { + border-color: #777; + } + + .bandwidth { + background: #222; + } + .bandwidth .inner { + background: #1c619a; + } + + .account-status table td:first-child, + .account-status table tr:not(:first-child) { + border-color: #777; + } + + .account-payment-tab [id^="tab"]:checked + label, + .account-payment-tab [id^="tab"]:checked + label span { + background: #222; + } + .account-payment-tab > label { + background: #393939; + border-color: #777; + } + .account-payment-tab .tab-content p { + color: #bbb; + } + .account-aff-box { + background: #22222b; + } + + #map svg { + fill: #999; + } + #map .signalcircle { + fill: #1c619a; + } + + .button { + border: 2px solid #35b8ff; + } + .button:hover { + background: #35b8ff; + color: #000; + } + .button.inverted { + border: 2px solid #1c619a; + + } + .button, .button.inverted:hover { + color: #35b8ff; + } + + .pure-form input[type="text"], .pure-form input[type="password"], .pure-form input[type="email"], .pure-form input[type="url"], .pure-form input[type="date"], .pure-form input[type="month"], .pure-form input[type="time"], .pure-form input[type="datetime"], .pure-form input[type="datetime-local"], .pure-form input[type="week"], .pure-form input[type="number"], .pure-form input[type="search"], .pure-form input[type="tel"], .pure-form input[type="color"], .pure-form select, .pure-form textarea { + background: #222; + border-color: #888; + box-shadow: inset 0 1px 3px #000; + } + +} + + /***************************************************/ /********************* Live chat */ diff --git a/static/img/world.svg b/static/img/world.svg index b22a1eb..dbd6af8 100644 --- a/static/img/world.svg +++ b/static/img/world.svg @@ -30,6 +30,14 @@ changes: - ahhh it's viewBox not viewbox. +preserveAspectRatio. ~a --> +