KNACSS/css/09-booleans.css

44 lines
650 B
CSS
Raw Permalink Normal View History

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