lektion 03 angepasst
This commit is contained in:
1 parent
c60910e505
commit
1293a0f6a0
5 files changed
+247
-187
No files matched your search
@@ -0,0 +1,40 @@
|
||||
/* 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;
|
||||
}
|
||||
|
||||
.status {
|
||||
font-size: 1.4rem;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
.is-on { color: #16823b; }
|
||||
.is-off { color: #a32929; }
|
||||
|
||||
button {
|
||||
font-size: 1.2rem;
|
||||
padding: 0.8rem 1.5rem;
|
||||
margin: 0.4rem;
|
||||
border: 0;
|
||||
border-radius: 0.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.on { background: #b8e6c1; }
|
||||
.off { background: #f2c4c4; }
|
||||
button:hover { filter: brightness(0.95); }
|
||||
button:disabled { opacity: 0.6; cursor: wait; }
|
||||
|
||||
#message { min-height: 1.5em; }
|
||||
Reference in new issue
Block a user