-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace most single rule emotion usages w/ global atomic css classes
- Loading branch information
Showing
62 changed files
with
484 additions
and
404 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.page { | ||
display: flex; | ||
flex-direction: column; | ||
height: 100%; | ||
} | ||
|
||
.main { | ||
flex: 1 1 auto; | ||
overflow: scroll; | ||
position: relative; | ||
} | ||
|
||
.container { | ||
outline: none; | ||
display: flex; | ||
flex: 1 1 auto; | ||
flex-direction: column; | ||
align-items: center; | ||
height: 100%; | ||
width: 100%; | ||
position: absolute; | ||
flex-wrap: nowrap; | ||
container-type: size; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@value huge-and-up from '../lib/definitions.module.css'; | ||
@value max-width from '../lib/definitions.module.css'; | ||
|
||
.page { | ||
margin: 2em 1em; | ||
} | ||
|
||
@media (huge-and-up) { | ||
.page { | ||
max-width: max-width; | ||
margin: 2em auto; | ||
} | ||
} | ||
|
||
.markdown { | ||
margin-bottom: 2em; | ||
} | ||
|
||
.markdown h2 { | ||
margin-top: 1em; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@value small-and-up from '../lib/definitions.module.css'; | ||
|
||
.outer { | ||
padding: 2em; | ||
background-color: var(--secondary); | ||
text-align: center; | ||
color: var(--text); | ||
} | ||
.wrapper { | ||
max-width: 900px; | ||
margin: auto; | ||
} | ||
|
||
.wrapper:before { | ||
font-family: georgia, serif; | ||
content: open-quote; | ||
font-size: 6em; | ||
line-height: 0.1em; | ||
margin-right: 0.25em; | ||
vertical-align: -0.4em; | ||
} | ||
.quote { | ||
font-family: georgia, serif; | ||
font-size: 20px; | ||
font-style: italic; | ||
} | ||
@media (small-and-up) { | ||
.quote { | ||
font-size: 30px; | ||
} | ||
.attrib { | ||
font-size: 20px; | ||
} | ||
} |
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
Oops, something went wrong.