diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-17 18:50:28 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-17 18:50:28 +0200 |
commit | 1362e9d57bb936b4762aed946a7d51bf3ee3ac90 (patch) | |
tree | 48584093025a990050e5fc3eb01aeb7299774821 /.themes/classic/sass/base | |
parent | ffa68a1fe3585237f1a63fdffcd8d3d929e2b10e (diff) | |
download | my_new_personal_website-1362e9d57bb936b4762aed946a7d51bf3ee3ac90.tar.xz my_new_personal_website-1362e9d57bb936b4762aed946a7d51bf3ee3ac90.zip |
Removes <nav> for Pagination links, fixes #216
Diffstat (limited to '.themes/classic/sass/base')
-rw-r--r-- | .themes/classic/sass/base/_layout.scss | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/.themes/classic/sass/base/_layout.scss b/.themes/classic/sass/base/_layout.scss index 40240fff..3774a3ce 100644 --- a/.themes/classic/sass/base/_layout.scss +++ b/.themes/classic/sass/base/_layout.scss @@ -44,7 +44,7 @@ body { max-width: $max-width; position: relative; margin: 0 auto; - > header, > nav, > footer, #content > article, #content > div > article, #content > div > section, nav.pagination { + > header, > nav, > footer, #content > article, #content > div > article, #content > div > section { @extend .group; padding-left: $pad-min; padding-right: $pad-min; @@ -61,6 +61,23 @@ body { padding-right: $pad-wide; } } + div.pagination { + @extend .group; + margin-left: $pad-min; + margin-right: $pad-min; + @media only screen and (min-width: 480px) { + margin-left: $pad-narrow; + margin-right: $pad-narrow; + } + @media only screen and (min-width: 768px) { + margin-left: $pad-medium; + margin-right: $pad-medium; + } + @media only screen and (min-width: 992px) { + margin-left: $pad-wide; + margin-right: $pad-wide; + } + } > header { font-size: 1em; padding-top: 1.5em; |