User:Mathglot/common.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .js page for this skin is at User:Mathglot/common.js. |
/* Turn the "Save page" button green when logged in ('INPUT' is overqualified here)*/
INPUT#wpSave {
background-color:#66cc66;
}
/* Suppress annoying floating arrows generated by [[Template:skip to top and bottom]] */
#skip-to-top-button, #skip-to-bottom-button {display: none;}
/* Block 'Your edit has been saved!' popup:
.postedit {display:none;}
/* display Citation Style 1 maintenance messages, per Help:CS1 errors#Controlling_error_message_display */
.mw-parser-output span.cs1-maint {display: inline;}
/* Per 'Category:CS1 maint: PMC format', to display CS1 and CS2 maintenance messages ('span' is overqualified here) */
.mw-parser-output span.cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */
.mw-parser-output span.cs1-hidden-error {display: inline;} /* display hidden CS1 error messages */
/* Use box class to adjust size, display, or position of Expand language template;
inspired by Tfd at: Wikipedia:Templates for discussion/Log/2021 April 16#Expand language */
/* Note: articles with multiple templates with 'section=yes' will be stacked (overlaid) so that only
the last one will be visible at the bottom of the page; and with no indication what section it was from.
This can probably be fixed by adding param {{{class}}} to Expand language, and adding
'class=box-Expand_language-section' to the {{ambox}} invocation when param 'section' ='yes', and then
adjusting the css. (Maybe just 'box-Expand-language-article' when 'no'; then only article box gets moved.) */
.box-Expand_language-article {position: absolute; font-size:90%; width: 75%; bottom: -50px;} /* Move to bottom */
.box-Expand_language-show {display:none !important} /* Briefer text reduces box height (at most window widths) */
/* .box-Expand_language {display:none} /* Don't display it at all */
/* Test for example at Template_talk:Interlanguage_link#Thought */
/* To make [xx] link bigger, use: span.ill_links{font-size:150%} To make it disappear, do this: */
span.ill_links {display:none}
/* Test for nowrap hatnote links – see Template talk:Further#Adding nowrap */
.hatnote a {white-space: nowrap;}
.unreliable-source {background-color:pink} /* trial: see WT:MED#User script to detect unreliable sources */
/* Target the 120 char-wide 'Description' column in the table at Special:Tags and narrow it to 50%: */
/* body class=page-Special_Tags (and 19 others); table class=mw-tags-table */
.mw-tags-table {table-layout:fixed; width:100%}
.page-Special_Tags .mw-tags-table th:nth-child(1) {width:6.5em} /* Tag name */
.page-Special_Tags .mw-tags-table th:nth-child(2) {width:7.5em} /* Appearance... */
.page-Special_Tags .mw-tags-table th:nth-child(3) {width:20em} /* Description header */
.page-Special_Tags .mw-tags-table th:nth-child(4) {width:6em} /* Source */
.page-Special_Tags .mw-tags-table th:nth-child(5) {width:2em} /* Active? header */
.page-Special_Tags .mw-tags-table th:nth-child(6) {width:4em} /* Tagged changes */
.page-Special_Tags .mw-tags-table td:nth-child(3) {width:20em; color:blue;overflow-x:auto} /* Description data */
/* .tmbox {display:block !important} /* workaround for T257394 */
/* .talkheader {display:block !important} /* above didn't work; try this. */
#talkheader {display:block !important} /* works in User, User talk, not in Talk space */
.ns1 #talkheader {display:block !important} /* try targeting the name space specifically */
.mw-parser-output span.cs1-hidden-error {display: inline;} /* display hidden Citation Style 1 error messages */
/* Suppress popup, per [[Wikipedia:Village pump (technical)/Archive 199#Can "Your edit was published" be disabled?]] */
.postedit{display: none;}
/* Tag errors from Module:Footnotes, to distinguish them from HarvErrors script errors if both are enabled: */
.harv-error::before{content: "Mod:FN "} /* Add prefix tag */
/* display Module:Footnotes errors per User talk:ActivelyDisinterested#Sfn whitelisting question */
/* might need to remove User:Trappist_the_monk/HarvErrors.js from common.js */
/* .harv-error {display: inline !important;} /* not anymore; the script is more robust now */
/* See script User:Trappist the monk/HarvErrors#Style customization */
body .ttm_harv_err {color:#003300; font-weight:7; border:thin solid gray; background-color:cornsilk}
/* Dynamic ill test */
/* .ill-group {display:none} */ /* because I want to see them. */
.ill-fr !important {display:inline; color:darkseagreen; font-weight:7}
.ill-es !important, .ill .ill-de !important, .ill .ill-nl !important, .ill .ill-pt !important, .ill .ill-it !important, .ill .ill-ca !important {display:inline; color:darkseagreen; font-weight:7}
body .ttai_pwb !important {background-color:yellowgreen; color:#AA00AA; border:thin solid gray;} /* test */
/* Accompaniment to Anomie linkclassifier.js, to tag Redirects with possibilities */
body a.redirect-with-possibilities::after{content: " ⷬ"} /* Add tag */
/* WORKING: body .refideas {display:none} /* Turn off {{Refideas editnotice}} in the body*/