Add some padding and update colors

This commit is contained in:
2023-10-31 19:26:01 +01:00
parent c3f220b5ca
commit 054190a958

View File

@@ -38,6 +38,7 @@ button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
margin: 0.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
@@ -53,29 +54,20 @@ button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button, #light {
background-color: #f9f9f9;
}
}
#output {
display: flex;
align-items: center;
margin-bottom: .4em;
}
#display {
flex-grow: 1;
text-align: left;
padding: 0.5em 1.2em;
}
#light {
width: 24px;
height: 24px;
width: 2.5em;
height: 2.5em;
border-radius: 50%;
background-color: #1a1a1a;
}
@@ -97,3 +89,16 @@ button:focus-visible {
#keypad > button:last-child {
grid-column: 3;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button, #light {
background-color: #eeeeee;
}
}