server 3 holy shit
This commit is contained in:
215
static/style.css
215
static/style.css
@@ -1,12 +1,209 @@
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
padding: 2rem;
|
||||
background-color: #f4f4f4;
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
form {
|
||||
background: #fff;
|
||||
padding: 1rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0,0,0,0.1);
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background: #f7f7f7;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* Header oben, volle Breite */
|
||||
header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background: #444;
|
||||
color: #fff;
|
||||
padding: 15px 30px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
font-size: 1.5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
.site-title:hover {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.user-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.logout {
|
||||
background: #e74c3c;
|
||||
color: white;
|
||||
padding: 6px 12px;
|
||||
border-radius: 6px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
transition: background 0.3s;
|
||||
}
|
||||
|
||||
.logout:hover {
|
||||
background: #c0392b;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.main-container {
|
||||
display: flex;
|
||||
margin: 30px;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.left {
|
||||
flex: 3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 25px;
|
||||
height: 86vh;
|
||||
}
|
||||
|
||||
.right {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
height: 86vh;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
/* Infozeile größer */
|
||||
.info {
|
||||
background: #ddd;
|
||||
height: 120px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 20px;
|
||||
border-radius: 6px;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
/* Großer Button */
|
||||
.action-button {
|
||||
background: #3498db;
|
||||
color: white;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
border-radius: 8px;
|
||||
font-weight: bold;
|
||||
font-size: 30px;
|
||||
cursor: pointer;
|
||||
transition: background 0.3s;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.action-button:hover {
|
||||
background: #2980b9;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Grid für 6 Buttons */
|
||||
.button-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 30px;
|
||||
max-height: 62vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.grid-button {
|
||||
flex: 1 1 calc(50% - 15px);
|
||||
background: #95a5a6;
|
||||
color: white;
|
||||
height: 23vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: background 0.3s;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.grid-button:hover {
|
||||
background: #7f8c8d;
|
||||
cursor: pointer;
|
||||
}
|
||||
/* Rahmen + Titel für den rechten Block */
|
||||
.stats-box {
|
||||
border: 2px solid #000;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
background: #f0f0f0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.stats-title {
|
||||
font-size: 1.3em;
|
||||
margin-bottom: 10px;
|
||||
font-weight: bold;
|
||||
color: #111;
|
||||
}
|
||||
|
||||
/* Rechte Seite mit klickbaren Feldern */
|
||||
|
||||
.clickable {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
background: #2ecc71;
|
||||
font-family: Arial, sans-serif;
|
||||
margin-bottom: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: rgb(0, 0, 0);
|
||||
flex: none;
|
||||
height: 25vh;
|
||||
transition: background 0.3s;
|
||||
}
|
||||
|
||||
|
||||
.clickable:hover {
|
||||
background: #27ae60;
|
||||
cursor: pointer;
|
||||
}
|
||||
.clickable .top-left-text {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 12px;
|
||||
font-size: 20px;
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
.clickable .center-number {
|
||||
font-size: 48px;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.grid-button .top-left-text {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 12px;
|
||||
font-size: 20px;
|
||||
color: #ff0000;
|
||||
}
|
||||
.grid-button .center-number {
|
||||
margin-top: 40px;
|
||||
width: 100%;
|
||||
height: 80%;
|
||||
font-size: 48px;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user