-
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.
- Loading branch information
1 parent
c42a0b5
commit 9d670a7
Showing
9 changed files
with
125 additions
and
82 deletions.
There are no files selected for viewing
Empty file.
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,41 @@ | ||
:where(:root, html) { | ||
|
||
--roundness: unset; // The border-radius to everything | ||
--theme: dark; // the actual theme in the page | ||
--width: auto; // the witdth of an element | ||
--height: auto; // the height of each element | ||
|
||
// CONTROL VARS --------------------------------- | ||
|
||
--main-container-size: 80dvw; | ||
--min-layou-size: 20rem; | ||
|
||
// These are the variables that generate all the style system | ||
|
||
--base: 1.6rem; // Represent the inital value for measurements | ||
--spacing: .8rem; // the spacing between elements | ||
|
||
--jump: 2; // the jump value between elements | ||
|
||
// SPACING VARS | ||
|
||
--spacing-y: calc(--spacing / 2); | ||
--spacing-x: calc(--spacing * 2); | ||
|
||
// COLOR SPECIFIC | ||
|
||
--destructive: #772626; | ||
} | ||
|
||
:where(:root[data-template="modern"]) { | ||
--base: 2.4rem; | ||
|
||
--min-container-size: 60dvw; | ||
} | ||
|
||
:where(:root[data-template="classic"]) { | ||
|
||
--base: 1rem; | ||
} | ||
|
||
:where(:root[data-template="roundy"]) {} |
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,13 +1,14 @@ | ||
body > main { | ||
--width: 50%; | ||
--height: auto; | ||
--spacing: var(--lg); | ||
--bg: inherit; | ||
--_width: var(--main-container-size); | ||
--_height: auto; | ||
--_spacing-y: var(--spacing-y); | ||
--_bg: inherit; | ||
|
||
width: max(var(--width), 80dvw); | ||
height: var(--height); | ||
padding: var(--lg) var(--xl); | ||
width: clamp(20rem, var(--_width), 100dvw); | ||
height: var(--_height); | ||
//padding: var(--lg) var(--xl); | ||
border-radius: var(--roundness); | ||
margin-block: var(--spacing); | ||
background-color: var(--bg); | ||
margin-block: var(--_spacing-y); | ||
//margin-inline: auto; | ||
background-color: var(--_bg); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.