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

391 lines
8.3 KiB
CSS
Raw Normal View History

2020-02-24 22:17:57 +01:00
.container{
2021-09-07 07:47:48 +02:00
display: grid;
grid-template-rows: 100px;
grid-template-columns: 1fr 3fr 1fr;
grid-gap: 10px;
grid-auto-rows: minmax(100px, auto);
padding: 25px 25px;
2020-02-24 22:17:57 +01:00
}
2020-02-24 23:10:29 +01:00
.beige {
2021-09-07 07:47:48 +02:00
color: %COLOR_BEIGE%;
2020-02-24 23:15:45 +01:00
}
.orange {
2021-09-07 07:47:48 +02:00
color: %COLOR_ORANGE%;
2020-02-24 23:10:29 +01:00
}
.blue {
2021-09-07 07:47:48 +02:00
color: %COLOR_BLUE%;
2020-02-24 23:10:29 +01:00
}
.pink {
2021-09-07 07:47:48 +02:00
color: %COLOR_PINK%;
2020-02-24 23:10:29 +01:00
}
.cyan {
2021-09-07 07:47:48 +02:00
color: %COLOR_CYAN%;
2020-02-24 23:10:29 +01:00
}
2020-02-24 23:15:45 +01:00
.beige-b {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_BEIGE%;
2020-02-24 23:15:45 +01:00
}
.orange-b {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_ORANGE%;
2020-02-24 23:15:45 +01:00
}
.blue-b {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_BLUE%;
2020-02-24 23:15:45 +01:00
}
.pink-b {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_PINK%;
2020-02-24 23:15:45 +01:00
}
.cyan-b {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_CYAN%;
2020-02-24 23:15:45 +01:00
}
2020-02-24 22:17:57 +01:00
div {
2021-09-07 07:47:48 +02:00
overflow: hidden;
text-overflow: clip;
2020-02-24 22:17:57 +01:00
}
div.item-1 {
2021-09-07 07:47:48 +02:00
grid-column: 2 / 3;
grid-row: 1;
2020-02-24 22:17:57 +01:00
}
div.item-2 {
2021-09-07 07:47:48 +02:00
grid-column: 2 / 3;
grid-row: 2;
2020-02-24 22:17:57 +01:00
}
div.item-3 {
2021-09-07 07:47:48 +02:00
grid-column: 2 / 3;
grid-row: 3;
2020-02-24 22:17:57 +01:00
}
div.item-4 {
2021-09-07 07:47:48 +02:00
grid-column: 2 / 3;
grid-row: 4;
2020-02-24 22:17:57 +01:00
}
2020-03-08 04:15:01 +01:00
div.margin {
2021-09-07 07:47:48 +02:00
margin-top: 0px;
margin-bottom: 24px;
margin-left: 16px;
margin-right: 16px;
2020-03-08 04:15:01 +01:00
}
2020-03-08 05:05:41 +01:00
div.postcontent {
2021-09-07 07:47:48 +02:00
padding: 40px 0px 0px 0px;
2020-03-08 05:05:41 +01:00
}
2020-03-09 11:49:51 +01:00
div.banner {
2021-09-07 07:47:48 +02:00
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: %COLOR_BLUE%;
2020-03-09 11:49:51 +01:00
}
2020-02-24 22:17:57 +01:00
body {
margin: 0px;
2020-03-13 23:13:22 +01:00
background-color: %COLOR_BEIGE%;
color: %COLOR_BLUE%;
2021-09-07 07:47:48 +02:00
font-size: 1em;
2020-02-24 22:17:57 +01:00
}
p {
2021-09-07 07:47:48 +02:00
font-family: monospace;
color: %COLOR_BLUE%;
2020-02-24 22:17:57 +01:00
}
a {
2021-09-07 07:47:48 +02:00
font-family: monospace;
color: %COLOR_BLUE%;
2020-02-24 22:17:57 +01:00
}
i {
2021-09-07 07:47:48 +02:00
font-family: monospace;
color: %COLOR_BLUE%;
2020-02-24 22:17:57 +01:00
}
li {
2021-09-07 07:47:48 +02:00
font-family: monospace;
color: %COLOR_BLUE%;
2020-02-24 22:17:57 +01:00
}
input {
2021-09-07 07:47:48 +02:00
font-family: monospace;
width: 100%;
border-radius: 4px;
padding: 14px 20px;
margin: 8px 0;
background-color: %COLOR_BEIGE%;
2020-02-24 22:17:57 +01:00
}
input[type=text], select {
2021-09-07 07:47:48 +02:00
color: %COLOR_BLUE%;
display: inline-block;
border: 1px solid %COLOR_BLUE%;
box-sizing: border-box;
box-shadow: inset 0px 8px 16px 0px rgba(0,0,0,0.2);
2020-02-24 22:17:57 +01:00
}
input[type=password], select {
2021-09-07 07:47:48 +02:00
color: %COLOR_BLUE%;
display: inline-block;
border: 1px solid %COLOR_BLUE%;
box-sizing: border-box;
box-shadow: inset 0px 8px 16px 0px rgba(0,0,0,0.2);
2020-02-24 22:17:57 +01:00
}
input[type=submit] {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_BLUE%;
color: %COLOR_BEIGE%;
border: none;
cursor: pointer;
2020-02-24 22:17:57 +01:00
}
input[type=submit]:hover {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_CYAN%;
2020-02-24 22:17:57 +01:00
}
2020-03-09 03:32:18 +01:00
textarea {
2021-09-07 07:47:48 +02:00
font-family: monospace;
width: 100%;
border-radius: 4px;
padding: 14px 20px;
margin: 8px 0;
background-color: %COLOR_BEIGE%;
color: %COLOR_BLUE%;
display: inline-block;
border: 1px solid %COLOR_BLUE%;
box-sizing: border-box;
box-shadow: inset 0px 8px 16px 0px rgba(0,0,0,0.2);
}
2020-02-24 22:17:57 +01:00
button {
2021-09-07 07:47:48 +02:00
font-family: monospace;
background-color: %COLOR_BLUE%;
color: white;
padding: 14px 20px;
margin: 8px 0;
width: 100%;
border: none;
border-radius: 4px;
cursor: pointer;
2020-02-24 22:17:57 +01:00
}
2020-02-24 21:26:22 +01:00
button:hover {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_CYAN%;
2020-02-24 21:26:22 +01:00
}
2020-02-24 22:17:57 +01:00
h1, h2, h3, h4, h5, h6 {
2021-09-07 07:47:48 +02:00
font-family: monospace;
color: %COLOR_BLUE%;
2020-02-24 22:17:57 +01:00
}
2020-03-08 04:44:37 +01:00
time {
2021-09-07 07:47:48 +02:00
font-family: monospace;
color: %COLOR_BEIGE%;
float: right;
2020-03-08 04:47:43 +01:00
}
div.right {
2021-09-07 07:47:48 +02:00
float: right;
2020-03-08 04:44:37 +01:00
}
div.round-border {
2021-09-07 07:47:48 +02:00
border: 1px solid %COLOR_BLUE%;
padding: 14px 20px;
margin: 8px 0;
border-radius: 5px;
}
2020-02-24 05:01:44 +01:00
img {
2021-09-07 07:47:48 +02:00
max-width: 100%;
2020-02-24 05:01:44 +01:00
}
img.available_space {
2021-09-07 07:47:48 +02:00
object-fit: contain;
2020-02-24 05:01:44 +01:00
}
2020-02-17 05:50:49 +01:00
div.image_container {
2021-09-07 07:47:48 +02:00
border: 1px solid %COLOR_BLUE%;
padding: 0.5em 0.5em;
background-color: #f0f0f0;
border-radius: 5px;
2020-02-17 05:50:49 +01:00
}
2020-02-17 05:58:33 +01:00
p.image_container {
2021-09-07 07:47:48 +02:00
font-size: 0.8em;
2020-02-17 05:58:33 +01:00
}
2020-02-17 09:03:22 +01:00
ul.topnav {
2021-09-07 07:47:48 +02:00
list-style-type: none;
margin: 0;
padding: 0;
position: fixed;
left: 0;
top: 0;
width: 100%;
overflow: hidden;
background-color: %COLOR_BLUE%;
box-shadow: 0 0.7em 1.2em 0 rgba(0,0,0,0.2);
2020-02-17 09:03:22 +01:00
}
2021-09-07 07:47:48 +02:00
ul.topnav li {
float: left;
}
2020-02-17 09:03:22 +01:00
ul.topnav li a {
2021-09-07 07:47:48 +02:00
display: block;
text-align: center;
color: %COLOR_BEIGE%;
font-family: monospace;
font-size: 1em;
padding: 1.2em 1.3em;
text-decoration: none;
2020-02-17 09:03:22 +01:00
}
ul.topnav li a:hover:not(.active) {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_CYAN%;
}
2020-02-17 09:03:22 +01:00
ul.topnav li a.active {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_PINK%;
}
2020-02-17 09:03:22 +01:00
ul.topnav li.right {
2021-09-07 07:47:48 +02:00
float: right;
}
2020-02-17 09:03:22 +01:00
2020-02-23 18:18:01 +01:00
/*@media screen and (max-width: 600px) {
2020-03-10 20:02:33 +01:00
ul.topnav li.right,
2020-02-17 09:03:22 +01:00
ul.topnav li {float: none;}
2020-02-23 18:18:01 +01:00
}*/
2020-02-17 09:03:22 +01:00
2020-03-10 20:02:33 +01:00
ul.topnav img {
2021-09-07 07:47:48 +02:00
height: 2.55em;
2020-03-10 20:14:57 +01:00
}
ul.topnav li a.icon {
2021-09-07 07:47:48 +02:00
display: block;
text-align: center;
color: %COLOR_BEIGE%;
font-family: monospace;
font-size: 1em;
text-decoration: none;
padding: 5.4px 9px;
2020-03-10 20:02:33 +01:00
}
/* invisible spacer under nav bar */
div.topnav {
2021-09-07 07:47:48 +02:00
height: 3em;
}
2020-02-21 10:43:26 +01:00
ul.list {
2021-09-07 07:47:48 +02:00
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: %COLOR_BLUE%;
2020-02-21 10:41:57 +01:00
}
2020-03-02 08:31:24 +01:00
ul.list li {
2021-09-07 07:47:48 +02:00
float: left;
2020-03-02 08:35:16 +01:00
}
ul.list li a {
2021-09-07 07:47:48 +02:00
display: block;
text-align: center;
color: %COLOR_BEIGE%;
font-family: monospace;
font-size: 1em;
padding: 14px 16px;
text-decoration: none;
2020-03-02 08:35:16 +01:00
}
ul.list li a:hover:not(.active) {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_CYAN%;
2020-03-02 08:35:16 +01:00
}
ul.list li a.active {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_PINK%;
2020-02-21 10:39:12 +01:00
}
2020-02-24 08:11:46 +01:00
.dropdown-content {
2021-09-07 07:47:48 +02:00
display: none;
position: fixed;
background-color: %COLOR_BLUE%;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
2020-02-19 10:35:43 +01:00
}
.dropdown:hover .dropdown-content {
2021-09-07 07:47:48 +02:00
display: block;
2020-02-19 10:35:43 +01:00
}
.dropdown {
2021-09-07 07:47:48 +02:00
float: left;
overflow: hidden;
2020-02-19 10:35:43 +01:00
}
.dropdown .dropbtn {
2021-09-07 07:47:48 +02:00
font-size: 1em;
border: none;
outline: none;
color: %COLOR_BEIGE%;
padding: 1.2em 1.3em;
background-color: inherit;
font-family: inherit;
margin: 0;
2020-02-24 08:11:46 +01:00
}
2020-02-24 08:18:57 +01:00
div.dropdown {
2021-09-07 07:47:48 +02:00
color: %COLOR_BEIGE%;
text-align: center;
font-family: monospace;
font-size: 1em;
text-decoration: none;
2020-02-24 08:30:10 +01:00
}
.dropdown:hover:not(.active) {
2021-09-07 07:47:48 +02:00
background-color: %COLOR_CYAN%;
2020-02-24 21:10:54 +01:00
}
2020-03-08 03:48:25 +01:00
section {
2021-09-07 07:47:48 +02:00
margin-top: 0px;
margin-bottom: 24px;
margin-left: 16px;
margin-right: 16px;
border-radius: 5px;
border: 1px solid %COLOR_BLUE%;
background-color: %COLOR_ORANGE%;
padding: 14px 20px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
2020-03-08 03:48:25 +01:00
}
article {
2021-09-07 07:47:48 +02:00
border-radius: 5px;
border: 1px solid %COLOR_BLUE%;
background-color: %COLOR_BEIGE%;
padding: 14px 20px;
box-shadow: inset 0px 8px 16px 0px rgba(0,0,0,0.2);
overflow: hidden;
2020-03-08 04:20:27 +01:00
}
header {
2021-09-07 07:47:48 +02:00
border-radius: 0px;
border: none;
background-color: %COLOR_BLUE%;
color: %COLOR_BEIGE%;
margin: -40px;
padding: 40px 40px 10px 40px;
box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
2020-03-08 04:20:27 +01:00
}