From d7e4cc862916b1b92a11c83c596ad9986a1fb251 Mon Sep 17 00:00:00 2001 From: Heiswayi Nrird Date: Sun, 15 Jan 2017 16:18:27 +0800 Subject: [PATCH] Initial commit --- css/main.scss | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 css/main.scss diff --git a/css/main.scss b/css/main.scss new file mode 100644 index 00000000..5a11158e --- /dev/null +++ b/css/main.scss @@ -0,0 +1,47 @@ +--- +# Only the main Sass file needs front matter (the dashes are enough) +--- +@charset "utf-8"; + +// Our variables +$base-font-family: 'Droid Sans', sans-serif; +$code-font-family: Inconsolata, Monaco, Consolas, monospace; +$base-font-size: 16px; +$base-font-weight: 400; +$small-font-size: 0.875rem; +$base-line-height: 1.5; + +$spacing-unit: 2rem; + +$text-color: #111; +$background-color: #fff; +$link-color: #0645ad; + +$grey-color: #aaa; +$grey-color-light: lighten($grey-color, 25%); +$grey-color-dark: darken($grey-color, 25%); + +// Width of the content area +$on-palm: 600px; +$on-: 800px; + +// Use media queries like this: +// @include media-query($on-palm) { +// .wrapper { +// padding-right: $spacing-unit / 2; +// padding-left: $spacing-unit / 2; +// } +// } +@mixin media-query($device) { + @media screen and (max-width: $device) { + @content; + } +} + +// Import partials from `sass_dir` (defaults to `_sass`) +@import + url(https://fonts.googleapis.com/css?family=Droid+Sans), + "base", + "layout", + "syntax-highlighting" +;