User:Kanegasi/common.css

/*** Everything after these 'Personal customizations' courtesy of ultradude25's vector.css page ***/ /*** Hiding User creation log possible with ultradude25's assistance ***/

/** Personal customizations **/ /* Hides the User creation log in the enhanced JavaScript Recent Changes */ table[class*="mw-changeslist-log-newusers-"] { display: none; }

/* Make infobox push page text to the left a little */ .infobox { margin-left: 2em; }

/* Add an icon to myself in histories and changes as well as an icon to anonymous users */ /* (Idea came from ultradude25's code further down the page that added icons to all admins) */ .mw-userlink[title="User:Kanegasi"] { padding-left: 17px; background: url("http://media-mcw.cursecdn.com/5/55/Grid_Head.png") no-repeat left center; background-size: contain; } .mw-userlink[title*="."] { padding-left: 17px; background: url("http://media-mcw.cursecdn.com/e/ed/Grid_Clay_%28Brick%29.png") no-repeat left center; background-size: contain; }

/** General fixes **/ /* Replaces the logo in the upper left with something better that matches the wiki skin */ background-image: url("http://media-mcw.cursecdn.com/8/89/Logo2.png") !important; height: 145px; } div#mw-panel { padding-top: 0; }
 * 1) p-logo a {

/* Stop pre (often used for code blocks) from breaking out the page */ pre { overflow-x: auto; }

/* Don't allow text area to be resized horizontally beyond the content area (by browsers that support client textbox resizing, like Firefox and Chrome) */ max-width: 100%; }
 * 1) editform, #toolbar, #wpTextbox1 {

/* Fix spacing at bottom of watchlist options */ margin-bottom: 0; }
 * 1) mw-watchlist-form-namespaceselector p {

/* Fix editbox and summary breaking out of the page */ margin-right: 5px; } .editOptions { margin-right: 1px; }
 * 1) editform {

/* Stop patrol link floating */ div.patrollink { clear: both; }

/* Fix category height */ line-height: 1.25em; margin: 0.125em 0; }
 * 1) catlinks li {

/* Fade language links on special pages where they are unwanted */ .ns-special ol.special a[title*="/cz "], .ns-special ol.special a[title$="/cz"], .ns-special ol.special a[title*="/it "], .ns-special ol.special a[title$="/it"], .ns-special ol.special a[title*="/no "], .ns-special ol.special a[title$="/no"], .ns-special ol.special a[title*="/fin "], .ns-special ol.special a[title$="/fin"], .ns-special ol.special a[title*="/sr "], .ns-special ol.special a[title$="/sr"], .ns-special ol.special a[title*="/ua "], .ns-special ol.special a[title$="/ua"], .ns-special ol.special a[title*="/he "], .ns-special ol.special a[title$="/he"], .ns-special ol.special a[title*="/se "], .ns-special ol.special a[title$="/se"], .ns-special ol.special a[title*="/dk "], .ns-special ol.special a[title$="/dk"], .ns-special ol.special a[title*="/th "], .ns-special ol.special a[title$="/th"], .ns-special ol.special a[title*="/ro "], .ns-special ol.special a[title$="/ro"], .ns-special ol.special a[title*="/hr "], .ns-special ol.special a[title$="/hr"], .ns-special ol.special a[title*="/es "], .ns-special ol.special a[title$="/es"], .ns-special ol.special a[title*="/gre "], .ns-special ol.special a[title$="/gre"], .ns-special ol.special a[title*="/tr "], .ns-special ol.special a[title$="/tr"], .ns-special ol.special a[title*="/eo "], .ns-special ol.special a[title$="/eo"], .ns-special ol.special a[title*="/et "], .ns-special ol.special a[title$="/et"], .ns-special ol.special a[title*="/ca "], .ns-special ol.special a[title$="/ca"] { opacity: 0.4; }

/** Vector skin improvements **/ /* 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 the search box bigger */ width: 308px !important; }   width: 282px !important; } .suggestions:last-of-type { width: 313px !important; }
 * 1) simpleSearch {
 * 1) simpleSearch input {

/* Make redirect links green */ .mw-redirect, .mw-redirect:link, .mw-redirect:visited { color: #008000; }

/* Stop redirect links in comments and user links (the (Talk | Contribs) area in logs and page histories) from being green */ .comment .mw-redirect, .mw-usertoollinks .mw-redirect, .mw-userlink.mw-redirect { color: #0645AD !important; } .comment .mw-redirect:visited, .mw-usertoollinks .mw-redirect:visited, .mw-userlink.mw-redirect:visted { color: #0B0080 !important; } .comment .mw-redirect:active, .mw-usertoollinks .mw-redirect:active, .mw-userlink.mw-redirect:active { color: #FAA700 !important; }

/* Make delete/protect reason field and edit summary field take up the whole screen width */ input#wpSummary, input#wpReason, input#mwProtect-reason, .mw-special-Block .mw-input, .mw-special-Block #mw-input-wpReason-other { width: 100%; }   width: 138px; } .mw-special-Block .mw-label { min-width: 142px; }
 * 1) mw-deleteconfirm-table,
 * 2) mw-img-deleteconfirm-table,
 * 1) mw-protect-table3,
 * 1) mw-deleteconfirm-table .mw-label,
 * 2) mw-img-deleteconfirm-table .mw-label,
 * 3) mw-protect-table3 .mw-label {

/* MW 1.20 style diff */ td.diff-otitle, td.diff-ntitle { text-align: center; }

td.diff-marker { text-align: right; font-weight: bold; font-size: 1.25em; }

td.diff-lineno { font-weight: bold; }

td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 88%; vertical-align: top; white-space: -moz-pre-wrap; white-space: pre-wrap; }

