diff options
| Commit | e87ea37d25234296f66202f28d105848c08f7598 (patch) | |
|---|---|---|
| Author | 2026-10-01 07:44:20 +0300 | |
| Committer | 2026-10-01 07:44:20 +0300 | |
| Files | 8db8e1828ed0a6fe738416c8f40aaba0737cc0bb /cgit.css | |
| cgit_theme-e87ea37d25234296f66202f28d105848c08f7598.tar cgit_theme-e87ea37d25234296f66202f28d105848c08f7598.tar.gz cgit_theme-e87ea37d25234296f66202f28d105848c08f7598.zip | ||
| Parent | f56ddb062197fc9ac3e8584a74452b02b1c7a682 (diff) | |
feat(cgit.css): Colored borders, fix linenumbers, buttons as inputs, boxed readme
1 files changed, 28 insertions, 10 deletions
| -rw-r--r-- | cgit.css | 38 |
@@ -79,9 +79,9 @@ div#cgit table#header tr:last-child td { } -div#cgit table#header td.logo { +div#cgit table#header td.logo, div#cgit table#header td.logo img { width: 96px; - max-height: 96px; + height: 96px; vertical-align: top; } @@ -169,7 +169,8 @@ div#cgit table.tabs td.form select { } div#cgit input, -div#cgit select { +div#cgit select, +div#cgit a.button { color: /*--white*/#fafafa; background-color: /*--blue-1*/#428fdc; box-shadow: inset 0 0 0 1px /*--blue-2*/#63a6e9; @@ -177,6 +178,13 @@ div#cgit select { border-radius: /*--radius-small*/3px; } +div#cgit input:hover, +div#cgit select:hover, +div#cgit a.button:hover { + background-color: #3675b3; + text-decoration: none; +} + div#cgit div.path { margin: 0px; padding: 5px 2em; @@ -221,8 +229,8 @@ div#cgit table.stats th { padding: 0.5rem; margin: 1em 0; vertical-align: baseline; - background-color: /*--gray-5*/#4f4f4f; - border: 1px solid /*--gray-4*/#404040; + background-color: #978a42; + border: 1px solid #978a42; } div#cgit table.list th:not(:first-child):not(last-child), @@ -253,12 +261,12 @@ div#cgit table.stats td { div#cgit table.list td:first-child, div#cgit table.stats td:first-child { - border-left: 1px solid /*--gray-4*/#404040; + border-left: 1px solid #978a42; } div#cgit table.list td:last-child, div#cgit table.stats td:last-child { - border-right: 1px solid /*--gray-4*/#404040; + border-right: 1px solid #978a42; } div#cgit table.list tr:hover td, @@ -619,12 +627,16 @@ div#cgit table.ssdiff td.lineno a { div#cgit table.blob td.linenumbers a:hover, div#cgit table.ssdiff td.lineno a:hover { + color: yellow; +} + +div#cgit table.blob td.linenumbers a:target { + background-color: yellow; color: black; } div#cgit table.blob td.linenumbers a:target:before { - color: red; - content: "\\2BA9"; + content: " >>> "; } div#cgit table.blame td.hashes, @@ -1232,8 +1244,10 @@ div#cgit table.ssdiff td.space div { .markdown-body { font-size: 16px !important; - padding: 0.5em; + padding: 1.5em; box-sizing: border-box; + border: 1px solid #978a42; + background-color: #303030; } .markdown-body h1, .markdown-body h1 a, @@ -1299,3 +1313,7 @@ table + div#readme, #summary-info + table[summary="tree listing"] { min-height: 13px; display: inline-block; } + +div#cgit table[summary="repository info"] td:nth-child(3) { + white-space: nowrap; +} |
