Shrink the page's title to a minimum

This commit is contained in:
Tom Willemse 2023-07-24 16:12:22 -07:00
parent 9249b99292
commit 907325c755
4 changed files with 3 additions and 21 deletions

View file

@ -150,7 +150,6 @@ a.button {
padding: 0; padding: 0;
form { form {
&:extend(.header-block);
text-align: right; text-align: right;
padding: 0 1rem; padding: 0 1rem;
} }

View file

@ -2,7 +2,7 @@
html { html {
max-width: 70ch; max-width: 70ch;
padding: 3em 1em; padding: 0.2em 1em;
margin: auto; margin: auto;
line-height: 1.75; line-height: 1.75;
font-size: 1.25em; font-size: 1.25em;
@ -43,6 +43,7 @@ blockquote {
body { body {
border: 0; border: 0;
font-family: "PT Sans", "Liberation Sans", "DejaVu Sans", "Tahoma", "Verdana", "Arial", sans-serif; font-family: "PT Sans", "Liberation Sans", "DejaVu Sans", "Tahoma", "Verdana", "Arial", sans-serif;
margin-top: 0;
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
background-color: @dark-background; background-color: @dark-background;

View file

@ -78,25 +78,8 @@ pre.src {
} }
} }
.header-block {
box-sizing: border-box;
@media (prefers-color-scheme: dark) {
color: @dark-primary;
background-color: @dark-background-highlight;
}
@media (prefers-color-scheme: light) {
color: @light-primary;
background-color: @light-background-highlight;
}
}
.title-header { .title-header {
&:extend(.header-block);
padding: 20px;
text-align: center; text-align: center;
margin: 0; margin: 0;
font-size: 2.5rem; font-size: 1rem;
} }

View file

@ -24,7 +24,6 @@ img.book-cover {
} }
#org-div-home-and-up { #org-div-home-and-up {
&:extend(.header-block);
&:extend(.content-wrapper); &:extend(.content-wrapper);
text-align: right; text-align: right;