Skip to content

Commit

Permalink
Merge pull request #21 from snowpackjs/improve-some-styling-and-site-…
Browse files Browse the repository at this point in the history
…spacing

increase width for sidebar and article content, remove center align
  • Loading branch information
Hanawa02 committed Jun 23, 2021
2 parents 3a19676 + b1c9491 commit 70a4d0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions public/index.css
Expand Up @@ -264,6 +264,10 @@ input[name='theme-toggle'] {
z-index: -1;
}

nav {
width: 65%;
}

nav .heading {
font-weight: 400;
font-size: 1.25rem;
Expand Down
3 changes: 1 addition & 2 deletions src/layouts/Main.astro
Expand Up @@ -118,12 +118,11 @@ editHref = `https://github.com/snowpackjs/astro/tree/main/examples/doc/src/pages
grid-column: 2;
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
}

.content {
max-width: 64ch;
max-width: 75ch;
width: 100%;
height: 100%;
display: flex;
Expand Down

0 comments on commit 70a4d0c

Please sign in to comment.