From e6342df3b02b69359e9c523dd831238833872f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Sun, 17 Dec 2017 20:58:42 +0100 Subject: [PATCH] Move scaffolding styles to separate file --- public/stylesheets/_scaffolding.scss | 53 +++++++++++++++++++++++++++ public/stylesheets/style.scss | 55 +--------------------------- 2 files changed, 54 insertions(+), 54 deletions(-) create mode 100644 public/stylesheets/_scaffolding.scss diff --git a/public/stylesheets/_scaffolding.scss b/public/stylesheets/_scaffolding.scss new file mode 100644 index 0000000..a794acf --- /dev/null +++ b/public/stylesheets/_scaffolding.scss @@ -0,0 +1,53 @@ +html { + box-sizing: border-box; + font-size: 62.5%; +} +*, *:before, *:after { + box-sizing: inherit; +} + +html, body { + height: 100%; + margin: 0; +} + +body { + font-size: 1.6rem; + font-family: 'Source Sans Pro', sans-serif; + color: #444444; + display: flex; + flex-direction: column; + max-width: 100rem; + margin: 0 auto; +} + +a { + color: #333; + + &:hover { + color: #888; + } +} + +.wrapper { + flex: 1; +} + +.container { + padding: 20px; +} + +.footer { + padding: 10px; + + &__nav { + list-style: none; + margin: 0; + padding: 0; + + li { + display: inline-block; + margin: 0 5px; + } + } +} diff --git a/public/stylesheets/style.scss b/public/stylesheets/style.scss index a88c29f..ec92653 100644 --- a/public/stylesheets/style.scss +++ b/public/stylesheets/style.scss @@ -1,57 +1,4 @@ -html { - box-sizing: border-box; - font-size: 62.5%; -} -*, *:before, *:after { - box-sizing: inherit; -} - -html, body { - height: 100%; - margin: 0; -} - -body { - font-size: 1.6rem; - font-family: 'Source Sans Pro', sans-serif; - color: #444444; - display: flex; - flex-direction: column; - max-width: 100rem; - margin: 0 auto; -} - -a { - color: #333; - - &:hover { - color: #888; - } -} - -.wrapper { - flex: 1; -} - -.container { - padding: 20px; -} - -.footer { - padding: 10px; - - &__nav { - list-style: none; - margin: 0; - padding: 0; - - li { - display: inline-block; - margin: 0 5px; - } - } -} - +@import "scaffolding"; @import "table"; @import "filters"; @import "header";