From 5858480e30f9641ce8d7972580069004d555c9ef Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 24 Apr 2018 17:52:04 +0400 Subject: [PATCH] Add basic styles Signed-off-by: Valentin Popov --- _scss/components/core/_basis.scss | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 _scss/components/core/_basis.scss 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%; +}