[view | edit | history | purge]The above documentation is transcluded from User:Majr/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.
/** General fixes **/
/* Stop pre (often used for code blocks) from breaking out the page */
pre {
overflow-x: auto;
}
/* Don't allow edit form to be resized horizontally, so it stays 100% width */
#wpTextbox1 {
resize: vertical;
}
/* Fix spacing at bottom of watchlist options */
#mw-watchlist-form-namespaceselector p {
margin-bottom: 0;
}
/* Stop patrol link floating */
div.patrollink {
clear: both;
}
/* Make space for the WikiEditor */
.client-js .mw-editform > #wpTextbox1 {
margin-top: 33px;
}
.mw-editform .wikiEditor-ui-top {
min-height: 0;
}
/** Personal Vector skin improvements **/
/* Make redirect links green on editing */
body.action-edit .mw-redirect,
body.action-edit .mw-redirect:link,
body.action-edit .mw-redirect:visited {
color: #008000;
}
/* Make delete/protect reason field and edit summary field take up the whole screen width */
#wpTextbox1,
input#wpSummary,
#mw-deleteconfirm-table,
#mw-img-deleteconfirm-table,
input#wpReason,
#mw-protect-table3,
input#mwProtect-reason,
.mw-special-Block .mw-input,
.mw-special-Block #mw-input-wpReason-other {
width: 100%;
-moz-box-sizing: border-box;
}
#mw-deleteconfirm-table .mw-label,
#mw-img-deleteconfirm-table .mw-label,
#mw-protect-table3 .mw-label {
width: 138px;
}
.mw-special-Block .mw-label {
min-width: 142px;
}
/* Forcing javascript watchlist individual revision tables closed */
.mw-enhanced-rc tr {
display: none;
}
.mw-enhanced-rc tr:first-child {
display: table-row;
}
/* Hiding diff patrol links */
#mw-diff-ntitle4 .patrollink {
display: none;
}
/* Fixing usermessage spacing */
.usermessage {
margin: 0 0 1em;
}
/* Hide diff markers, the colours make it obvious */
td.diff-marker {
visibility: hidden;
}
table.diff col.diff-marker {
width: 0;
}
table.diff col.diff-content {
width: 50%;
}
/* Prism syntax highlighting */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
pre code {
border: none;
padding: 0;
}
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;
}
/* Fix outline on clicked gallery images looking all weird */
li.gallerybox div.thumb > div > a > img {
display: inline-block;
}
li.gallerybox div.thumb > div > div {
overflow-x: auto;
}
/* Centre watch/unwatch messages */
.mw-js-message-watch {
text-align: center;
}
/* Add [File:Grid Iron Pickaxe.png] to director userlinks */
.mw-userlink[title="User:.zip"],
.mw-userlink[title="User:Alswo9628"],
.mw-userlink[title="User:Archomeda"],
.mw-userlink[title~="User:Bloodhit"],
.mw-userlink[title~="User:Cba"],
.mw-userlink[title~="User:Cero"],
.mw-userlink[title="User:Craft Lawrence"],
.mw-userlink[title="User:CrazyBliep"],
.mw-userlink[title="User:Edenapple"],
.mw-userlink[title="User:GreenStone"],
.mw-userlink[title="User:HEKP0H"],
.mw-userlink[title="User:Hzy980512"],
.mw-userlink[title="User:ILeon"],
.mw-userlink[title="User:Icguy"],
.mw-userlink[title="User:Itouchmasterpro"],
.mw-userlink[title="User:Jimeowan"],
.mw-userlink[title="User:Kingpowl"],
.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:Norrius"],
.mw-userlink[title="User:Pilzsuppe"],
.mw-userlink[title~="User:Pochi33"],
.mw-userlink[title="User:Promaster"],
.mw-userlink[title~="User:R0B"],
.mw-userlink[title="User:Raffox97"],
.mw-userlink[title="User:Ruansvrn324"],
.mw-userlink[title="User:STS"],
.mw-userlink[title="User:Scaler"],
.mw-userlink[title="User:Shahter"],
.mw-userlink[title~="User:Tarne"],
.mw-userlink[title="User:Teksel"],
.mw-userlink[title="User:The Miner"],
.mw-userlink[title="User:TheWombatGuru"],
.mw-userlink[title="User:Tomato"],
.mw-userlink[title="User:TunSha"],
.mw-userlink[title="User:YSelf"] {
padding-left: 19px;
background: url(https://web.archive.org/web/20200827215022im_/https://static.wikia.nocookie.net/minecraft_gamepedia/images/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: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(https://web.archive.org/web/20200827215140im_/https://static.wikia.nocookie.net/minecraft_gamepedia/images/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:CrsBenjamin"],
.mw-userlink[title~="User:DoranM"],
.mw-userlink[title="User:Eyes"],
.mw-userlink[title~="User:Kaelten"],
.mw-userlink[title~="User:Smokie"],
.mw-userlink[title~="User:Telshin"],
.mw-userlink[title="User:Wynthyst"] {
padding-left: 12px;
background: url(/media/6/6b/CurseFlame.png) no-repeat left center;
}
/* Junk-b-gone */
#p-socialProfiles,
#p-sharing,
#msupload-dropzone,
#ca-switch_type,
#pagehistory .mw-thanks-thank-link,
.live-on-twitch,
.mw-editnotice,
#editpage-copywarn,
.mw-editTools {
display: none !important;
}
#msupload-div {
border: 0;
}
/** Various testing stuffs **/
/* <p> spacing fix */
/*
#mw-content-text p:first-child {
margin-top: 0;
}
#mw-content-text p:last-child {
margin-bottom: 0;
}
*/
/*.twitter-feed {
background: url(/media/c/c5/Ajax_loading.gif) no-repeat center;
min-height: 100px;
}
.twitter-feed.twitter-success, .twitter-feed.twitter-failure {
background: none;
min-height: 0;
}
.twitter-feed p,
.twitter-feed ul,
.twitter-feed li {
margin: 0;
}
.twitter-feed ul {
list-style-type: none;
}
.twitter-feed-name .twitter-feed-tweet-body {
padding-left: 58px;
}
.twitter-feed-tweet-name a,
a.twitter-feed-tweet-atreply,
a.twitter-feed-tweet-hashtag,
.twitter-feed a u {
text-decoration: none;
}
.twitter-feed a i {
opacity: 0.6;
font-style: normal;
}
.twitter-feed-tweet-name a:hover strong,
.twitter-feed a:hover u {
text-decoration: underline;
}
.twitter-feed-tweet-body {
position: relative;
border-top: 1px solid #E8E8E8;
padding-top: 0.47em;
padding-bottom: 0.47em;
}
.twitter-feed-tweet-body:first-child {
border-top: none;
padding-top: 0;
}
.twitter-feed-tweet-body:last-child {
padding-bottom: 0;
}
.twitter-feed-tweet-name a {
color: #000000;
}
.twitter-feed-tweet-name a i,
.twitter-feed-tweet-name a u {
text-decoration: none !important;
color: #999999;
font-size: 90%;
}
.twitter-feed-tweet-avatar {
position: absolute;
top: 11px;
left: 0;
}
.twitter-feed-tweet-body:first-child .twitter-feed-tweet-avatar {
top: 5px;
}
*/