User:Alhadis/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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Reveal citation maintenance messages */
.mw-parser-output .cs1-maint,
.mw-parser-output .cs1-hidden-error{
display: inline !important;
}
/**
* Auto-select terms ostensibly related to computing,
* unless an override class exists on the root element.
*/
:root:not(.disable-auto-select) :is(
:is(dd, li, p) > :is(code, samp, tt):not(
:empty, /* Skip blank elements */
[style], [class], /* Ignore elements with styling */
:has(> *) /* Filter results with nested elements */
):lang(en),
/* Unambiguous computer-related terms: */
i > .ipaddr, /* {{IPaddr|…}} */
.macaddr /* {{MACaddr|…}} */
){
--tint: 0 85 0;
cursor: default;
user-select: all;
color: rgb(var(--tint));
font: .9em Menlig, monospace;
padding: 1px 2px;
margin: auto -1px;
&:hover{
background-color: rgb(var(--tint, currentColor) / 2.85%);
}
/* Clear styling of immediate descendants when unambiguous */
&:where(.macaddr) > i:only-child,
&:where(.ipaddr) > span{
padding: unset !important;
font-style: inherit !important;
pointer-events: none;
}
}