diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-05-15 12:30:34 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-05-15 12:30:34 +0200 |
commit | 5e8865c67a658873602146ff98abdcb69ee00ccc (patch) | |
tree | a4989b2f28db6fcdc26cb53e80443b24878e5122 /src | |
parent | 9d339f943bcf78e65c19a9afdffc8f6212abc5ae (diff) | |
download | rgoncalves.se-5e8865c67a658873602146ff98abdcb69ee00ccc.tar.gz |
feat(src/styles): full width cgit
Diffstat (limited to 'src')
-rw-r--r-- | src/styles/cgit.css (renamed from src/style/cgit.css) | 18 | ||||
-rw-r--r-- | src/styles/main.css (renamed from src/style/style.css) | 0 |
2 files changed, 11 insertions, 7 deletions
diff --git a/src/style/cgit.css b/src/styles/cgit.css index 48ca805..7156ca4 100644 --- a/src/style/cgit.css +++ b/src/styles/cgit.css @@ -4,7 +4,8 @@ div#cgit { padding: 0em; - margin: 0em; + margin: 0 auto 0 auto; + /* width: 128ch; */ font-size: 10pt; color: #333; background: white; @@ -35,11 +36,9 @@ table#header td.logo { display: none; } -table#header td.main { - white-space: nowrap; -} - +table#header td.main, table#header td.main a { + white-space: nowrap; color: #000; } @@ -122,7 +121,7 @@ div.path { div.content { margin: 0px; margin-bottom: 16em; - padding: 2em; + padding-top: 1em; } table.list { @@ -540,6 +539,10 @@ table.diff { table.diff td { white-space: pre; + max-width: 0; + background-color: #eee; + border: solid 1px #aaa; + overflow-x: scroll; } table.diff td div.head { @@ -921,5 +924,6 @@ span.libravatar:hover > img.onhover { div#cgit > span:last-child { background-color: yellow; - margin: 2em; + display: block; + color: #000; } diff --git a/src/style/style.css b/src/styles/main.css index 1c47ae6..1c47ae6 100644 --- a/src/style/style.css +++ b/src/styles/main.css |