
:root {
  --bg: #ffffff;
  --text: #000000;
  --accent: #641212;        /* links */
  --accent-hover: #c40f0f;
  --border: #e0c080;        
  --muted: #333333;
  --tint: #ffe4b7;          
  --row-a: #fffbed;         
  --row-b: #ffeecc;         
  --sans: sans-serif;
  --serif: sans-serif;      
  }

div#cgit {
  max-width: none;
  margin: 0 0 0 160px;
  padding: 10px 1% 0 1%;
}

div#cgit a              { text-decoration: underline; }
div#cgit a:hover        { color: var(--accent-hover); text-decoration: none; }
div#cgit a:active       { color: #ff0000; }
div#cgit table.list td a       { color: var(--accent); }
div#cgit table.list td a:hover { color: var(--accent-hover); }

div#cgit table#header td.main { font-weight: bold; font-size: 1.5em; letter-spacing: 0; }
div#cgit table.list td.reposection {
  font-weight: bold; text-indent: 1em;
  border-bottom: thin solid var(--border);
}

div#cgit table.list tr:nth-child(odd)  { background: var(--row-a); }
div#cgit table.list tr:nth-child(even) { background: var(--row-b); }
div#cgit table.list tr.nohover-highlight:hover:nth-child(odd)  { background: var(--row-a); }
div#cgit table.list tr.nohover-highlight:hover:nth-child(even) { background: var(--row-b); }
div#cgit table.list tr:hover { background: var(--tint); }
div#cgit table.list tr.logheader { background: var(--tint); }
div#cgit table.list td { border-bottom: thin dotted var(--border); }
div#cgit table.list th { border-bottom: thin solid var(--border); }

div.sv-menu {
  position: fixed; top: 0; bottom: 0; left: 0;
  width: 150px; padding: 5px; overflow: auto;
  background: var(--tint);
  font-family: var(--sans);
}
div.sv-menu ul { margin: 0; padding: 0; }
div.sv-menu li {
  list-style: none; font-weight: bold; color: var(--muted);
  border-bottom: thin dotted var(--border);
}

div#cgit div.footer {
  clear: both; margin-top: 2rem; padding: 4px;
  text-align: center; font-size: x-small;
  color: var(--muted); background: var(--tint);
  border: solid var(--border);
}

@media (max-width: 700px) {
  div#cgit { margin-left: 0; }
  div.sv-menu { position: static; width: auto; }
}
