aboutsummaryrefslogtreecommitdiff
path: root/_scss
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-24 16:52:04 +0300
committerValentin Popov <info@valentineus.link>2018-04-24 16:52:04 +0300
commit5858480e30f9641ce8d7972580069004d555c9ef (patch)
tree156bb2c7a2e6f9cefc57a1a283feb77d4f53eeb5 /_scss
parent131e332a034c7a8b4ef15bd012bfcdd8f465e66f (diff)
downloadpopov.link-5858480e30f9641ce8d7972580069004d555c9ef.tar.xz
popov.link-5858480e30f9641ce8d7972580069004d555c9ef.zip
Add basic styles
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss')
-rw-r--r--_scss/components/core/_basis.scss27
1 files changed, 27 insertions, 0 deletions
diff --git a/_scss/components/core/_basis.scss b/_scss/components/core/_basis.scss
new file mode 100644
index 0000000..7803126
--- /dev/null
+++ b/_scss/components/core/_basis.scss
@@ -0,0 +1,27 @@
+@import 'utilities/boxsizing';
+@import 'utilities/textsizeadjust';
+
+*,
+*::after,
+*::before {
+ @include box-sizing(border-box);
+ @include text-size-adjust(100%);
+}
+
+html {
+ font-size: 62.5%;
+ overflow-y: scroll;
+}
+
+body {
+ color: $color-secondary;
+ font-family: -apple-system, BlinkMacSystemFont, Roboto, Cantarell, 'Droid Sans', 'Fira Sans', Helvetica, 'Helvetica Neue', 'Helvetica Neue', Oxygen, 'Segoe UI', Ubuntu, sans-serif;
+ font-size: 16px;
+ letter-spacing: .01em;
+ line-height: 1.6;
+ margin: 0 auto;
+ max-width: 128rem;
+ min-height: 100vh;
+ padding: 2rem;
+ width: 100%;
+}