From 4d4d87a4e68f1aabe50d54353d1831d6f957b1e1 Mon Sep 17 00:00:00 2001 From: koenemann Date: Fri, 8 Jan 2016 09:43:20 +0100 Subject: [PATCH] Repositioning skip-to-content link --- css/theme.css | 8 ++++---- css/theme.min.css | 4 ++-- sass/understrap/understrap.scss | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/css/theme.css b/css/theme.css index 06c763a..33d5c3f 100644 --- a/css/theme.css +++ b/css/theme.css @@ -5883,10 +5883,10 @@ img.wp-post-image, article img { max-width: 100%; } a.skip-link { - display: none; - position: absolute; - top: 40px; - right: 0px; } + z-index: 1000; + margin-bottom: -20px; + position: relative; + display: block; } /*! * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome diff --git a/css/theme.min.css b/css/theme.min.css index 87f0d39..b74c9da 100644 --- a/css/theme.min.css +++ b/css/theme.min.css @@ -1394,6 +1394,7 @@ button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance .text-hide{font:0/0 a;color:transparent;background-color:transparent;border:0} .aligncenter,.alignleft,.alignright,.bypostauthor,.gallery-caption,.screen-reader-text,.sticky,.wp-caption,.wp-caption-text{font-size:inherit} .affix{position:fixed} +.fa-ul>li,a.skip-link{position:relative} @-ms-viewport{width:device-width} @media (max-width:767px){.visible-xs{display:block!important} table.visible-xs{display:table!important} @@ -1455,7 +1456,7 @@ td.visible-print,th.visible-print{display:table-cell!important} .wrapper#wrapper-sticky{border-bottom:1px solid #eee} .entry-footer span{padding-right:10px} article img,img.wp-post-image{max-width:100%} -a.skip-link{display:none;position:absolute;top:40px;right:0} +a.skip-link{z-index:1000;margin-bottom:-20px;display:block} .fa,.fa-stack{display:inline-block} /*! * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome @@ -1471,7 +1472,6 @@ a.skip-link{display:none;position:absolute;top:40px;right:0} .fa-fw{width:1.28571em;text-align:center} .fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none} .fa.fa-pull-right,.fa.pull-right{margin-left:.3em} -.fa-ul>li{position:relative} .fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center} .fa-li.fa-lg{left:-1.85714em} .fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em} diff --git a/sass/understrap/understrap.scss b/sass/understrap/understrap.scss index 713afbd..5c32918 100644 --- a/sass/understrap/understrap.scss +++ b/sass/understrap/understrap.scss @@ -34,8 +34,8 @@ img.wp-post-image, article img { // Skip to content link a.skip-link{ - display:none; - position: absolute; - top: 40px; - right: 0px; +z-index: 1000; +margin-bottom: -20px; +position: relative; +display: block; }