More stylish input labels.

Smaller subtitle
This commit is contained in:
Sage Vaillancourt 2022-09-22 17:55:08 +00:00
parent 93ea97eaf8
commit 189270c9c2
1 changed files with 21 additions and 7 deletions

View File

@ -20,6 +20,27 @@ h1 {
user-select: none;
}
h2 {
font-size: 100%;
margin-top: 0;
margin-bottom: 1em;
}
label {
font-size: 100%;
font-weight: bold;
color: #eee;
background-color: #757575;
padding-top: 0.15em;
padding-bottom: 0.15em;
padding-left: 0.5em;
padding-right: 0.5em;
}
input, textarea {
font-family: sans;
}
/* Small screens */
@media only screen and (max-width: 1080px) {
body {
@ -29,13 +50,7 @@ h1 {
font-size: 300%;
}
h2 {
font-size: 200%;
line-height: 100%;
margin-top: 0;
margin-bottom: 0.5em;
}
label {
font-size: 150%;
}
input {
font-size: 200%;
@ -69,7 +84,6 @@ h1 {
input, textarea {
margin-bottom: 0.5em;
font-size: 105%;
font-family: sans;
}
dd {
margin-left: 0;