aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <kylie@somas.is>2020-07-16 17:15:30 -0400
committerKylie McClain <kylie@somas.is>2020-07-16 17:15:30 -0400
commitc3f4075f7bb77e6754eb6a40c0c61dafb9c1f194 (patch)
treec63a90126cdde5af9c00fc0f2cec10c4258b0a5a
parentbd0c8061c1413ffb39e9494863f21ab3ebb67bc7 (diff)
downloadgitolite-admin-c3f4075f7bb77e6754eb6a40c0c61dafb9c1f194.tar.gz
gitolite-admin-c3f4075f7bb77e6754eb6a40c0c61dafb9c1f194.tar.xz
gitolite-admin-c3f4075f7bb77e6754eb6a40c0c61dafb9c1f194.zip
Revert "cgit: use variables and main css as base"
This reverts commit bd0c8061c1413ffb39e9494863f21ab3ebb67bc7.
-rw-r--r--cgit/root/cgit.css60
1 files changed, 37 insertions, 23 deletions
diff --git a/cgit/root/cgit.css b/cgit/root/cgit.css
index 5136110..dadedca 100644
--- a/cgit/root/cgit.css
+++ b/cgit/root/cgit.css
@@ -1,23 +1,26 @@
-@import url(//mutiny.red/style.css);
-
html {
+ margin: 0 auto;
max-width: 1600px;
}
body {
+ font-size: 14px;
+ line-height: 1.5;
+ background: #eee;
+ color: #000;
font-family: monospace;
- padding: 1rem;
+ margin: 0;
+ padding: 16px;
}
div#cgit {
padding: 0em;
margin: 0em;
- font-size: .75rem;
- color: var(--color-inverse-fg);
+ font-size: 13px;
}
div#cgit a {
- color: var(--color-red);
+ color: #ff336d;
text-decoration: none;
outline: none;
}
@@ -44,7 +47,7 @@ div#cgit table#header td.main {
}
div#cgit table#header td.main a {
- color: var(--color-fg);
+ color: #000;
}
div#cgit table#header td.form {
@@ -58,7 +61,7 @@ div#cgit table#header td.sub {
}
div#cgit table.tabs {
- border-bottom: 4px solid var(--color-red);
+ border-bottom: 4px solid #ff336d;
border-collapse: collapse;
margin-bottom: 0px;
width: 100%;
@@ -73,17 +76,19 @@ div#cgit table.tabs td {
div#cgit table.tabs td a {
padding: 2px 16px;
font-size: 16px;
- color: var(--color-fg);
+ color: #000000;
outline: none;
}
div#cgit table.tabs td a:hover {
background-color: #ff366f78;
+ color: #000;
}
div#cgit table.tabs td a:active,
div#cgit table.tabs td a.active {
- background-color: var(--color-red);
+ color: #fff;
+ background-color: #ff336d;
}
div#cgit table.tabs td.form {
@@ -99,8 +104,8 @@ div#cgit div.path {
}
div#cgit > div.content {
- border-bottom: 4px dashed var(--color-border);
- background-color: var(--color-inverse-bg);
+ border-bottom: 4px dashed #b3b3b3;
+ background-color: #fff;
padding: 16px;
}
@@ -111,12 +116,16 @@ div#cgit table.list {
margin-bottom: 8px;
}
+div#cgit table.list tr {
+ background: white;
+}
+
div#cgit table.list tr.logheader {
background: #eee;
}
div#cgit table.list tr:nth-child(odd) {
- background: #fff;
+ background: white;
}
div#cgit table.list tr:hover {
@@ -235,7 +244,7 @@ div#cgit div#summary h5 a {
div#cgit div#summary pre {
background: #2f343f;
color: #fff;
- border: 4px solid var(--color-red);
+ border: 4px solid #ff336d;
padding: 16px;
border-left: 0px;
border-right: 0px;
@@ -396,6 +405,10 @@ div#cgit div.cgit-panel th {
text-align: center;
}
+div#cgit div.cgit-panel td {
+ /*! padding: 0.25em 0.5em; */
+}
+
div#cgit table.commit-info th {
text-align: left;
font-weight: bold;
@@ -435,8 +448,8 @@ div#cgit div.notes-footer {
}
div#cgit div.cgit-panel form {
- border-top: 2px dashed var(--color-border);
- border-bottom: 2px solid var(--color-border);
+ border-top: 2px dashed #b3b3b3;
+ border-bottom: 2px solid #b3b3b3;
background: #eee;
}
@@ -551,7 +564,7 @@ div#cgit .right {
div#cgit table.list td.reposection {
font-style: italic;
- border-bottom: 2px solid var(--color-border);
+ border-bottom: 2px solid #b3b3b3;
}
div#cgit a.button {
@@ -652,8 +665,8 @@ div#cgit span.deletions {
div#cgit div.footer {
font-style: italic;
+ /*! opacity: .3; */
text-align: right;
- color: var(--color-fg);
}
div#cgit div.footer:hover {
@@ -898,7 +911,7 @@ a:visited {
}
blockquote {
- border-left: 2px solid var(--color-inverse-border);
+ border-left: 2px solid rgba(0, 0, 0, .25);
margin: 16px 32px;
padding-left: 16px;
}
@@ -912,11 +925,12 @@ table {
div#cgit table#header {
text-align: left;
width: 100%;
- margin: 0
+ margin: 0;
+ /*! border-bottom: 4px dashed rgba(0, 0, 0, .25); */
/* fixes weird look for bottom border */
border-spacing: 0px;
border-collapse: initial;
- color: var(--color-fg);
+ /*! padding-bottom: 8px; */
}
div#cgit table#header td.logo img {
@@ -926,7 +940,7 @@ div#cgit table#header td.logo img {
div#cgit table#header td.main {
font-size: 32px;
- color: var(--color-red);
+ color: #ff336d;
font-weight: 500;
}
@@ -961,7 +975,7 @@ div#cgit div.content div#summary h1:first-child {
div#cgit table#header td.main {
font-size: 24px;
- color: var(--color-red);
+ color: #ff336d;
font-weight: 500;
}
}