mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
* refactor: refactor navigateVector logic and remove unused functions * refactor: refactor HTML structure and styling in single.html - Modify the `.info` class to `article` in `_article.scss` - Remove the `nav.html` partial in `single.html` - Change the class name from `info` to `article` in `single.html` - Add the `nav.html` partial in `single.html` * refactor: update handling of 404 page - Now hugo will set unknown page title as "404" - Add condition to return an empty image array if the document title starts with "404" * docs: update documentation
49 lines
514 B
SCSS
49 lines
514 B
SCSS
article {
|
|
padding: var(--space-standard);
|
|
max-width: 25em;
|
|
|
|
p {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
u {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
> h1 {
|
|
font-size: 1.6em;
|
|
}
|
|
|
|
> h2 {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
> h3 {
|
|
font-size: 1.375em;
|
|
}
|
|
|
|
> h4 {
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
> h5 {
|
|
font-size: 1.125em;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-weight: bold;
|
|
margin: 1.2rem 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: $tablet), (hover: none) {
|
|
article {
|
|
margin-top: var(--nav-height);
|
|
}
|
|
}
|