Skip to content

Commit

Permalink
Adjust layout
Browse files Browse the repository at this point in the history
  • Loading branch information
basham committed Sep 25, 2024
1 parent c6d3982 commit 916b84b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/Aside.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const labelId = uniqueId();
aside {
border: var(--border);
border-radius: var(--border-radius);
margin-top: 1rem;
margin-top: 1em;
padding: var(--2px);
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { SITE_TITLE } from "@src/consts";
display: inline-flex;
font-size: var(--fs-2);
font-weight: bold;
gap: 1rem;
gap: 1em;
text-decoration: none;
}

Expand Down
16 changes: 8 additions & 8 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ a:visited {
blockquote {
border-left: calc(var(--border-width) * 2) solid var(--color-border);
margin: 0;
padding: 0 0 0 1rem;
padding: 0 0 0 1em;
}

blockquote :first-child {
Expand All @@ -127,7 +127,7 @@ dd {
dt {
color: var(--color-code);
font-weight: bold;
margin-top: 0.5rem;
margin-top: 0.5em;
}

footer,
Expand All @@ -143,7 +143,7 @@ p,
pre,
table,
ul {
margin-top: 1rem;
margin-top: 1em;
}

figcaption {
Expand Down Expand Up @@ -186,7 +186,7 @@ img {
}

li:not(:first-child) {
margin-top: 0.5rem;
margin-top: 0.5em;
}

main {
Expand Down Expand Up @@ -228,7 +228,7 @@ ul {
}

:is(ol, ul) :is(ol, ul) {
margin-top: 0.5rem;
margin-top: 0.5em;
}

pre > code {
Expand All @@ -247,7 +247,7 @@ table {

td,
th {
padding: 0.5rem 1rem;
padding: 0.5em 1em;
}

th {
Expand All @@ -257,7 +257,7 @@ th {

.list-inline {
display: flex;
gap: 1.5rem;
gap: 1.5em;
list-style-type: "";
padding: 0;
}
Expand Down Expand Up @@ -305,7 +305,7 @@ mark::after,
clear: inline-end;
float: inline-end;
margin-inline-start: var(--col-gap);
margin-block-end: 1rem;
margin-block-end: 1em;
width: var(--col-2-size);
}
}

0 comments on commit 916b84b

Please sign in to comment.