Template:Styles/Default.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
hide jump to nav/search links, not needed since nav/search are not available |
add .sr-only for visually hidden screenreader only content - same rule as banners |
||
Line 7: | Line 7: | ||
-webkit-box-sizing: border-box; |
-webkit-box-sizing: border-box; |
||
box-sizing: border-box; |
box-sizing: border-box; |
||
} |
|||
/* visually hidden - screenreader only */ |
|||
.sr-only { |
|||
border: 0 !important; |
|||
clip: rect(1px, 1px, 1px, 1px) !important; |
|||
-webkit-clip-path: inset(50%) !important; |
|||
clip-path: inset(50%) !important; |
|||
height: 1px !important; |
|||
margin: -1px !important; |
|||
overflow: hidden !important; |
|||
padding: 0 !important; |
|||
position: absolute !important; |
|||
width: 1px !important; |
|||
white-space: nowrap !important; |
|||
} |
} |
||