Skip to content

Commit

Permalink
Some improvements for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Apr 21, 2016
1 parent 834fd34 commit bf267a3
Show file tree
Hide file tree
Showing 21 changed files with 36 additions and 31 deletions.
2 changes: 1 addition & 1 deletion css/a11y-en.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-en_advices-only.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-en_error.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-en_errors-only.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-en_obsolete-only.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-en_obsolete.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-en_warning.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-en_warnings-only.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-fr.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-fr_advices-only.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-fr_error.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-fr_errors-only.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-fr_obsolete-only.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-fr_obsolete.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-fr_warning.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/a11y-fr_warnings-only.css

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions docs/Hologram/test-assets/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,7 @@

<p>
Just drag this to your bookmarks, and you'll be able to use <b>a11y.css</b> on any page:
<a id="bookmarklet--link" href="javascript:(function(){a11ycss=document.createElement('LINK');a11ycss.href='https://rawgit.com/ffoodd/a11y.css/master/css/a11y-en.css';a11ycss.rel='stylesheet';a11ycss.media='(max-width: 800px)';document.body.appendChild(a11ycss);})();" class="bookmarklet">
<span>Grab your a11y.css</span>
bookmarklet
</a>
<a id="bookmarklet--link" href="javascript:(function(){a11ycss=document.createElement('LINK');a11ycss.href='https://rawgit.com/ffoodd/a11y.css/master/css/a11y-en.css';a11ycss.rel='stylesheet';a11ycss.media='(max-width: 800px)';document.body.appendChild(a11ycss);})();" class="bookmarklet">a11y.css</a>
</p>
</div>
</aside>
Expand Down
24 changes: 16 additions & 8 deletions docs/Hologram/test-assets/sass/doc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -664,8 +664,8 @@ a[target$="blank"]::after {
transition: all 300ms;
}

#bookmarklet--link span {
background-image:
#bookmarklet--link::before {
background:
linear-gradient(
to right,
rgba( 255, 255, 255, .3 ) 0%,
Expand All @@ -674,15 +674,23 @@ a[target$="blank"]::after {
transparent 80%,
rgba( 255, 255, 255, .3 ) 80%,
rgba( 255, 255, 255, .3 ) 100%
);
background-position: 0 50%;
background-repeat: no-repeat;
background-size: 100% 1px;
)
0 50% / 100% 1px
no-repeat
!important;
border: 0 !important;
color: inherit !important;
content: "Grab your bookmarklet" !important;
display: block;
font-size: small;
font-weight: 400;
font: inherit !important;
font-size: small !important;
font-weight: 400 !important;
opacity: .8;
padding: 0;
position: static !important;
text-indent: 0;
transform: none !important;
width: 100% !important;
}

#bookmarklet--link:hover,
Expand Down
2 changes: 1 addition & 1 deletion docs/Hologram/test-assets/static/doc.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sass/base/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ html {
background-size: 0.5em 100%;
bottom: 1em;
color: rgb(255, 255, 255);
font: 700 1.2rem/1.5 "Arial", "Nimbus Sans L", sans-serif;
font: 700 18px/1.5 "Arial", "Nimbus Sans L", sans-serif;
left: 1em;
padding: 0.75em 1em 0.75em 1.5em;
position: fixed;
Expand Down
2 changes: 1 addition & 1 deletion sass/utils/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
border-bottom: 1px solid !important;
border-radius: 0 !important;
bottom: auto !important;
font: 400 normal 1.2rem/1.5 monospace !important;
font: 400 normal 16px/1.5 monospace !important;
height: auto !important;
left: 0 !important;
opacity: 0;
Expand Down

0 comments on commit bf267a3

Please sign in to comment.