modularisation des dossiers
This commit is contained in:
parent
3b87077ae3
commit
a1773bbae9
15 changed files with 60 additions and 15 deletions
48
sass/library/_misc.scss
Normal file
48
sass/library/_misc.scss
Normal file
|
@ -0,0 +1,48 @@
|
|||
/* ----------------------------- */
|
||||
/* ==Misc (skip links, hyphens) */
|
||||
/* ----------------------------- */
|
||||
|
||||
/* 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 tiny screens
|
||||
@media (max-width: $tiny) {
|
||||
/* 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: $tiny) {
|
||||
.no-wrapping {
|
||||
word-wrap: normal;
|
||||
hyphens: manual;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue