-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SMA-44: Unify CSS & declare CSS variables (#26)
- Loading branch information
1 parent
d94d6fc
commit 5259f1e
Showing
4 changed files
with
44 additions
and
82 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,42 +1,46 @@ | ||
body{ | ||
font-family: 'Inter', sans-serif; | ||
} | ||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;900&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@700&display=swap'); | ||
|
||
.App { | ||
text-align: center; | ||
} | ||
:root { | ||
--sm-primary-font: 'Inter', sans-serif; | ||
--sm-secondary-font: 'Manrope', sans-serif; | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
} | ||
--sm-primary-bg: #f9f8f5; | ||
--sm-orange: #e85f29; | ||
--sm-dark: #4a494f; | ||
--sm-white: #ffffff; | ||
--sm-txt-dark: #393939; | ||
--sm-secondary-orange: #fc4c02; | ||
--sm-orange-overlay: rgba(232, 95, 41, 0.25); | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
} | ||
--sm-border-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05); | ||
--sm-border-radius: 2px; | ||
|
||
.App-header { | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
color: white; | ||
--sm-btn-size-regular: 3.125em; | ||
--sm-btn-size-small: 1.875em; | ||
|
||
--sm-h1-size: 3em; | ||
--sm-h2-size: 1em; | ||
--sm-text-size: 1em; | ||
} | ||
|
||
.App-link { | ||
color: #61dafb; | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Inter', sans-serif; | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
svg { | ||
color: var(--sm-white); | ||
} | ||
|
||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
background: var(--sm-primary-bg); | ||
background-size: cover; | ||
background-position: center; | ||
} |
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