KNACSS/less/09-booleans.less
Raphael Goetter df5315b05e adding comms
2014-05-03 14:03:41 +02:00

35 lines
641 B
Plaintext

@import "00-config";
/* ----------------------------- */
/* ==booleans */
/* ----------------------------- */
// skip-links boolean
& when (@skip-links = true) {
/* styling skip links */
.skip-links {
position: absolute;
a {
position: absolute;
left: -7000px;
padding: 0.5em;
background: black;
color: white;
text-decoration: none;
&:focus {
position: static;
}
}
}
}
// hyphens boolean
& when (@hyphens = true) {
@media (max-width: @small-screen) {
/* you shall not pass */
div, textarea, table, td, th, code, pre, samp {
word-wrap: break-word;
hyphens: auto;
}
}
}