aboutsummaryrefslogtreecommitdiff
path: root/_scss
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-12-06 18:49:11 +0300
committerValentin Popov <info@valentineus.link>2018-12-06 18:49:11 +0300
commitc0dbc50ede7205101703d7101c9f1e6a54bfef64 (patch)
treef490c293f8bbf0c1620c0348ebaf159b13b8d1b7 /_scss
parent763427840a9fb527a43387bf544d5c4809c67b0c (diff)
downloadpopov.link-c0dbc50ede7205101703d7101c9f1e6a54bfef64.tar.xz
popov.link-c0dbc50ede7205101703d7101c9f1e6a54bfef64.zip
feat(css): Update style components
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss')
-rw-r--r--_scss/components/_core.scss3
-rw-r--r--_scss/utilities/_boxsizing.scss15
2 files changed, 1 insertions, 17 deletions
diff --git a/_scss/components/_core.scss b/_scss/components/_core.scss
index ae17c9e..9e19359 100644
--- a/_scss/components/_core.scss
+++ b/_scss/components/_core.scss
@@ -1,11 +1,10 @@
-@import 'utilities/boxsizing';
@import 'utilities/textsizeadjust';
*,
*::after,
*::before {
- @include box-sizing(border-box);
@include text-size-adjust(100%);
+ box-sizing: border-box;
}
html {
diff --git a/_scss/utilities/_boxsizing.scss b/_scss/utilities/_boxsizing.scss
deleted file mode 100644
index 7e06a3e..0000000
--- a/_scss/utilities/_boxsizing.scss
+++ /dev/null
@@ -1,15 +0,0 @@
-// Box Sizing
-//
-// The box-sizing property in CSS controls how the box model
-// is handled for the element it applies to.
-//
-// Values: content-box | border-box
-// Default: content-box
-//
-// https://www.w3.org/TR/css-ui-3/#box-sizing
-@mixin box-sizing($value: content-box) {
- -webkit-box-sizing: $value;
- -moz-box-sizing: $value;
- -ms-box-sizing: $value;
- box-sizing: $value;
-}