Usage
Custom CSS used before the move to Fandom. I suspect only about half of it still works, see User:KnightMiner/common.css for currently active CSS.
[view | edit | history | purge]The above documentation is transcluded from User:KnightMiner/hydra.css/doc.
Note: After saving, you have to bypass your browser's cache to see the changes.
Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Change watch tab's icon to that of a minecraft book
[[File:Book-watch-icons.png]] */
#ca-watch.icon a,
#ca-watch.icon a:hover,
#ca-watch.icon a:focus,
#ca-watch.icon a.loading,
#ca-unwatch.icon a,
#ca-unwatch.icon a:hover,
#ca-unwatch.icon a:focus,
#ca-unwatch.icon a.loading {
background-image: url("http://hydra-media.cursecdn.com/minecraft.gamepedia.com/2/28/Book-watch-icons.png");
-webkit-background-clip: content-box;
background-clip: content-box;
text-indent: 40px;
height: 16px;
width: 16px;
padding: 14px 7px 6px 12px;
}
#ca-watch.icon a {
background-position: 12px 15px !important;
}
#ca-unwatch.icon a {
background-position: -4px 15px !important;
}
#ca-watch.icon a:hover,
#ca-watch.icon a:focus {
background-position: 12px -1px !important;
}
#ca-unwatch.icon a:hover,
#ca-unwatch.icon a:focus {
background-position: -4px -1px !important;
}
#ca-watch.icon a.loading,
#ca-unwatch.icon a.loading {
background-position: -20px -1px !important;
-webkit-animation: none;
-moz-animation: none;
-o-animation: none;
}
/* Secret Knight class */
.KnightMiner {
display: block !important;
}
/** Fixes **/
/* Hide stuff I don't want */
table.mw-changeslist-log-newusers,
#p-socialProfiles,
#p-sharing,
#p-sitePromos {
display: none !important;
}
/* Stop the visited links in [[Special:ListUsers]] and similar pages from seeming like red links */
.curse_account .a, a:visited {
color: #0b0080;
}
/* Stop pre (often used for code blocks) from breaking out the page */
pre {
overflow-x: auto;
}
/* Stop the "You have new messages" text from cropping */
#pt-mytalk a.mw-echo-alert {
font-size: smaller;
}
/** Userlinks - original code from [[User:Majr/hydra.css]] **/
/* Add [[File:Grid Golden Pickaxe.png]] to my userlinks */
.mw-userlink[title="User:KnightMiner"] {
padding-left: 19px;
background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/thumb/3/3f/Grid_Golden_Pickaxe.png/16px-Grid_Golden_Pickaxe.png) no-repeat left center;
}
/* Add [[File:Grid Redstone.png]] to bot Userlinks */
.mw-userlink[title="User:Abuse filter"],
.mw-userlink[title="User:Dand0Bot"],
.mw-userlink[title="User:Gnu648357"],
.mw-userlink[title="User:IdefixBot"],
.mw-userlink[title="User:JARVISTheBot"],
.mw-userlink[title="User:MajrBot"],
.mw-userlink[title="User:Overwatch AI"],
.mw-userlink[title="User:R2-D2"],
.mw-userlink[title="User:Widowbot"] {
padding-left: 19px;
background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/thumb/f/fd/Grid_Redstone.png/16px-Grid_Redstone.png) no-repeat left center;
}
/* [[File:Grid Glowstone Dust.png]] for my bot */
.mw-userlink[title="User:KnightBot4"] {
padding-left: 19px;
background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/thumb/8/85/Grid_Glowstone_Dust.png/16px-Grid_Glowstone_Dust.png) no-repeat left center;
}
/* Add [[File:Grid Iron Pickaxe.png]] to director userlinks */
.mw-userlink[title="User:Archomeda"],
.mw-userlink[title="User:Asassin 1"],
.mw-userlink[title~="User:Cero"],
.mw-userlink[title="User:Craft Lawrence"],
.mw-userlink[title="User:Craft Lawrence17659"],
.mw-userlink[title="User:CrazyBliep"],
.mw-userlink[title="User:Edenapple"],
.mw-userlink[title="User:HEKP0H"],
.mw-userlink[title="User:Hzy98051216575"],
.mw-userlink[title="User:ILeonx"],
.mw-userlink[title="User:Icguy"],
.mw-userlink[title="User:Itouchmasterpro"],
.mw-userlink[title="User:Ivan r"],
.mw-userlink[title="User:Jimeowan"],
.mw-userlink[title~="User:KunaiFire"],
.mw-userlink[title="User:LeGrund"],
.mw-userlink[title="User:Lewandowski"],
.mw-userlink[title~="User:Loppi"],
.mw-userlink[title="User:LukiGamer"],
.mw-userlink[title~="User:Pochi33"],
.mw-userlink[title="User:Promaster6304"],
.mw-userlink[title~="User:R0B"],
.mw-userlink[title="User:Raffox97"],
.mw-userlink[title="User:Ruansvrn324"],
.mw-userlink[title="User:Ryo567"],
.mw-userlink[title="User:STS"],
.mw-userlink[title="User:Scaler6902"],
.mw-userlink[title="User:Shahter100256"],
.mw-userlink[title~="User:Skyhi14"],
.mw-userlink[title~="User:STSc"],
.mw-userlink[title~="User:Sumpfhuette"],
.mw-userlink[title~="User:Tarne12081"],
.mw-userlink[title="User:Teksel10135"],
.mw-userlink[title="User:TheWombatGuru"],
.mw-userlink[title="User:Tomato5768"],
.mw-userlink[title="User:TunSha"],
.mw-userlink[title="User:User GreenStone"],
.mw-userlink[title="User:Wizdeck"],
.mw-userlink[title="User:Xzipx"] {
padding-left: 19px;
background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/thumb/1/1d/Grid_Iron_Pickaxe.png/16px-Grid_Iron_Pickaxe.png) no-repeat left center;
}
/* Add [[File:Grid Diamond Pickaxe.png]] to en admin userlinks */
.mw-userlink[title="User:Citricsquid"],
.mw-userlink[title="User:Dinoguy1000"],
.mw-userlink[title="User:Goandgoo"],
.mw-userlink[title="User:Hower64"],
.mw-userlink[title="User:IKJames"],
.mw-userlink[title="User:Kanegasi"],
.mw-userlink[title="User:Kizzycocoa"],
.mw-userlink[title="User:Majr"],
.mw-userlink[title="User:Oliver Scholz"],
.mw-userlink[title="User:Orthotope"],
.mw-userlink[title="User:Powup333"],
.mw-userlink[title="User:Quatroking"] {
padding-left: 19px;
background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/thumb/c/ce/Grid_Diamond_Pickaxe.png/16px-Grid_Diamond_Pickaxe.png) no-repeat left center;
}
/* Add [[File:CurseFlame.png]] to Curse staff userlinks */
.mw-userlink[title~="User:Azxiana"],
.mw-userlink[title="User:Cathadan"],
.mw-userlink[title="User:Cblair91"],
.mw-userlink[title="User:CrsBenjamin"],
.mw-userlink[title~="User:DoranM"],
.mw-userlink[title="User:Game widow"],
.mw-userlink[title~="User:Kaelten"],
.mw-userlink[title="User:OOeyes"],
.mw-userlink[title~="User:Smokie"],
.mw-userlink[title~="User:Telshin"],
.mw-userlink[title~="User:Wagnike2"],
.mw-userlink[title="User:Wynthyst"] {
padding-left: 12px;
background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/6/6b/CurseFlame.png) no-repeat left center;
}
/** Courtesy of [[User:Goandgoo/common.css]] **/
/* Label anonymous userlinks (IPs) differently from others */
.mw-userlink[title^="Special"] {
background-color: #CCC;
font-family: "Courier New";
}
/** Courtesy of [[User:Majr/hydra.css]] **/
/* Make the "changed since your last visit" on page history have a cyan background and darker cyan outline
Basically a cyan version of the "You have new messages" box */
.updatedmarker {
background: #00FFFF;
border: 1px solid #00BEFF;
padding: 1px;
}
/* Make redirect links green when editing pages */
body.action-edit .mw-redirect,
body.action-edit .mw-redirect:link,
body.action-edit .mw-redirect:visited,
body.action-submit .mw-redirect,
body.action-submit .mw-redirect:link,
body.action-submit .mw-redirect:visited {
color: #008000;
}
/* Prism syntax highlighting */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
pre,
code,
tt,
kbd,
samp,
.mw-code {
font-family: Consolas, monospace;
}
code[class*="language-"],
pre[class*="language-"],
pre[class*="mw-code"] {
color: black;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
.token.comment {
color: #45A946;
font-style: normal;
}
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
font-style: normal;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.regex {
color: #1E66B1;
}
.token.operator,
.token.entity,
.token.url {
color: #a67f59;
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #DD0058;
}
.token.number,
.token.important {
color: #e90;
}
.token.important {
font-weight: bold;
}
.token.entity {
cursor: help;
}
/* Make links in code keep their syntax highlighting colours
* but add an underline so it's still obvious they're clickable */
.mw-code a:not(:hover) {
color: inherit;
text-decoration: underline;
}
/** Testing stuff **/