This repository has been archived on 2025-05-16. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
pi-race-timer/app/static/css/styles.css
2025-04-29 23:36:37 +02:00

102 lines
1.4 KiB
CSS

body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f7f7f7;
color: #333;
}
h1, h2, h3 {
color: #222;
}
form {
margin-bottom: 20px;
}
input, select, button {
padding: 8px;
margin: 5px;
font-size: 1em;
}
button {
border: none;
border-radius: 6px;
padding: 10px 20px;
cursor: pointer;
}
button.green {
background-color: #4CAF50;
color: white;
}
button.red {
background-color: #e53935;
color: white;
}
button.orange {
background-color: orange;
color: white;
}
.fahrer-eintrag {
margin: 5px 0;
}
.licht {
display: inline-block;
width: 80px;
height: 80px;
margin: 10px;
border-radius: 50%;
background-color: grey;
opacity: 0.4;
}
.licht.rot.aktiv {
background-color: red;
opacity: 1;
}
.licht.gruen {
background-color: green !important;
opacity: 1 !important;
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(10, 10, 10, 0.9);
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: white;
font-size: 2em;
}
.ampel-klein {
display: flex;
justify-content: center;
margin: 10px auto;
height: 100px;
}
.ergebnis {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.fahrerbox {
padding: 20px;
border-radius: 10px;
color: white;
flex: 1 1 200px;
}