Ghost/core/client/assets/sass/patterns/global.scss

57 lines
833 B
SCSS

//
// Globals
// --------------------------------------------------
*, *:before, *:after {
@include box-sizing(border-box);
}
html {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
width: 100%;
}
a, a:active {
text-decoration: none;
}
//
// Utilities
// --------------------------------------------------
.show {
display: block !important;
}
.hidden {
display: none !important;
visibility: hidden !important;
}
.invisible {
visibility: hidden;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
&:active,
&:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
}