td.diff-addedline, td.diff-deletedline { border-style: solid; border-width: 1px 1px 1px 4px; background-color: #F9F9F9 !important; }

td.diff-addedline { border-color: #a3d3ff; }

td.diff-deletedline { border-color: #ffe49c; }

td.diff-context { background: #f3f3f3 !important; color: #333333; border-style: solid; border-width: 1px 1px 1px 4px; border-color: #e6e6e6; }

.diffchange { font-weight: bold; text-decoration: none; }

table.diff { border: none; width: 98%; border-spacing: 4px;

/* Ensure that colums are of equal width */ table-layout: fixed; }

td.diff-addedline .diffchange, td.diff-deletedline .diffchange { padding: 0.25em 0; color: #000; }

td.diff-addedline .diffchange { background: #d8ecff; }

td.diff-deletedline .diffchange { background: #feeec8; }

table.diff td { padding: 0.33em 0.66em; }

table.diff col.diff-marker { width: 2%; }

table.diff col.diff-content { width: 48%; }

table.diff td div { /* Force-wrap very long lines such as URLs or page-widening char strings.*/ word-wrap: break-word; }

/* Make toolbox permanently open */ display: block !important; }   background-image: url("http://media-mcw.cursecdn.com/f/fb/Arrow-down.png") !important; }
 * 1) p-tb div.body {
 * 1) mw-panel.collapsible-nav div#p-tb.portal h5 {

/* Hiding diff patrol links */ display: none; }
 * 1) mw-diff-ntitle4 .patrollink {

/* Fixing spacing when adverts are disabled */ body.page-Minecraft_Wiki.action-view #contentSub { margin: 0; }

/* Fixing usermessage spacing */ .usermessage { margin: 0 0 1em; }

/* Syntax highlighting style */ pre.sh_sourceCode .sh_keyword { color: #ff3030; font-weight: bold; }

pre.sh_sourceCode .sh_type { color: #f7b92c; }

pre.sh_sourceCode .sh_string { color: #1861a7; }

pre.sh_sourceCode .sh_regexp { color: #1861a7; }

pre.sh_sourceCode .sh_specialchar { color: #1861a7; }

pre.sh_sourceCode .sh_comment { color: #008000; }

pre.sh_sourceCode .sh_number { color: #32ba06; }

pre.sh_sourceCode .sh_preproc { color: #5374b0; }

pre.sh_sourceCode .sh_symbol { color: #3030ee; }

pre.sh_sourceCode .sh_function { color: #d11ced; }

pre.sh_sourceCode .sh_cbracket { color: #3030ee; }

pre.sh_sourceCode .sh_url { color: #1861a7; }

pre.sh_sourceCode .sh_date { color: #ff3030; font-weight: bold; }

pre.sh_sourceCode .sh_time { color: #ff3030; font-weight: bold; }

pre.sh_sourceCode .sh_file { color: #ff3030; font-weight: bold; }

pre.sh_sourceCode .sh_ip { color: #1861a7; }

pre.sh_sourceCode .sh_name { color: #1861a7; }

pre.sh_sourceCode .sh_variable { color: #0000ff; }

/* CSS */ pre.sh_sourceCode .sh_selector { color: #0000ff; }

pre.sh_sourceCode .sh_property { color: #ff3030; font-weight: bold; }

pre.sh_sourceCode .sh_value { color: #1861a7; }

/* Fix outline on clicked gallery images looking all weird */ li.gallerybox div.thumb img { display: inline; }

/* Center watch/unwatch messages */ .mw-js-message-watch { text-align: center; }

/* Add icon to MC dev userlinks */ .mw-userlink[title="User:Jeb"], .mw-userlink[title="User:Dinnerbone"], .mw-userlink[title="User:EvilSeph"], .mw-userlink[title="User:MarcWatson"] { padding-left: 19px; background: url("http://media-mcw.cursecdn.com/thumb/a/ad/Mojang_logo.svg/16px-Mojang_logo.svg.png") no-repeat left center; }

/* Add icon to director userlinks */ .mw-userlink[title="User:Craft Lawrence"], .mw-userlink[title="User:Edenapple"], .mw-userlink[title="User:Hzy980512"], .mw-userlink[title="User:Powup333"], .mw-userlink[title="User:Archomeda"], .mw-userlink[title="User:CrazyBliep"], .mw-userlink[title="User:STS"], .mw-userlink[title="User:Tomato"], .mw-userlink[title="User:Cba"], .mw-userlink[title="User:Pilzsuppe"], .mw-userlink[title="User:The Miner"], .mw-userlink[title="User:YSelf"], .mw-userlink[title="User:Scaler"], .mw-userlink[title="User:Jimeowan"], .mw-userlink[title="User:Zemeckis"], .mw-userlink[title="User:Itouchmasterpro"], .mw-userlink[title="User:TunSha"], .mw-userlink[title="User:Icguy"], .mw-userlink[title="User:KunaiFire"], .mw-userlink[title="User:LeGrund"], .mw-userlink[title="User:Alswo9628"], .mw-userlink[title="User:Lewandowski"], .mw-userlink[title="User:Xblockmove"], .mw-userlink[title="User:Slawko97"], .mw-userlink[title="User:HEKP0H"], .mw-userlink[title="User:Tarne"], .mw-userlink[title="User:Norrius"], .mw-userlink[title="User:Teksel"], .mw-userlink[title="User:SYSanin"], .mw-userlink[title="User:Kingpowl"], .mw-userlink[title="User:Raffox97"] { padding-left: 17px; background: url("http://media-mcw.cursecdn.com/3/38/Grid_Clay_%28Item%29.png") no-repeat left center; background-size: contain; }

/* Add icon to en admin userlinks */ .mw-userlink[title="User:Citricsquid"], .mw-userlink[title="User:Quatroking"], .mw-userlink[title="User:Dinoguy1000"], .mw-userlink[title="User:IKJames"], .mw-userlink[title="User:Kizzycocoa"], .mw-userlink[title="User:Oliver Scholz"], .mw-userlink[title="User:Ultradude25"], .mw-userlink[title="User:Orthotope"], .mw-userlink[title="User:Hower64"] { padding-left: 17px; background: url("http://media-mcw.cursecdn.com/c/cf/Grid_Diamond_%28Gem%29.png") no-repeat left center; background-size: contain; }

/* Add icon to Curse staff userlinks */ .mw-userlink[title="User:DoranM"], .mw-userlink[title="User:Kaelten"], .mw-userlink[title="User:Telshin"], .mw-userlink[title="User:Tesla"], .mw-userlink[title="User:Wynthyst"], .mw-userlink[title="User:Eyes"] { padding-left: 15px; background: url("http://media-mcw.cursecdn.com/0/02/Curse_flame.png") no-repeat left center; background-size: contain; }

/* Move user details into the netbar */ padding: 0; margin: 0; border: 0; background: none; top: -28px; right: -10px; z-index: 9999; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6); }
 * 1) p-personal {

background: none; margin: 0; }
 * 1) p-personal li {

display: block; border-left: 1px solid #333; padding: 0 15px; line-height: 28px; color: #DEE3E6 !important; }   background-color: #222; text-decoration: none; color: #FFF !important; }   color: #BA0000 !important; }
 * 1) p-personal li a {
 * 1) p-personal li a:hover,
 * 2) p-personal li a:active,
 * 3) p-personal li a:focus {
 * 1) p-personal li a.new:hover,
 * 2) p-personal li a.new:active,
 * 3) p-personal li a.new:focus {

/** Changing Curse things **/ /* Hiding Curse sidebar, footer and ad leftovers */ display: none; }   line-height: 1.5em; margin-right: 0 !important; min-height: 0 !important; }
 * 1) curse-panel, #ft, .atflb, .btflb {
 * 1) bodyContent2 {