mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-18 09:40:49 +00:00
05cb5cc1a0
Move the JS which is purely for accessibility purposes into a separate JS RL module named ext.cite.a11y. Move all pure CSS, which is not dependant on accompanying JS into a separate ext.cite.styles module Bug: T101559 Change-Id: I58adcfbcf9af2bb3b6d5dabb6c38c42af78e0416
17 lines
599 B
CSS
17 lines
599 B
CSS
/**
|
|
* Per http://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html
|
|
* and https://en.wikipedia.org/w/index.php?oldid=572888139#Scrolling_past_the_bottom_of_the_page...
|
|
*/
|
|
.cite-accessibility-label {
|
|
position: absolute !important;
|
|
/* Workaround a Webkit/Blink bug about positioning within columns as many wikis format references with several columns */
|
|
top: -99999px;
|
|
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
padding: 0 !important;
|
|
border: 0 !important;
|
|
height: 1px !important;
|
|
width: 1px !important;
|
|
overflow: hidden;
|
|
}
|