lektion 03 erwitert - morse code senden
This commit is contained in:
1 parent
f449d2e797
commit
93917f637d
6 files changed
+292
-73
No files matched your search
@@ -15,6 +15,12 @@ main {
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-top: 2rem;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.status {
|
||||
font-size: 1.4rem;
|
||||
margin: 1.5rem 0;
|
||||
@@ -24,8 +30,8 @@ main {
|
||||
.is-off { color: #a32929; }
|
||||
|
||||
button {
|
||||
font-size: 1.2rem;
|
||||
padding: 0.8rem 1.5rem;
|
||||
font-size: 1.1rem;
|
||||
padding: 0.8rem 1.2rem;
|
||||
margin: 0.4rem;
|
||||
border: 0;
|
||||
border-radius: 0.5rem;
|
||||
@@ -34,7 +40,25 @@ button {
|
||||
|
||||
.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; }
|
||||
Reference in new issue
Block a user