Skip to content

Commit

Permalink
Adjust splash page
Browse files Browse the repository at this point in the history
  • Loading branch information
huijing committed Jan 24, 2024
1 parent 64b3773 commit 8092af8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@astrojs/starlight": "^0.16.0",
"@interledger/docs-design-system": "^0.2.1",
"@types/showdown": "^2.0.6",
"astro": "^4.2.1",
"astro": "^4.2.4",
"node-html-parser": "^6.1.12",
"sharp": "^0.33.2",
"showdown": "^2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion public/img/devs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ import HomeLayout from '../layouts/HomeLayout.astro';
.hero-image {
flex: 2;
max-width: 30rem;
display: flex;
}

@media screen and (max-width: 799px) {
.hero {
padding-block: var(--space-xl);
}
.content-wrapper {
.hero .content-wrapper {
flex-direction: column;
align-items: center;
}
}

Expand All @@ -92,6 +94,12 @@ import HomeLayout from '../layouts/HomeLayout.astro';
}
}

@media screen and (min-width: 1010px) {
.content-wrapper {
align-items: end;
}
}


.hero h2 {
color: var(--color-white);
Expand Down

0 comments on commit 8092af8

Please sign in to comment.