Skip to content

Commit

Permalink
Better Heading alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
joostf committed Oct 4, 2024
1 parent c6eca88 commit 5b084bb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
12 changes: 11 additions & 1 deletion docs/assets/style/web.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ body {
font-family: Open Sans, sans-serif;
color: var(--color-text);
min-height: 100vh;
container-type:inline-size;
}

/* Main Layout */
Expand Down Expand Up @@ -562,6 +563,7 @@ section {

& a:first-of-type {
text-decoration: none;


&:hover,
&:focus {
Expand All @@ -579,8 +581,9 @@ section {
background-image: url('../img/link.svg');
filter: var(--svg-filter);
position: absolute;
left: -1rem;
left: -1.25rem;
top: .35em;
right:auto;
}
}

Expand Down Expand Up @@ -633,6 +636,13 @@ section {
}
}

@container (max-width: 540px) {
section *:first-child a:first-of-type:after {
left:auto;
right:-.5rem;
}
}

/* Discussion content */
section aside.discussion {
position: relative;
Expand Down
23 changes: 20 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b084bb

Please sign in to comment.