User:Quiddity/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.
/* Universal tweaks in https://github.com/quiddity-wp/wikimedia-style-tweaks */
/* test from [[WMDE Technical Wishes/Improved Color Scheme of Syntax Highlighting]]
@import url("https://meta.wikimedia.org/wiki/User:Elisha_Cohen_(WMDE)/syntax_highlighting_demo.css?action=raw&ctype=text/css"); */
/* contribs icon */
@media screen and (min-width: 720px) {
#pt-contribs > a {
background: url(/w/load.php?modules=oojs-ui.styles.icons-user&image=userContributions&format=original) no-repeat;
background-size: 17px;
padding: 10px 8px 7px 8px;
max-width: 22px;
font-size: 1px;
color: white;
text-decoration: none;
background-color: white;
}
#pt-contribs {
margin-top: -5px;
}
}
@media screen and (max-width: 719px) {
#pt-contribs > a {
display:none;
}
}
/* random icon */
#pt-random > a {
background: url(/w/load.php?modules=oojs-ui.styles.icons-content&image=die&format=original) no-repeat;
background-size: auto;
padding: 10px 9px 8px 10px;
max-width: 22px;
font-size: 1px;
color: white;
text-decoration: none;
margin:0;
opacity:0.7;
background-color: white;
}
#pt-random {
margin-top: -5px;
margin-left: 5px;
}