aboutsummaryrefslogtreecommitdiff
path: root/cgit/static
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-07-04 11:08:06 +0530
committerAkshay Nair <phenax5@gmail.com>2026-07-04 11:08:10 +0530
commit1569f35ae6cd90b056cb237ba020c69d37ebafb5 (patch)
tree5cadbda6247926992967d91caa03c79787528a5b /cgit/static
parent6b505a48a23f77867dd9dc75a542ede6ce4ae955 (diff)
downloadbacchus-remote-1569f35ae6cd90b056cb237ba020c69d37ebafb5.tar.gz
bacchus-remote-1569f35ae6cd90b056cb237ba020c69d37ebafb5.zip
Add cgit footer + css changes
Diffstat (limited to 'cgit/static')
-rw-r--r--cgit/static/cgit.css25
-rw-r--r--cgit/static/footer.html3
2 files changed, 18 insertions, 10 deletions
diff --git a/cgit/static/cgit.css b/cgit/static/cgit.css
index 8da6a9e..0b35afc 100644
--- a/cgit/static/cgit.css
+++ b/cgit/static/cgit.css
@@ -11,9 +11,12 @@ input[type=search], input[type=text], select {
background-color: #111;
color: #eee;
border: 1px solid #333;
+ padding: 4px 6px;
+ display: inline-block;
}
select {
color: var(--color-accent);
+ padding: 3px 6px;
}
div#cgit button, div#cgit input[type=submit] {
@@ -21,14 +24,15 @@ div#cgit button, div#cgit input[type=submit] {
color: var(--color-accent);
border: 1px solid #333;
cursor: pointer;
+ padding: 4px 6px;
}
div#cgit button:hover, div#cgit input[type=submit]:hover {
background-color: #333;
}
div#cgit {
- padding: 0em;
- margin: 0em auto;
+ padding: 0;
+ margin: 0 auto;
max-width: 1200px;
font-family: sans-serif;
font-size: 10pt;
@@ -36,6 +40,11 @@ div#cgit {
padding: 4px;
}
+div#cgit #footer {
+ text-align: center;
+ padding: 0.6rem 0.6rem 0;
+}
+
div#cgit a {
color: var(--color-accent-1);
text-decoration: none;
@@ -99,7 +108,7 @@ div#cgit table.tabs {
}
div#cgit table.tabs td {
- padding: 0px 1em;
+ padding: 4px 1em;
vertical-align: bottom;
}
@@ -144,7 +153,7 @@ div#cgit div.path {
div#cgit div.content {
margin: 0px;
padding: 2em;
- border-bottom: solid 3px #ccc;
+ border-bottom: 1px solid #444;
}
@@ -189,17 +198,13 @@ div#cgit table.list tr.nohover-highlight:hover:nth-child(odd) {
div#cgit table.list th {
font-weight: bold;
- /* color: #888;
- border-top: dashed 1px #888;
- border-bottom: dashed 1px #888;
- */
- padding: 0.1em 0.5em 0.05em 0.5em;
+ padding: 0.3em 0.6em;
vertical-align: baseline;
}
div#cgit table.list td {
border: none;
- padding: 0.1em 0.5em 0.1em 0.5em;
+ padding: 0.3em 0.6em;
}
div#cgit table.list td.commitgraph {
diff --git a/cgit/static/footer.html b/cgit/static/footer.html
new file mode 100644
index 0000000..5931c98
--- /dev/null
+++ b/cgit/static/footer.html
@@ -0,0 +1,3 @@
+<footer id="footer">
+ generated by <a href="https://git.zx2c4.com/cgit/about/" target="_blank _parent" rel="noopener">cgit</a>
+</footer>