diff options
-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 | ||||
-rw-r--r-- | templates/default.head | 2 |
3 files changed, 12 insertions, 8 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 diff --git a/templates/default.head b/templates/default.head index 62d1f8a..b25f49c 100644 --- a/templates/default.head +++ b/templates/default.head @@ -1,5 +1,5 @@ <title>rgoncalves.se</title> -<link href="/style/style.css" rel="stylesheet" type="text/css"> +<link href="/styles/main.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" type="image/jpg" href="/img/favicon.ico"/> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> |