fedhub/static/main.css
2020-04-21 20:57:25 -05:00

100 lines
No EOL
1.7 KiB
CSS

:root {
--background-color: #15202B;
--text-color: #D4D4D4;
--link-color: lightskyblue;
--sans-font: "Helvetica", "Arial", "Liberation Sans", sans-serif;
--mono-font: "Roboto Mono", "Roboto Mono for Powerline", "Inconsolata", "Consolas", monospace;
}
body {
max-width: 850px;
margin: auto;
min-height: 100%;
padding-bottom: 20px;
font-family: var(--sans-font);
background-color: var(--background-color);
color: var(--text-color);
}
header {
margin: auto 12px;
}
header #header {
border-bottom: 2px solid var(--link-color);
box-sizing: border-box;
padding: 20px;
margin-bottom: 12px;
}
header #header #title {
font-size: 2em;
color: var(--text-color);
}
header #header #title:hover {
text-decoration: none;
}
a {
color: var(--link-color);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.file-list {
margin-bottom: 24px;
width: 100%;
}
.file-list td {
padding: 3px 4px;
}
table.striped tr:nth-child(even) {
background-color: rgba(255, 255, 255, 0.05);
}
.blob-contents {
background-color: rgba(0, 0, 0, 0.1);
width: 100%;
overflow-x: auto;
font-family: var(--mono-font);
display: flex;
}
.blob-contents .left {
margin-right: 8px;
text-align: right;
line-height: 20px;
background-color: rgba(0, 0, 0, 0.1);
}
.blob-contents .left ul {
display: block;
list-style-type: none;
margin-top: 0;
padding-left: 0;
}
.blob-contents .left ul .line {
padding: 0 4px;
display: block;
}
.blob-contents .right pre {
line-height: 20px;
margin-top: 0;
}
.readme {
border-top: 1px dotted var(--link-color);
}
.right-justified {
text-align: right;
}