KNACSS/less/_09-misc.less

56 lines
862 B
Text
Raw Permalink Normal View History

2014-05-03 14:03:41 +02:00
/* ----------------------------- */
/* ==misc rules */
2014-05-03 14:03:41 +02:00
/* ----------------------------- */
2014-04-20 20:34:39 +02:00
/* styling skip links */
.@{kna-namespace}skip-links {
2015-07-01 13:47:48 +02:00
position: absolute;
2015-07-01 13:47:48 +02:00
& a {
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
padding: 0.5em;
background: black;
color: white;
text-decoration: none;
2015-07-01 13:47:48 +02:00
&:focus {
position: static;
overflow: visible;
clip: auto;
}
}
2014-04-20 20:34:39 +02:00
}
// hyphens on small screens
@media (max-width: @small-screen) {
2015-07-01 13:47:48 +02:00
/* you shall not pass */
div,
textarea,
table,
td,
th,
code,
pre,
samp {
word-wrap: break-word;
hyphens: auto;
}
}
/* Google Gmap3 bug fix on images */
.gm-style img {
2015-07-01 13:47:48 +02:00
height: 100%;
}
:not(.gm-style) img {
2015-07-01 13:47:48 +02:00
height: auto;
}
.gm-style img,
.gmnoscreen img,
.gmnoprint img {
2015-07-01 13:47:48 +02:00
max-width: none !important;
}