From d328bfec917c6a48cbcbe8b7aa8aa4c559c8666c Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sun, 18 Jan 2015 04:18:11 -0600 Subject: [PATCH] Use new core navigation template tag --- CHANGELOG.md | 1 + assets/styles/components/_wp-classes.less | 17 +++++++++++------ index.php | 9 +-------- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ca5f51..f74ccb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * Remove theme activation, move to [wp-cli-theme-activation](https://github.com/roots/wp-cli-theme-activation) * Add Travis CI * Update to jQuery 1.11.2 +* Use new core navigation template tag * Update sidebar to fix default template check ### 7.0.3: December 18th, 2014 diff --git a/assets/styles/components/_wp-classes.less b/assets/styles/components/_wp-classes.less index 5597e47..d800dfc 100644 --- a/assets/styles/components/_wp-classes.less +++ b/assets/styles/components/_wp-classes.less @@ -9,12 +9,6 @@ .alignright { margin-bottom: (@line-height-computed / 2); } -figure.alignnone { - margin-left: 0; - margin-right: 0; - max-width: 100%; -} - @media (min-width: @screen-sm-min) { // Only float images if not on an extra small device like smartphones .alignleft { @@ -26,3 +20,14 @@ figure.alignnone { margin-left: (@line-height-computed / 2); } } + +figure.alignnone { + margin-left: 0; + margin-right: 0; + max-width: 100%; +} + +.screen-reader-text { + &:extend(.sr-only all); + &:extend(.sr-only-focusable all); +} diff --git a/index.php b/index.php index 082ecc3..080728d 100644 --- a/index.php +++ b/index.php @@ -11,11 +11,4 @@ -max_num_pages > 1) : ?> - - +