diff options
author | Siri Reiter <siri@jones.dk> | 2016-02-24 00:05:09 +0100 |
---|---|---|
committer | Siri Reiter <siri@jones.dk> | 2016-02-24 00:05:09 +0100 |
commit | d224455450c144433db1c13b938737db130d2434 (patch) | |
tree | a2f1a564081191243b3f81b0c0a5292548613b16 | |
parent | d1e88004bfff6710809e0e36df436af164a0b28e (diff) |
Move responsive column count from test.
-rw-r--r-- | style.scss | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -3,6 +3,10 @@ @import "compass/typography/links"; @import "../shared/themes/default/ikiwiki"; +// to make responsive functions and columns possible +@import 'h5bp/helpers'; +@import 'compass/css3'; + // site defaults @include h5bp-normalize; @include h5bp-main; @@ -438,3 +442,24 @@ th { margin-bottom: 0; } +//Responsive design +@media screen and (max-width: 480px) { + .columns { + @include column-count(1); + } + .inlinepage { + margin: 0; + } +} + +@media screen and (min-width: 480px) and (max-width: 700px) { + .columns { + @include column-count(2); + } +} + +@media screen and (min-width: 701px) { + .columns { + @include column-count(3); + } +} |