-
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.
substitute all scss variables with css replaceable ones
rework style variables to allow better customization
- Loading branch information
Showing
16 changed files
with
120 additions
and
158 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
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
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
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 |
---|---|---|
@@ -1,50 +1,44 @@ | ||
@import "./variables.scss"; | ||
|
||
:root{ | ||
--nav-height: 44px; | ||
--col-width: 1320px; | ||
--color-primary: #{$color-primary}; | ||
--color-secondary: #{$color-secondary}; | ||
|
||
--color-dark: #{$color-dark}; | ||
--color-medium: #{$color-primary}; | ||
--color-hover: #{$color-primary-dark}; | ||
--color-light: #{$color-text}; | ||
|
||
--color-info: #{$color-info}; | ||
--color-success: #{$color-success}; | ||
--color-warning: #{$color-warning}; | ||
--color-error: #{$color-error}; | ||
|
||
--font-body: #{$font-body}; | ||
--font-heading: #{$font-heading}; | ||
|
||
--color-background: #{$color-background}; | ||
--color-background-dark: #{$color-background-dark}; | ||
--color-background-darker: #{$color-background-darker}; | ||
--color-background-light: #{$color-background-light}; | ||
--color-background-lighter: #{$color-background-lighter}; | ||
--color-background-hover: #{$color-background-hover}; | ||
} | ||
|
||
|
||
|
||
|
||
*, ::before, ::after { | ||
box-sizing: border-box; | ||
} | ||
|
||
body{ | ||
background: $color-background; | ||
position: relative; | ||
min-height: 100vh; | ||
width: 100%; | ||
padding: var(--nav-height) 0 0 0; | ||
margin: 0; | ||
display: block; | ||
font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", "sans-serif"; | ||
} | ||
|
||
h1{ | ||
font-family: "Charcoal", "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", "sans-serif"; | ||
--color-primary: #00517d; | ||
--color-secondary: #E6B900; | ||
|
||
--color-primary-light: #0089bf; | ||
--color-primary-lighter: #00acf0; | ||
|
||
--color-primary-dark: #00324d; | ||
|
||
--color-light: #eee; | ||
--color-dark: #071922; | ||
|
||
--color-medium: var(--color-primary); | ||
--color-hover: var(--color-primary-dark); | ||
|
||
--color-info: #73adff; | ||
--color-success: #8ae65c; | ||
--color-warning: #e6a345; | ||
--color-error: #e64545; | ||
|
||
--font-body: 'Open Sans', 'Liberation', 'Roboto', 'sans-serif'; | ||
--font-heading: 'Noto Serif', 'serif'; | ||
|
||
/* Main (body) background color */ | ||
--color-background: #343434; | ||
|
||
/* Background color for "section" elements. | ||
(large page chunks that may contain some number of items). | ||
designed to stand out over --color-background | ||
*/ | ||
--color-section: #272727; | ||
|
||
/* Background color for "block elements", like cards, navbars, modals... */ | ||
--color-element: #1b1b1b; | ||
|
||
/* Main Color for elements designed to stand out in a section, like action buttons */ | ||
--color-highlight: #4e4e4e; | ||
|
||
/* Additional highlight color, primarily for hover effects */ | ||
--color-highlight2: #5e5e5e; | ||
} |
Oops, something went wrong.