Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 51 additions & 4 deletions templates/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,31 @@ header img {
margin-bottom: -.5em;
}

@media (max-width: 600px) {
header {
grid-template-columns: [logo] 3.5em [title] auto;
grid-gap: 1em;
margin: 0.5em 0 1.5em;
}
header h1 {
font-size: 2em;
}
}

@media (max-width: 400px) {
header {
grid-template-columns: 1fr;
text-align: center;
}
header h1 {
display: none;
}
header img {
width: 3.5em;
margin: 0 auto;
}
}

main h1 {
margin: 1em 0 0;

Expand Down Expand Up @@ -188,7 +213,7 @@ fieldset ol ol {
}
fieldset ol li:not(.checkbox, .radio) {
display: grid;
grid-template-columns: 10em auto;
grid-template-columns: minmax(10em, 1fr) minmax(200px, 2fr);
grid-gap: 1em;
align-items: center;
}
Expand All @@ -210,6 +235,20 @@ fieldset li p {
margin-top: .25em;
}

@media (max-width: 600px) {
fieldset ol {
padding: 0;
}
fieldset ol li:not(.checkbox, .radio) {
grid-template-columns: 1fr;
grid-gap: 0.5em;
}

fieldset ol li:not(.checkbox, .radio) label {
margin-bottom: 0.25em;
}
}

input {
border: 1px solid var(--solid-purple);
}
Expand Down Expand Up @@ -258,12 +297,20 @@ p.error:empty {
}

p.actions {
margin: .5em 0 1em 11em;
display: flex;
justify-content: center;
flex-wrap: wrap;
margin: .5em 0 1em 0;
}
p.actions > button {
margin: .5em .5em;
}

ul.actions {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
padding: 0;
margin: 0 0 1em 11em;
margin: 0 0 1em 0;
}
ul.actions > li {
list-style-type: none;
Expand Down
Loading