Normalize rather than Reset.
The reset we used was a mix of Normalize, the Paul Irish reset,
sprinkled with some blueprint.css, and base styles. It was hard to
maintain and just seemed outdated (setting the base font-size to 10px
instead of 16px, among other things).
Normalize sets saner defaults and is generally just not as disruptive
as a full reset.
The code was added as is, has only its comments stripped (for now), and
is not mixed with any styles to make future updates to it as easy as
possible.
See #3, #44, #174, #267, #617.
2014-12-30 00:28:19 +00:00
|
|
|
/* Text meant only for screen readers. */
|
2014-07-28 13:35:53 +00:00
|
|
|
.screen-reader-text {
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
position: absolute !important;
|
|
|
|
height: 1px;
|
|
|
|
width: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
background-color: $color__background-screen;
|
2014-09-14 17:26:29 +00:00
|
|
|
border-radius: 3px;
|
2014-07-28 13:35:53 +00:00
|
|
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
|
|
clip: auto !important;
|
|
|
|
color: $color__text-screen;
|
|
|
|
display: block;
|
Normalize rather than Reset.
The reset we used was a mix of Normalize, the Paul Irish reset,
sprinkled with some blueprint.css, and base styles. It was hard to
maintain and just seemed outdated (setting the base font-size to 10px
instead of 16px, among other things).
Normalize sets saner defaults and is generally just not as disruptive
as a full reset.
The code was added as is, has only its comments stripped (for now), and
is not mixed with any styles to make future updates to it as easy as
possible.
See #3, #44, #174, #267, #617.
2014-12-30 00:28:19 +00:00
|
|
|
@include font-size(0.875);
|
2014-07-28 13:35:53 +00:00
|
|
|
font-weight: bold;
|
|
|
|
height: auto;
|
|
|
|
left: 5px;
|
|
|
|
line-height: normal;
|
|
|
|
padding: 15px 23px 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
top: 5px;
|
|
|
|
width: auto;
|
Normalize rather than Reset.
The reset we used was a mix of Normalize, the Paul Irish reset,
sprinkled with some blueprint.css, and base styles. It was hard to
maintain and just seemed outdated (setting the base font-size to 10px
instead of 16px, among other things).
Normalize sets saner defaults and is generally just not as disruptive
as a full reset.
The code was added as is, has only its comments stripped (for now), and
is not mixed with any styles to make future updates to it as easy as
possible.
See #3, #44, #174, #267, #617.
2014-12-30 00:28:19 +00:00
|
|
|
z-index: 100000; /* Above WP toolbar. */
|
2014-07-28 13:35:53 +00:00
|
|
|
}
|
|
|
|
}
|