Skip to content

Commit

Permalink
[#18] Refine styles by shrinking max width of content & increasing li…
Browse files Browse the repository at this point in the history
…ne height
  • Loading branch information
JamesMitofsky committed Aug 3, 2023
1 parent 8f94669 commit 711e9fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/components/LandingPageHero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@
/* Media query for mobile-sized screens */
@media screen and (min-width: 768px) {
h1 {
font-size: 10em;
}
header {
height: 50vh;
}
Expand Down
7 changes: 5 additions & 2 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@
margin: 0;
padding: 0;
font-family: sans-serif;
line-height: 2em;
line-height: 3em;
font-size: 1.1em;
color: #4e4e4e;
color: rgb(38, 38, 38);
scroll-behavior: smooth;
display: flex;
flex-direction: column;
align-items: center;
}
</style>
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
/* Media queries */
@media only screen and (min-width: 700px) {
main {
margin: 0 15%;
max-width: 50em;
}
.bros {
Expand Down

0 comments on commit 711e9fe

Please sign in to comment.