Files
website/public/css/style.css
2026-03-30 21:46:43 +02:00

297 lines
4.2 KiB
CSS

html, body {
margin: 0;
width: 100%;
min-height: 100vh;
background-color: #4b0600;
box-sizing: border-box;
display: flex;
flex-direction: column;
overflow-x: hidden;
}
select {
font-size: 1em;
padding: 0.5em;
}
*, *:before, *:after {
box-sizing: inherit;
}
.ticker {
background-color: #0c0;
height: 3vh;
min-height: 24px;
flex-shrink: 0;
align-content: center;
}
.header {
background-color: #999;
min-height: 20vh;
margin: 0;
display: flex;
flex-wrap: wrap;
flex-shrink: 0;
}
.header-main {
width: 200px;
height: 20vh;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
}
.banner {
flex-grow: 1;
height: 20vh;
display: flex;
justify-content: center;
align-items: center;
}
.banner img {
max-width: 100%;
height: auto;
display: block;
}
.language-area {
width: 200px;
height: 20vh;
background-color: #ccc;
padding: 10px;
flex-shrink: 0;
}
.language {
margin: 5px;
display: flex;
gap: 10px;
justify-content: center;
}
.language img {
cursor: pointer;
}
.login-status {
text-align: center;
font-size: 0.9em;
}
#logo {
max-width: 90%;
max-height: 18vh;
}
.main {
display: flex;
flex-direction: row;
margin: 0;
flex-grow: 1;
width: 100%;
}
.navbar {
background-color: #ccc;
width: 200px;
flex-shrink: 0;
}
.content {
background-color: #dcccaa;
flex-grow: 1;
padding: 15px;
}
.content-img {
width: 33%;
height: 150px;
display: block;
margin: auto;
}
.navbar ul {
list-style-type: none;
padding: 10px;
margin: 0;
}
.navbar li {
margin-bottom: 8px;
}
.navbar a {
text-decoration: none;
color: #333;
display: block;
padding: 5px;
text-align: center;
}
.navbar a:hover {
background-color: #bbb;
}
.navbar-no-hover-effect a:hover {
background-color: transparent;
}
@media (max-width: 1024px) {
.header {
flex-direction: column;
height: auto;
}
.header-main, .banner, .language-area {
width: 100%;
height: auto;
padding: 10px;
}
.main {
flex-direction: column;
}
.navbar {
width: 100%;
}
.navbar ul {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}
.content {
width: 100%;
}
#logo {
max-height: 100px;
}
.banner img {
max-width: 100%;
}
}
.eingabemaske {
border: 5px inset;
padding: 0.5em;
overflow-x: auto;
width: 100%;
}
@media (min-width: 1025px) {
.eingabemaske {
font-size: 1.2em;
}
}
@media (max-width: 1024px) {
.eingabemaske {
font-size: 0.9em;
}
.eingabemaske input, .eingabemaske select, .eingabemaske textarea, .eingabemaske button {
font-size: 0.9em;
padding: 0.2em;
}
}
.eingabemaske table {
width: 100%;
border-collapse: collapse;
}
.eingabemaske table, th, td {
border: 4px outset;
}
.eingabemaske th, .eingabemaske td {
padding: 0.3em;
}
.eingabemaske input {
font-size: 1em;
padding: 0.5em;
width: 100%;
}
.eingabemaske button {
padding: 1em;
border: 4px outset;
font-size: 1.2em;
background-color: #ccc;
}
#fehlermeldung {
border: 4px outset;
width: 100%;
max-width: 500px;
}
nav {
font-size: 1.2em;
}
.w-5 {
width: 5%;
}
.h-5 {
height: 5vh;
}
.footer {
width: 100%;
background-color: #999;
padding: 10px;
text-align: center;
flex-shrink: 0;
}
.split-left {
float: left;
width: 50%;
}
.split-right {
float: left;
width: 50%;
border-left: 1px dotted #000;
padding-left: 30px;
}
.content::after {
content: "";
display: table;
clear: both;
}
.apply-button {
font-size: 2.5em;
padding: 20px 40px;
border: 5px solid cyan;
border-radius: 10px;
cursor: pointer;
font-weight: bold;
animation: blink 2s infinite;
}
@keyframes blink {
0%, 100% {
background-color: white;
color: #4b0600;
}
50% {
background-color: cyan;
color: black;
}
}