Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Frame boxes and grids in the mid grey
The stats grid, the binary blob table and the line above a blob kept
the black of the original stylesheet as the darkest grey, and the
readme used the lightest, while the diffstat and diff options sat in
between. Rules such as the tab bar and the header line keep the light
grey.
Diffstat (limited to '')
| -rw-r--r-- | assets/cgit.css | 16 |
1 file changed, 8 insertions, 8 deletions
diff --git a/assets/cgit.css b/assets/cgit.css index b2d3ca5..f7c1819 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -561,7 +561,7 @@ div#cgit .markdown hr { div#cgit .markdown code { background: var(--surface-2); - border: solid 1px var(--border); + border: solid 1px var(--border-mid); border-radius: var(--radius-s); padding: 0.1em 0.35em; font-size: 0.95em; @@ -569,7 +569,7 @@ div#cgit .markdown code { div#cgit .markdown pre { background: var(--surface-2); - border: solid 1px var(--border); + border: solid 1px var(--border-mid); border-radius: var(--radius); padding: 0.7em 0.9em; overflow-x: auto; @@ -587,7 +587,7 @@ div#cgit .markdown table { div#cgit .markdown th, div#cgit .markdown td { - border: solid 1px var(--border); + border: solid 1px var(--border-mid); padding: 0.35em 0.7em; } @@ -646,7 +646,7 @@ div#cgit td.ls-links { div#cgit table.blob { margin-top: 0.5em; - border-top: solid 1px var(--border-strong); + border-top: solid 1px var(--border-mid); display: block; min-width: 100%; max-width: 100%; @@ -787,7 +787,7 @@ div#cgit table.blame .oid { div#cgit table.bin-blob { margin-top: 0.5em; - border: solid 1px var(--border-strong); + border: solid 1px var(--border-mid); display: block; width: max-content; max-width: 100%; @@ -1194,7 +1194,7 @@ div#cgit div.commit-subject span.decoration { } div#cgit table.stats { - border: solid 1px var(--border-strong); + border: solid 1px var(--border-mid); display: block; width: max-content; max-width: 100%; @@ -1205,13 +1205,13 @@ div#cgit table.stats th { text-align: left; padding: 1px 0.5em; background-color: var(--surface); - border: solid 1px var(--border-strong); + border: solid 1px var(--border-mid); } div#cgit table.stats td { text-align: right; padding: 1px 0.5em; - border: solid 1px var(--border-strong); + border: solid 1px var(--border-mid); } div#cgit table.stats td.total { |
