KNACSS/less/_09-booleans.less

39 lines
587 B
Text
Raw Normal View History

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