-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Standardize text container styles (#26)
* Standardize text container styles, fix gradiant background * Change width to be 100%, not 100vw, to avoid scrollbar issues on Chrome
- Loading branch information
1 parent
d09b1e5
commit 003befe
Showing
5 changed files
with
53 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,13 @@ | ||
.landingBackground h1 { | ||
font-size: 2em; | ||
margin-bottom: 1rem; | ||
margin-left: 1em; | ||
margin-right: 1em; | ||
} | ||
|
||
.landingBackground h2 { | ||
font-size: 1.5em; | ||
margin-bottom: 0.5rem; | ||
margin-left: 1em; | ||
margin-right: 1em; | ||
} | ||
|
||
.landingBackground p { | ||
margin-bottom: 0.5rem; | ||
margin-left: 1em; | ||
margin-right: 1em; | ||
} | ||
|
||
.centerText { | ||
.content { | ||
margin: 0 auto; | ||
max-width: 800px; | ||
text-align: center; | ||
} | ||
|
||
.landingBackground { | ||
padding: 1px; /* hack to prevent margin collapse */ | ||
background-image: url("/landing-background.jpg"); | ||
background-position: center; | ||
background-size: cover; | ||
width: 100vw; | ||
height: 100vh; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,9 @@ | ||
.about { | ||
.content { | ||
margin: 0 auto; | ||
max-width: 800px; | ||
text-align: center; | ||
} | ||
|
||
/* CSS Modules recommends camelCase | ||
See: https://github.com/css-modules/css-modules#naming */ | ||
.imageContainer { | ||
display: flex; | ||
justify-content: center; | ||
margin-top: 2rem; | ||
} | ||
|
||
.title { | ||
margin-bottom: 5rem; | ||
font-size: 3rem; | ||
} | ||
|
||
|
||
.description { | ||
margin: 0 auto; | ||
max-width: 1000px; | ||
.image { | ||
margin: auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters