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

119 lines
2.4 KiB
CSS
Raw Normal View History

/* optimized for desktop users */
@media only screen and (min-width: 721px) {
2020-02-12 04:51:19 +01:00
.container{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 100px;
grid-template-columns: 1fr 1fr 1fr;
grid-auto-rows: minmax(100px, auto);
}
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;
}
}
/* optimized for mobile users */
@media only screen and (max-width: 720px) {
2020-02-12 04:51:19 +01:00
.container{
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-template-rows: 100px;
grid-template-columns: 1fr;
grid-auto-rows: minmax(100px, auto);
}
div.item-1 {
grid-column: 1 / 1;
grid-row: 1;
}
div.item-2 {
grid-column: 1 / 1;
grid-row: 2;
}
div.item-3 {
grid-column: 1 / 1;
grid-row: 3;
}
}
div.round-border {
2020-02-12 04:51:19 +01:00
border: 1px solid;
padding: 0.01em 16px;
border-radius: 16px;
}
body {
background-color: #FEFFEF;
color: #000000;
}
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;
}
2020-02-12 04:51:19 +01:00
/* 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;
}