Add more keys

Fixes #36
Fixes #27
Fixes #22
This commit is contained in:
Unrud 2022-01-24 08:04:15 +01:00
parent 92a46e6637
commit d22dc0f4dd
18 changed files with 1628 additions and 55 deletions

View file

@ -94,7 +94,7 @@ button:focus {
}
}
#pad > button {
#pad > button, #keys > button {
position: absolute;
max-width: 50%;
max-height: 50%;
@ -132,12 +132,19 @@ textarea {
padding: 0 0.5rem;
}
#sendbutton {
#keyboard .buttons {
display: flex;
flex-direction: row;
}
#keyboard .buttons > button {
border-bottom: none;
border-right: none;
border-left: none;
width: auto;
height: 1.5em;
}
#keyboard .buttons > button:last-of-type {
flex-grow: 1;
border-right: none;
}
@media (min-aspect-ratio: 4/3) {
@ -145,11 +152,18 @@ textarea {
flex-direction: row;
}
#sendbutton {
#keyboard .buttons {
flex-direction: column;
}
#keyboard .buttons > button {
border-top: none;
border-right: none;
border-left: 1px solid black;
width: 2em;
height: auto;
}
#keyboard .buttons > button:last-of-type {
border-top: 1px solid black;
}
}
@ -159,6 +173,13 @@ textarea {
justify-content: flex-end;
}
#switchbutton {
right: 0;
top: 0;
border-top: none;
border-right: none;
}
#keys .buttons {
display: flex;
justify-content: center;
@ -178,3 +199,8 @@ textarea {
width: 8rem;
min-width: 0;
}
#keys .buttons > button:disabled {
border-top: none;
border-bottom: none;
}