style: Revamp CSS styles for improved layout and readability

- Modify `public/assets/app.css` with updates to CSS variables, grid templates, and class styles
- Add class `pagination` to `<nav>` element in `resources/views/templates/pagination.blade.php`
- Update `public/assets/app.css.br` with changes
- Add flex layout and margin styles to `.h-feed`, `.h-entry`, and `.pagination` classes in `resources/css/layout.css`
This commit is contained in:
Jonny Barnes 2023-11-11 17:28:07 +00:00
parent 7969003524
commit 9124ac21ae
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
4 changed files with 19 additions and 2 deletions

View file

@ -15,6 +15,23 @@ main {
grid-row: 2 / 3;
}
.h-feed {
display: flex;
flex-direction: column;
gap: 2rem;
}
.h-entry {
& p:first-of-type,
& h1:first-of-type {
margin-block-start: 0;
}
}
.pagination {
margin-block-start: 1rem;
}
footer {
grid-column: 2 / 3;
grid-row: 3 / 4;

View file

@ -1,5 +1,5 @@
@if ($paginator->hasPages())
<nav role="navigation">
<nav role="navigation" class="pagination">
<div>
@if ($paginator->onFirstPage())
<span>