-
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.
- Loading branch information
1 parent
429d2d4
commit 27ede17
Showing
12 changed files
with
25 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,5 @@ | |
flex-direction: column | ||
min-height: 100% | ||
|
||
&__header | ||
|
||
&__main | ||
flex-grow: 1 | ||
|
||
&__footer | ||
|
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,9 +1,9 @@ | ||
@function em($size, $context: $base-fz) | ||
@return ($size/$context) * 1em | ||
@return (math.div($size, $context)) * 1em | ||
|
||
@function rem($size, $context: $base-fz) | ||
@return ($size/$context) * 1rem | ||
@return (math.div($size, $context)) * 1rem | ||
|
||
@function vw($size, $context: $base-desktop) | ||
@return ($size/$context) * 100vw | ||
@return (math.div($size, $context)) * 100vw | ||
|
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 |
---|---|---|
|
@@ -3,11 +3,7 @@ | |
flex-direction: column; | ||
min-height: 100%; | ||
|
||
&__header {} | ||
|
||
&__main { | ||
flex-grow: 1 | ||
} | ||
|
||
&__footer {} | ||
} |
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,11 +1,11 @@ | ||
@function em($size, $context: $base-fz) { | ||
@return $size / $context * 1em; | ||
@return math.div($size, $context) * 1em; | ||
} | ||
|
||
@function rem($size, $context: $base-fz) { | ||
@return $size / $context * 1rem; | ||
@return math.div($size, $context) * 1rem; | ||
} | ||
|
||
@function vw($size, $context: $base-desktop) { | ||
@return $size / $context * 100vw; | ||
@return math.div($size, $context) * 100vw; | ||
} |
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