MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 301: Line 301:
}
}


/* Disable text selection in article content */
/* Copy deterrent only when JS marks the page as .no-copy */
body, #mw-content-text, .mw-parser-output {
.no-copy body,
   -webkit-user-select: none; /* Safari/Chrome */
.no-copy #mw-content-text,
   -moz-user-select: none;   /* Firefox */
.no-copy .mw-parser-output {
   -ms-user-select: none;     /* IE/Edge */
   -webkit-user-select: none;
   user-select: none;         /* Standard */
   -moz-user-select: none;
   -ms-user-select: none;
  user-select: none;
}
 
/* Always allow selection inside inputs/edit areas */
input, textarea, select,
.mw-editfont-monospace, pre, code, kbd, samp,
.mw-diff-table, .diff, #wpTextbox1 {
   -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}
}