mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-12 09:10:32 +00:00
f8ed124589
Steps to test the change: * Open a random page in browser. * Select all or a part of the page. * Copy the selection to clipboard. * Open a word processor like LibreOffice Writer. * Paste the content of the clipboard. Change-Id: Ibae4292b5dd8cc02a769e85adfea991d8d6ceb59
25 lines
746 B
CSS
25 lines
746 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;
|
|
}
|
|
|
|
.mw-cite-backlink,
|
|
.cite-accessibility-label {
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|