stagit-scripts

stagit openbsd settings
git clone git://git.nirm.al/stagit-scripts.git
Log | Files | Refs

commit 37ed9b29595be4cc3a73842391f5f274599be34e
parent 517a2b60cfa8fbfa9f2180d09c94a4a0baac4f4b
Author: Nirmal Kumar R <tildezero@gmail.com>
Date:   Sat,  4 Jan 2025 18:36:27 +0530

Update styles + Add GitLabMono

Diffstat:
Mpost-receive | 1+
Mstyle.css | 163+++++++++++++++++++++++++++++++++++++++++++------------------------------------
2 files changed, 89 insertions(+), 75 deletions(-)

diff --git a/post-receive b/post-receive @@ -20,3 +20,4 @@ ln -sf log.html index.html ln -sf ../style.css style.css ln -sf ../logo.png logo.png ln -sf ../favicon.png favicon.png +ln -sf ../GitLabMono.woff2 GitLabMono.woff2 diff --git a/style.css b/style.css @@ -3,56 +3,69 @@ src: url('GitLabMono.woff2') format('woff2'); } +*, +*::before, +*::after { + margin: 0; + padding: 0; + box-sizing: inherit; +} + +html { + font-size: 62.5%; +} + body { - color: #000; - background-color: #fff; - font-family: '_GitFont', sans-serif; + font-size: 1.6rem; + color: #000; + background-color: #fff; + font-family: '_GitFont', monospace; } h1, h2, h3, h4, h5, h6 { - font-size: 1em; - margin: 0; + font-size: 1em; + margin: 0; } img, h1, h2 { - vertical-align: middle; + vertical-align: middle; } img { - border: 0; + border: 0; } a:target { - background-color: #ccc; + background-color: #ccc; } a.d, a.h, a.i, a.line { - text-decoration: none; + text-decoration: none; } #blob a { - color: #555; + color: #555; } #blob a:hover { - color: blue; - text-decoration: none; + color: blue; + text-decoration: none; } table thead td { - font-weight: bold; + font-weight: bold; } table td { - padding: 0 0.4em; + padding: 0 0.4em; } #content table td { - vertical-align: top; - white-space: nowrap; + vertical-align: top; + white-space: nowrap; } #branches tr:hover td, @@ -60,100 +73,101 @@ table td { #index tr:hover td, #log tr:hover td, #files tr:hover td { - background-color: #eee; + background-color: #eee; } #index tr td:nth-child(2), #tags tr td:nth-child(3), #branches tr td:nth-child(3), #log tr td:nth-child(2) { - white-space: normal; + white-space: normal; } td.num { - text-align: right; + text-align: right; } .desc { - color: #555; + color: #555; } hr { - border: 0; - border-top: 1px solid #555; - height: 1px; + border: 0; + border-top: 1px solid #555; + height: 1px; } pre { - font-family: '_GitFont', monospace; + font-family: '_GitFont', monospace; + font-size: 1.4rem; } pre a.h { - color: #00a; + color: #00a; } .A, span.i, pre a.i { - color: #070; + color: #070; } .D, span.d, pre a.d { - color: #e00; + color: #e00; } pre a.h:hover, pre a.i:hover, pre a.d:hover { - text-decoration: none; + text-decoration: none; } @media (prefers-color-scheme: dark) { - body { - background-color: #000; - color: #bdbdbd; - } - hr { - border-color: #222; - } - a { - color: #56c8ff; - } - a:target { - background-color: #222; - } - .desc { - color: #aaa; - } - #blob a { - color: #555; - } - #blob a:target { - color: #eee; - } - #blob a:hover { - color: #56c8ff; - } - pre a.h { - color: #00cdcd; - } - .A, - span.i, - pre a.i { - color: #00cd00; - } - .D, - span.d, - pre a.d { - color: #cd0000; - } - #branches tr:hover td, - #tags tr:hover td, - #index tr:hover td, - #log tr:hover td, - #files tr:hover td { - background-color: #111; - } -} -\ No newline at end of file + body { + background-color: #000; + color: #bdbdbd; + } + hr { + border-color: #222; + } + a { + color: #56c8ff; + } + a:target { + background-color: #222; + } + .desc { + color: #aaa; + } + #blob a { + color: #555; + } + #blob a:target { + color: #eee; + } + #blob a:hover { + color: #56c8ff; + } + pre a.h { + color: #00cdcd; + } + .A, + span.i, + pre a.i { + color: #00cd00; + } + .D, + span.d, + pre a.d { + color: #cd0000; + } + #branches tr:hover td, + #tags tr:hover td, + #index tr:hover td, + #log tr:hover td, + #files tr:hover td { + background-color: #111; + } +}