KNACSS/sass/_09-misc.scss
Raphael Goetter 4a34da1c8b version 4.4.5
# changelog v4.4.5 (1er avril 2016)

- mise à jour vers Normalize 4 :
https://github.com/necolas/normalize.css/blob/4.0.0/CHANGELOG.md
- application de min-width: 0 sur les flex-item-fluid pour éviter les
minimum automatiques des flex-items
- suppression des styles spécifiques à Gmap (sélecteurs trop lourds
pour un cas très particuliers)
2016-04-01 15:48:24 +02:00

49 lines
829 B
SCSS

/* ----------------------------- */
/* ==misc rules */
/* ----------------------------- */
/* styling skip links */
.#{$kna-namespace}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;
}
}
}
// hyphens on small screens
@media (max-width: $small-screen) {
/* you shall not pass */
div,
textarea,
table,
td,
th,
code,
pre,
samp {
word-wrap: break-word;
hyphens: auto;
}
}
// use .no-wrapping to disallow hyphens on small screens
@media (max-width: $small-screen) {
.no-wrapping {
word-wrap: normal;
hyphens: manual;
}
}