parent
b148bc4389
commit
7127714e4b
|
@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
- Permalink structure of `/docs` demo site.
|
- Permalink structure of `/docs` demo site.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- `body` height and `.wrapper` box shadow. [#13](https://github.com/mmistakes/jekyll-theme-basically-basic/issues/13)
|
||||||
- Unclickable main content links in Internet Explorer 10. [#9](https://github.com/mmistakes/jekyll-theme-basically-basic/issues/9)
|
- Unclickable main content links in Internet Explorer 10. [#9](https://github.com/mmistakes/jekyll-theme-basically-basic/issues/9)
|
||||||
|
|
||||||
## [1.0.1] - 2017-03-23
|
## [1.0.1] - 2017-03-23
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<section>
|
<nav class="skip-links">
|
||||||
<h2 class="screen-reader-text">{{ site.data.theme.t.skip_links | default: 'Skip links' }}</h2>
|
<h2 class="screen-reader-text">{{ site.data.theme.t.skip_links | default: 'Skip links' }}</h2>
|
||||||
<ul class="skip-links">
|
<ul>
|
||||||
<li><a href="#primary-nav" class="screen-reader-shortcut">{{ site.data.theme.t.skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
|
<li><a href="#primary-nav" class="screen-reader-shortcut">{{ site.data.theme.t.skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
|
||||||
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.theme.t.skip_content | default: 'Skip to content' }}</a></li>
|
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.theme.t.skip_content | default: 'Skip to content' }}</a></li>
|
||||||
<li><a href="#footer" class="screen-reader-shortcut">{{ site.data.theme.t.skip_footer | default: 'Skip to footer' }}</a></li>
|
<li><a href="#footer" class="screen-reader-shortcut">{{ site.data.theme.t.skip_footer | default: 'Skip to footer' }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</nav>
|
||||||
|
|
|
@ -7,6 +7,8 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
background: $background-color;
|
background: $background-color;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Skip links
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.skip-links {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
ul {
|
||||||
|
@include list-unstyled;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Paginator
|
Paginator
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
|
@ -2,17 +2,6 @@
|
||||||
Accessibility Modules
|
Accessibility Modules
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/* Skip links */
|
|
||||||
.skip-links {
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
li {
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Text meant only for screen readers */
|
/* Text meant only for screen readers */
|
||||||
.screen-reader-text,
|
.screen-reader-text,
|
||||||
.screen-reader-text span,
|
.screen-reader-text span,
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<section>
|
<nav class="skip-links">
|
||||||
<h2 class="screen-reader-text">{{ site.data.theme.t.skip_links | default: 'Skip links' }}</h2>
|
<h2 class="screen-reader-text">{{ site.data.theme.t.skip_links | default: 'Skip links' }}</h2>
|
||||||
<ul class="skip-links">
|
<ul>
|
||||||
<li><a href="#primary-nav" class="screen-reader-shortcut">{{ site.data.theme.t.skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
|
<li><a href="#primary-nav" class="screen-reader-shortcut">{{ site.data.theme.t.skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
|
||||||
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.theme.t.skip_content | default: 'Skip to content' }}</a></li>
|
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.theme.t.skip_content | default: 'Skip to content' }}</a></li>
|
||||||
<li><a href="#footer" class="screen-reader-shortcut">{{ site.data.theme.t.skip_footer | default: 'Skip to footer' }}</a></li>
|
<li><a href="#footer" class="screen-reader-shortcut">{{ site.data.theme.t.skip_footer | default: 'Skip to footer' }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</nav>
|
||||||
|
|
|
@ -7,6 +7,8 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
background: $background-color;
|
background: $background-color;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Skip links
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.skip-links {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
ul {
|
||||||
|
@include list-unstyled;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Paginator
|
Paginator
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
|
@ -2,17 +2,6 @@
|
||||||
Accessibility Modules
|
Accessibility Modules
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/* Skip links */
|
|
||||||
.skip-links {
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
li {
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Text meant only for screen readers */
|
/* Text meant only for screen readers */
|
||||||
.screen-reader-text,
|
.screen-reader-text,
|
||||||
.screen-reader-text span,
|
.screen-reader-text span,
|
||||||
|
|
Loading…
Reference in New Issue