/* Based on jbauer's cgit theme: https://git.sr.ht/~jbauer/cgit-config/ */
:root {
/* General */
--logo-width: 64px;
--font-size: 16px;
/* Colours */
--bg: #272727;
--fg: #aaa;
--row-even: #2e2e2e;
--row-odd: #323232;
--green: #29b74e;
--blue: #3498db;
--red: #e42533;
--yellow: #da8f0d;
/*
; --black: #000000;
; --dark-grey: #666666;
; --grey: #aaaaaa;
; --light-grey: #cccccc;
; --very-light-grey: #eeeeee;
; --red: #e00000;
; --dark-red: #990000;
; --olive: #777700;
; --turquoise: #00aaaa;
; --dark-magenta: #aa00aa;
; --yellow: #ffff88;
; --light-yellow: #ffffdd;
; --dark-yellow: #ffcc88;
; --remote-deco: #ccccff;
; --deco: #ff8888;
; --ssdiff-add-bg: #cfc;
; --ssdiff-add-dark-bg: #aca;
; --ssdiff-del-bg: #fcc;
; --ssdiff-del-dark-bg: #caa;
; --ssdiff-cha-dark-bg: #cca;
; --ssdiff-hunk-bg: #ccf;
*/
}
html {
background: var(--bg);
}
div#cgit {
padding: 0em;
margin: 0em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: var(--font-size);
color: var(--fg);
background: var(--bg);
padding: 4px;
}
div#cgit a {
color: var(--blue);
text-decoration: none;
}
div#cgit a:hover {
text-decoration: underline;
}
div#cgit table {
border-collapse: collapse;
}
div#cgit table#header {
width: 100%;
margin-bottom: 1em;
}
div#cgit table#header td.logo {
width: var(--logo-width);
vertical-align: top;
}
div#cgit table#header td.main {
font-size: 250%;
padding-left: 10px;
white-space: nowrap;
}
div#cgit table#header td.main a {
color: var(--black);
}
div#cgit table#header td.form {
text-align: right;
vertical-align: bottom;
padding-right: 1em;
padding-bottom: 2px;
white-space: nowrap;
}
div#cgit table#header td.form form,
div#cgit table#header td.form input,
div#cgit table#header td.form select {
font-size: 90%;
}
div#cgit table#header td.sub {
color: var(--dark-grey);
border-top: solid 1px var(--dark-grey);
padding-left: 10px;
}
div#cgit table.tabs {
border-bottom: solid 3px var(--very-light-grey);
border-collapse: collapse;
margin-top: 2em;
margin-bottom: 0px;
width: 100%;
}
div#cgit table.tabs td {
padding: 0px 1em;
vertical-align: bottom;
}
div#cgit table.tabs td a {
padding: 2px 0.75em;
color: var(--dark-grey);
font-size: 110%;
}
div#cgit table.tabs td a.active {
color: var(--black);
background-color: var(--very-light-grey);
}
div#cgit table.tabs a[href^="http://"]:after, div#cgit table.tabs a[href^="https://"]:after {
content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfgAhcJDQY+gm2TAAAAHWlUWHRDb21tZW50AAAAAABDcmVhdGVkIHdpdGggR0lNUGQuZQcAAABbSURBVAhbY2BABs4MU4CwhYHBh2Erww4wrGFQZHjI8B8IgUIscJWyDHcggltQhI4zGDCcRwhChPggHIggP1QoAVmQkSETrGoHsiAEsACtBYN0oDAMbgU6EBcAAL2eHUt4XUU4AAAAAElFTkSuQmCC);
opacity: 0.5;
margin: 0 0 0 5px;
}
div#cgit table.tabs td.form {
text-align: right;
}
div#cgit table.tabs td.form form {
padding-bottom: 2px;
font-size: 90%;
white-space: nowrap;
}
div#cgit table.tabs td.form input,
div#cgit table.tabs td.form select {
font-size: 90%;
}
div#cgit div.path {
margin: 0px;
padding: 2px 2em;
color: var(--black);
background-color: var(--very-light-grey);
}
div#cgit div.content {
margin: 0px;
padding: 2em;
border-bottom: solid 3px var(--grey);
}
div#cgit table.list {
width: 100%;
border: none;
border-collapse: collapse;
}
div#cgit table.list tr.logheader,
div#cgit table.list tr:hover {
background: var(--very-light-grey);
}