Skip to content

Commit

Permalink
improve homepage css
Browse files Browse the repository at this point in the history
  • Loading branch information
dbushell committed Nov 5, 2024
1 parent dac2530 commit fdf862a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/css/base/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ h6 {
h1 {
--font-size: var(--font-size-4);
--line-height: 1;
margin-block: var(--size-2);
margin-block: var(--size-3);
}

@container main (inline-size >= 25rem) {
Expand Down
16 changes: 11 additions & 5 deletions src/css/crane.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,20 @@
.Crane {
& img {
max-inline-size: 50%;
transform: translateX(-10%);
}

& > div {
display: grid;
justify-content: center;
}

& .List {
margin-block: 0 var(--size-3);
}

& .List,
& .Button {
display: block;
margin-inline-start: auto;
margin-inline-end: auto;
max-inline-size: max-content;
margin-inline-start: var(--size-2);
}
}
}
Expand Down

0 comments on commit fdf862a

Please sign in to comment.