KNACSS/sass/_10-booleans.scss

41 lines
606 B
SCSS
Raw Permalink Normal View History

2014-05-04 15:48:00 +02:00
/* ----------------------------- */
/* ==skip-hyphens */
2014-05-04 15:48:00 +02:00
/* ----------------------------- */
/* styling skip links */
.skip-links {
position: absolute;
2014-10-20 17:59:59 +02:00
& a {
2014-05-04 15:48:00 +02:00
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
padding: 0.5em;
background: black;
color: white;
text-decoration: none;
2014-05-04 15:48:00 +02:00
&:focus {
position: static;
overflow: visible;
clip: auto;
2014-05-04 15:48:00 +02:00
}
}
}
// hyphens boolean
@media (max-width: $small-screen) {
/* you shall not pass */
div,
textarea,
table,
td,
th,
code,
pre,
samp {
word-wrap: break-word;
hyphens: auto;
2014-05-04 15:48:00 +02:00
}
2014-05-07 11:12:14 +02:00
}