User:Hydriz/global.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. |
![]() | Documentation for this user script can be added at User:Hydriz/global. This user script seems to have an accompanying .js page at User:Hydriz/global.js. |
/**
* The global CSS file for User:Hydriz
*
* This is the global CSS file for use by User:Hydriz across the Wikimedia
* Foundation. It is being required in User:Hydriz/vector.css of every wiki.
* Please note that changes here would affect 800+ wikis and wrong code will
* go *boom*
*
* Please avoid editing this page if you are not Hydriz!
*
* @author Hydriz
*/
/* Removes unnecessary information */
/* Removed content include: Log out link, ULS link and the Print/export toolbox */
li#pt-logout, li#pt-uls, div#p-coll-print_export {
display:none;
}
/* Makes the text of the "save" button bold */
#wpSave {
font-weight: bold;
}
/* Redirects italic and green in Special:Allpages and Special:Prefixindex */
.allpagesredirect {
font-style: italic;
color: green;
}
.allpagesredirect a {
font-style: italic;
color: green;
}
.allpagesredirect a:visited {
color: #008000;
}
/* Fix to get back the bold minor edit icon (introduced in 1.18) */
.minoredit {
font-weight: bold;
}
/* Change the external link icon to an Adobe icon for all PDF files
in browsers that support these CSS selectors, like Mozilla and Opera */
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
padding-right: 18px;
}
/**
* Vector-skin specific:
* Ensure the spacing between the "personal tools" and the tabs is
* constant everywhere (thanks to en.wiktionary.org)
*/
.skin-vector-legacy #left-navigation {
margin-top: 2.5em;
}
.skin-vector-legacy #right-navigation {
margin-top: 2.5em;
}
.skin-vector-legacy #mw-head-base {
height: 5em;
}
/* Styles for MoreMenu gadget */
.skin-vector #p-user2 {
width: 3.68em;
}
.skin-vector #p-page2 {
width: 3.85em;
}
.client-js .skin-vector #p-cactions.mm-loaded::after {
display: none !important;
}
.client-js .skin-vector.ns-2 #p-search,
.client-js .skin-vector.ns-3 #p-search {
padding-left: 3.68em;
}
.client-js .skin-vector:not(.ns-special) #p-cactions::after,
.client-js > .skin-vector.mw-special-Contributions #p-cactions::after,
.client-js > .skin-vector.mw-special-DeletedContributions #p-cactions::after {
content: '';
display: inline-block;
width: 3.85em;
}
/**
* Increase the font size of Chinese text
*/
div#mw-content-text:lang(zh), div#mw-content-text:lang(zh-Hans), div#mw-content-text:lang(zh-Hant) {
font-size: 120%;
}