MediaWiki:Common.css: Difference between revisions

From Indpedia
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 4: Line 4:
}
}


/* 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;
}
}

Revision as of 13:58, 12 October 2025

/* CSS placed here will be applied to all skins */
#ca-viewsource {
    display: none;
}

/* Copy deterrent only when JS marks the page as .no-copy */
.no-copy body,
.no-copy #mw-content-text,
.no-copy .mw-parser-output {
  -webkit-user-select: none;
  -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;
}