Clean up some styles and fix mobile rendering

This commit is contained in:
Gabe Kangas
2022-09-09 23:23:24 -07:00
parent 02de9cf6df
commit 20ea5d051f
8 changed files with 17 additions and 70 deletions

View File

@@ -11,8 +11,9 @@
padding: 0;
color: var(--theme-color-palette-0);
background-color: var(--theme-color-palette-4);
padding: calc(3 * var(--content-padding));
padding: calc(2 * var(--content-padding));
border-radius: var(--theme-rounded-corners);
width: clamp(300px, 80%, 900px);
// Allow the content to fill the width on narrow screens.
@media only screen and (max-width: 768px) {
@@ -28,4 +29,8 @@
div.summary {
font-size: 18px;
}
p {
margin: unset;
}
}