Files

65 lines
1.1 KiB
CSS

/* Grundgestaltung der Webseite */
body {
font-family: sans-serif;
max-width: 600px;
margin: 3rem auto;
padding: 0 1rem;
text-align: center;
background: #f3f5f7;
color: #222;
}
main {
background: white;
padding: 2rem;
border-radius: 1rem;
}
section {
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid #ddd;
}
.status {
font-size: 1.4rem;
margin: 1.5rem 0;
}
.is-on { color: #16823b; }
.is-off { color: #a32929; }
button {
font-size: 1.1rem;
padding: 0.8rem 1.2rem;
margin: 0.4rem;
border: 0;
border-radius: 0.5rem;
cursor: pointer;
}
.on { background: #b8e6c1; }
.off { background: #f2c4c4; }
.morse { background: #c9dafa; }
button:hover { filter: brightness(0.95); }
button:disabled { opacity: 0.6; cursor: wait; }
label {
display: block;
margin: 1rem 0 0.5rem;
}
input[type="text"] {
box-sizing: border-box;
width: 100%;
max-width: 420px;
padding: 0.8rem;
font-size: 1.1rem;
border: 1px solid #aaa;
border-radius: 0.5rem;
}
input:disabled { background: #eee; }
.hint { font-size: 0.9rem; color: #555; }
#message { min-height: 1.5em; }