This repository has been archived on 2021-11-29. You can view files and clone it, but cannot push or open issues or pull requests.
simple-gitv/themes/light.css

134 lines
2.2 KiB
CSS

/*
light theme - a light theme for simple-gitv
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
/* color scheme */
:root {
--primary-color: #000000;
--secondary-color: #666666;
--background-color: #FFFFFF;
}
/* general purpose */
body {
color: var(--primary-color);
background: var(--background-color);
font-family: monospace, monospace;
overflow-wrap: break-word;
word-wrap: break-word;
}
a {
color: var(--secondary-color);
}
p.small {
font-size: small;
}
td,th {
border:1px solid var(--secondary-color);
padding: 2px;
}
code {
color: var(--background-color);
background: var(--secondary-color);
padding-bottom: 6px;
padding-left: 12px;
padding-right: 12px;
padding-top: 6px;
line-height: 2;
}
pre {
font-size: 125%;
white-space: pre-wrap;
}
hr {
color: var(--secondary-color);
}
img {
height: auto;
width: auto;
max-width: 100%;
}
/* menu */
#menu {
display: block;
clear: none;
}
#menu ul {
margin: 0;
overflow: auto;
padding: 0;
}
#menu li {
display: block;
float: left;
white-space: nowrap;
}
#menu li a {
display: block;
padding: 5px 20px 5px 20px;
text-decoration: none;
color: var(--secondary-color);
}
#menu li a:hover {
color: var(--background-color);
background: var(--secondary-color);
}
#menu li a.current {
font-weight: bold;
color: var(--primary-color);
}
#menu li a.current:hover {
color: var(--background-color);
background: var(--primary-color);
}
tr.dir {
color: var(--background-color);
background: var(--secondary-color);
border:1px solid var(--background-color);
}
tr a {
text-decoration: none;
font-weight: bold;
}
tr.dir a {
color: var(--background-color);
}
tr.file {
color: var(--primary-color);
background: var(--background-color);
border: 1px solid var(--secondary-color);
}
.box {
border: 1px solid var(--secondary-color);
padding: 2.5% 5% 2.5% 5%;
}
p.footnote {
font-size: 85%;
}