wah.moe/public/css/master.css
2023-07-29 18:10:50 +01:00

442 lines
6.2 KiB
CSS

body {
font-family: sans-serif;
margin: 0px;
color: #ddd;
background-color: #333;
}
html {
color-scheme: dark;
}
ul {
list-style-type: square;
}
table.banner {
margin-left: auto;
margin-right: auto;
border: 2px solid #e04a38;
background-color: #e6897e;
width: 95%;
/* Passes both WCAG AD and WCAG AAA contrast tests */
color: #0f0f0f;
}
table.banner td {
padding: 5px;
}
table.banner td a {
color: #0f0f0f;
}
table.banner td a:hover {
text-decoration: underline;
}
div.page {
min-width: 780px;
max-width: 800px;
padding-left: 0.5em;
padding-right: 0.5em;
margin: auto;
}
h1.inline {
margin-top: 0em;
clear: none;
display: inline;
}
h1,
h2,
h3 {
margin-top: 1em;
clear: left;
color: #ffffff;
}
img {
border: none;
max-width: 100%;
}
img.right {
float: right;
margin-left: 0.5em;
}
table.form td {
border: none;
}
/* -------------------------------------------------------------------------- */
div.preview {
display: inline-block;
width: 30em;
max-width: 100%;
text-align: center;
vertical-align: top;
margin-bottom: 2em;
}
div.project {
display: inline-block;
width: 40em;
max-width: 100%;
text-align: center;
vertical-align: top;
margin-bottom: 2em;
}
div.preview .heading .name,
div.project .heading .name {
font-size: 120%;
}
div.preview img,
div.project img {
width: auto;
max-width: 90%;
max-height: 15em;
}
div.preview pre.small,
div.project pre.small {
font-size: 75%;
overflow: hidden;
}
div.codeblock pre {
background-color: #222;
border: 2px solid #FFF;
padding: 10px;
color: #ccc;
display: inline-block;
text-align: left;
max-width: 90%;
min-width: 400px;
}
div.codeblock pre h1,
div.codeblock pre hr {
margin: 0px
}
div.codeblock pre h1 small {
color: #919191;
font-size: 12px;
}
div.codeblock pre hr {
margin-bottom: 5px;
}
div.codeblock pre code {
background-color: #222;
}
div.project pre {
border: 1px solid #666666;
}
pre {
display: inline;
max-width: 95%;
overflow: auto;
}
.header a {
text-decoration: none;
}
nav {
margin-bottom: 0.3em;
text-align: left;
}
nav div a img {
width: 32px;
}
nav div h1 {
font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue,
sans-serif;
font-weight: normal;
font-size: 30px;
margin: 10px;
margin-left: 0px;
}
div.date {
text-align: center;
}
div.note {
font-style: italic;
}
table {
border-collapse: collapse;
border-color: #ffffff;
}
table.noborder td {
border: none;
}
table.skami a {
text-decoration: none;
}
table.weather th {
font-weight: normal;
}
table.weather td {
font-weight: bold;
text-align: right;
}
.project .name {
font-weight: bold;
}
.toplinks a {
margin-right: 0.5em;
text-decoration: none;
}
div.inlinepage {
margin-top: 2em;
border: 0;
padding: 0;
}
div.pheader {
font-size: 120%;
}
div.pheader span.date {
margin-right: 1em;
font-weight: normal;
}
div.pheader a {
font-weight: bold;
text-decoration: none;
}
div.rss {
position: absolute;
top: 1em;
right: 1em;
}
div.archived {
margin-top: 0.5em;
}
div.archived span.date {
font-style: italic;
margin-right: 0.2em;
}
video {
max-width: 100%;
}
.toplinks span {
display: block;
text-align: right;
float: left;
width: 8em;
margin-right: 0.5em;
}
.deprecated {
line-height: 140%;
width: 100%;
color: #aa0000;
text-align: center;
padding-bottom: 0.5em;
border-bottom: 2px dashed #aa0000;
}
.project .attributes {
font-style: italic;
}
.project .attribbracket {
margin-left: 0.5em;
}
.toplinks {
line-height: 140%;
width: 100%;
padding-top: 0.5em;
padding-bottom: 0.5em;
border-bottom: 1px solid #cccccc;
}
table td {
border: 1px solid white;
}
td {
padding: 0px;
vertical-align: top;
}
table.skami {
border-color: #eeeeee !important;
}
.header .pagetree {
font-size: 80%;
display: block;
text-align: center;
width: 100%;
padding-top: 0.1em;
padding-bottom: 0.1em;
border-top: 1px solid #cccccc;
color: #ffffff;
}
.header .pagetree .title {
color: #fff;
}
.header {
font-size: 100%;
font-weight: normal;
padding-bottom: 0em;
text-align: center;
color: #ffffff;
}
h1 {
font-size: 150%;
}
h2 {
font-size: 130%;
}
h3 {
font-size: 115%;
}
table.computers {
width: 100%;
}
td.computer {
width: 50%;
border: 0px;
}
div.footer {
text-align: center;
margin-bottom: 5px;
}
table.commits tr td {
border: none;
padding-right: 5px;
}
a {
color: #99f;
text-decoration: none;
}
table.gb_entryform tr td {
border: none;
}
table.gb_entryform tr td label {
padding-right: 5px;
}
table.gb_entryform tr td span.text-danger {
padding-left: 5px;
color: rgb(255, 114, 114);
}
table.gb_entryform tr td textarea,
table.gb_entryform tr td input {
margin-bottom: 5px;
}
table.gb_entryform_container {
width: 100%;
}
table.gb_entryform_container tr td {
border: none;
vertical-align: top;
}
table.gb_entryform_container tr td p,
table.gb_entryform_container tr td ul {
margin: 0px;
}
table.gb_entryform tbody tr td textarea {
width: 210px;
}
table.gb_entry tr td {
border: solid #ffffff 1px;
width: 500px;
vertical-align: top;
padding: 5px;
}
table.gb_entry {
margin-bottom: 5px;
}
table.gb_admin {
margin-bottom: 5px;
width: 500px;
border: #ffffff solid;
}
table.gb_admin tr td {
border-right: none;
border-bottom: none;
vertical-align: top;
padding: 5px;
}
table.gb_admin tr td.gb_del {
border-left: none;
vertical-align: top;
padding: 5px;
width: 32px;
}
table.gb_admin tr td.gb_message {
border-top: none;
vertical-align: top;
padding: 5px;
}
table.infotable tr td {
border: none;
padding-right: 5px;
vertical-align: bottom;
}
table.infotable tr td h1,
table.infotable tr td h2,
table.infotable tr td small {
margin: 0px;
}
table.infotable tr td small {
margin-bottom: 5px;
}