threadr.lostcave.ddnss.de/threadr/style.css

330 lines
5.2 KiB
CSS

.container{
display: grid;
grid-template-rows: 100px;
grid-template-columns: 1fr 3fr 1fr;
grid-gap: 10px;
grid-auto-rows: minmax(100px, auto);
padding: 10px;
}
div {
overflow: hidden;
text-overflow: clip;
}
div.item-1 {
grid-column: 2 / 3;
grid-row: 1;
}
div.item-2 {
grid-column: 2 / 3;
grid-row: 2;
}
div.item-3 {
grid-column: 2 / 3;
grid-row: 3;
}
div.item-4 {
grid-column: 2 / 3;
grid-row: 4;
}
body {
font-size: 1em;
}
p {
font-family: monospace;
color: #001858;
}
a {
font-family: monospace;
color: #001858;
}
i {
font-family: monospace;
color: #001858;
}
li {
font-family: monospace;
color: #001858;
}
input {
font-family: monospace;
width: 100%;
border-radius: 4px;
padding: 14px 20px;
margin: 8px 0;
}
input[type=text], select {
color: #8bd3dd;
display: inline-block;
border: 1px solid #001858;
box-sizing: border-box;
}
input[type=password], select {
color: #8bd3dd;
display: inline-block;
border: 1px solid #001858;
box-sizing: border-box;
}
input[type=submit] {
background-color: #001858;
color: #fef6e4;
border: none;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #8bd3dd;
}
button {
font-family: monospace;
width: 100%;
background-color: #001858;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #8bd3dd;
}
h1, h2, h3, h4, h5, h6 {
font-family: monospace;
color: #001858;
}
div.round-border {
border: 1px solid #001858;
padding: 20px;
margin: 8px 0;
border-radius: 5px;
}
img {
max-width: 100%;
}
img.available_space {
object-fit: contain;
}
div.image_container {
border: 1px solid #001858;
padding: 0.5em 0.5em;
background-color: #001858;
border-radius: 5px;
}
p.image_container {
font-size: 0.8em;
}
body {
margin: 0px;
background-color: #fef6e4;
color: #001858;
}
body.status_page {
background-color: #B6BDBD;
color: #000000;
}
/* code blocks */
pre {
margin-left: 20px;
margin-right: 20px;
margin-top: 0px;
background-color: white;
border-style: solid;
border-color: #888A85;
border-width: 1px;
font-size: 11pt;
font-family: monospace;
}
pre.commandLine {
background-color: #2E3436;
color: #C3F097;
}
/* in-line code block */
span.codeBlockInText{
background-color: white;
border-color: black;
border-style: solid;
border-width: 1px;
font-size: 11pt;
font-family: monospace;
padding-left: 5px;
padding-right: 5px;
}
/* code highlighting */
span.structure {
color: #FCAF3E;
font-weight: bold;
}
span.primitive {
color: #729FCF;
font-weight: bold;
}
span.className {
color: #8AE234;
font-weight: bold;
}
span.type {
color: #729FCF;
}
span.value {
color: #C17D11;
}
span.function {
color: #75507B;
}
span.name {
color: #8AE234;
}
span.comment {
color: #888A85;
}
ul.topnav {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #001858;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
/*.topnav a:hover, .dropdown:hover .dropbtn {
background-color: #8bd3dd;
}*/
ul.topnav li {float: left;}
ul.topnav li a {
display: block;
text-align: center;
color: #fef6e4;
font-family: monospace;
font-size: 1em;
padding: 14px 16px;
text-decoration: none;
}
ul.topnav li a:hover:not(.active) {
background-color: #8bd3dd;
}
ul.topnav li a.active {
background-color: #f582ae;
}
ul.topnav li.right {
float: right;
}
/*@media screen and (max-width: 600px) {
ul.topnav li.right,
ul.topnav li {float: none;}
}*/
ul.list {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #001858;
}
ul.list li {float: none;}
ul.list li p {
display: block;
text-align: left;
color: #fef6e4;
font-family: monospace;
font-size: 1em;
padding: 14px 16px;
text-decoration: none;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #001858;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
float: none;
color: #fef6e4;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {
background-color: #8bd3dd;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown {
float: left;
overflow: hidden;
}
.dropdown .dropbtn {
font-size: 1em;
border: none;
outline: none;
color: #fef6e4;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}
div.dropdown {
color: #fef6e4;
text-align: center;
font-family: monospace;
font-size: 1em;
text-decoration: none;
}
.dropdown:hover:not(.active) {
background-color: #8bd3dd;
}
div.form {
border-radius: 5px;
border: 1px solid #001858;
background-color: #f3d2c1;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 20px;
}