User:Dlrohrer2003/global.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Miscellaneous
* =============================================================================
*/
#mw-content-text p {
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
text-align: justify;
}
.mw-highlight pre {
-moz-tab-size: 8;
tab-size: 8;
width: fit-content;
}
/* Define the color of links to redirect pages */
.mw-redirect:link {
color: #005b2a;
}
.mw-redirect:visited {
color: #3cb371;
}
.mw-redirect:active {
color: #a7d956;
}
/* Define the color of links to disambig pages */
.mw-disambig:link {
color: #a95f00;
}
.mw-disambig:visited {
color: #ed923a;
}
.mw-disambig:active {
color: #ffce72;
}
/* Highlight search matches */
.searchmatch {
background-color: #eff298;
}
.searchresult .searchmatch {
color: #ec372a;
}
a:hover .searchmatch {
text-decoration: underline;
}
/* Define shading list items in recent changes and watchlist */
.mw-line-odd {
background-color: transparent;
}
.mw-line-even {
background-color: #f2f2f2;
}
/* Textarea editability color coding
* -----------------------------------------------------------------------------
* Description: Change background color of the textareas based on editability
* * Light green for unprotected pages
* * Light yellow for semi-protected pages
* * Light red for interface and fully-protected pages
* * Light gray for readonly pages
*/
#wpTextbox1 {
background-color: #dbffdb;
}
#wpTextbox1.mw-textarea-sprotected { /* Semi-protected */
background-color: #ffffdb;
}
.ns-2[class*="_css"] #wpTextbox1, /* ex. User:Example/vector.css */
.ns-2[class*="_css"] .ace_content,
.ns-2[class*="_js"] #wpTextbox1, /* ex. User:Example/vector.js */
.ns-2[class*="_js"] .ace_content,
#wpTextbox1.mw-textarea-protected { /* Fully-protected */
background-color: #ffdbdb;
}
#wpTextbox1[readonly] {
background-color: #dbdbdb;
}