Difference between revisions of "MediaWiki:Vector.css"
Jump to navigation
Jump to search
(Moved from MediaWiki:Common.css. This wasn't here when the wiki was installed, thus is custom, thus should be here.) |
(Delete much crap that (I think) we don't need) |
||
Line 589: | Line 589: | ||
/* <pre><nowiki> */ | /* <pre><nowiki> */ | ||
/* Add space below the toolbar */ | /* Add space below the toolbar */ | ||
#toolbar { | #toolbar { | ||
Line 686: | Line 681: | ||
} | } | ||
/* Style for "notices" */ | /* Style for "notices" */ | ||
Line 820: | Line 698: | ||
} | } | ||
/* Persondata and other (future) metadata */ | /* Persondata and other (future) metadata */ | ||
Line 858: | Line 716: | ||
} | } | ||
/* Put a checker background at the image description page only visible if the image has transparent background */ | /* Put a checker background at the image description page only visible if the image has transparent background */ | ||
#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | #file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | ||
#wpSave { | #wpSave { | ||
Line 1,155: | Line 725: | ||
} | } | ||
/* Removes underlines from links */ | /* Removes underlines from links */ | ||
Line 1,175: | Line 731: | ||
} | } | ||
/* Removes useless links from printout */ | /* Removes useless links from printout */ | ||
Line 1,185: | Line 737: | ||
} | } | ||
/* Coloured watchlist numbers */ | /* Coloured watchlist numbers */ | ||
Line 1,281: | Line 775: | ||
} | } | ||
/* Prevents line breaks in links; see docs at Template:Nowraplinks */ | /* Prevents line breaks in links; see docs at Template:Nowraplinks */ | ||
Line 1,375: | Line 780: | ||
.nowraplinks a { | .nowraplinks a { | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
Revision as of 20:24, 24 August 2011
/* CSS placed here will affect users of the Vector skin */ html, body { font-size: 100%; } /* Use bullet character, not image, for unordered lists */ #content ul li { list-style: disc none; } /* But not for some ul */ #toc ul li { list-style-type: none; } /* Side-bar */ body { background: black url('http://www.musewiki.org/skins/common/images/resistancebg2.jpg') no-repeat fixed; } #p-logo { background: url('http://www.musewiki.org/skins/common/images/musewikiLogo.png') no-repeat center center; height: 40px; margin-bottom: 1em; position: relative; top: 0; z-index: -1; } #p-logo a { background: none !important; } #mw-panel { top: 0; } #mw-panel li { font-size: .8em !important; } .body { background: #000 !important; opacity: .7; padding: .625em 0 .3125em .625em !important; transition: opacity 1s; -moz-transition: opacity 1s; -webkit-transition: opacity 1s; } .body:hover { opacity: 1; } .portal h5 { font-size: 1em !important; padding: 0 .25em .25em 1.25em !important; text-transform: uppercase; } .body a, .portal h5 { color: #FFF !important; } /* Top bar */ #mw-page-base { background: none !important; height: 65px !important; margin-left: 10em; } #mw-head-base, #left-navigation * { background: none !important; } #left-navigation .vectorTabs a span { padding-top: .25em !important; } #right-navigation { margin-top: 25px; background: #FFF !important; } #p-namespaces a span {color: #FFF !important} #p-personal li a {color: #FFF} .page-MuseWiki #firstHeading {display: none} /* Stop disc bullets from appearing on drop-downs */ ul.col li { list-style-type: none !important; } /* Links and make guillemet thingies look like links */ a, .col .gu, #p-views span { color: #069; } a:visited, ul.col:hover *.gu { color: #669; } a.external { color: #069 !important; } ul.col *.gu { display: inline; } /* 2px / 16px / 1.6em */ h1 { border-bottom: .078125em dotted #DDD; } h1, h2, h3, h4, h5 { color: #333; } pre { background-color: #EEE; border-color: #AAA; color: #333; } table, body, #siteSub { color: #333; } table, td, .frontth, table.diff, table.diff div, table.diff td, #preferences, #userloginForm form table, #mw_metadata td, table.gallery, table.gallery td { background: transparent; } #userlogin table, #userlogin .captcha { background: transparent !important; } table.gallery td { border: transparent; } th { background: #FFF; color: #333; text-transform: uppercase; } .portlet h5 { font-size: 1.3em; } .portlet ul { font-size: .97em; } #contentSub { margin: 0; } /* Home page index box */ #frontpage-indexbox { border: .0781em solid #CCC; border-radius: 1em; margin-top: .7em; width: 100%; -khtml-border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } /* fuck yeah, gradients */ #frontpage-indexbox { background: #C9DAE1; box-shadow: 0 .078125em .390625em #0378AE, 0 .78125em 1.5625em #FFF inset; transition: background-color 3s; -moz-box-shadow: 0 .078125em .390625em #0378AE, 0 .78125em 1.5625em #FFF inset; -moz-transition: background-color 3s; -webkit-box-shadow: 0 .078125em .390625em #0378AE, 0 .78125em 1.5625em #FFF inset; -webkit-transition: background-color 3s; } #frontpage-indexbox:hover { background: #FFF; } #frontpage-indexbox table { text-align: center; } #frontpage-indexbox div:first-child { font-size: 1.62em; padding: .1em; } #frontpage-subtitle { font-size: .95em; } #frontpage-stats { font-size: .85em; } #frontpage-indexbox-footer { color: #CCC; font-size: .95em; margin: -.175em 0 .075em; width: 100% } #frontpage-indexbox-footer td { padding: 0; } #frontpage-bodytable { border-spacing: .5em; margin: 0 -.5em; } #museAre { vertical-align: top; width: 170px; } #museAre p span { font-size: x-small; } #museNew { padding: 0 .781em; vertical align: top; } #museGigs { vertical-align: top; } #museGigs div { border-radius: 1em; padding: .781em; -khtml-border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } #museGigs div:first-child { background: #E4B5CC; margin-bottom: .781em; } #museGigs div div { padding: 0; } #frontpage-gigs { background: #FFD; margin-bottom: .781em; } #musetwitter { background: #E2ECF2; margin-bottom: .781em; } #wikitwitter { background: #ECF2E2; } #frontpage-infofooter { font-size: .95em; margin-bottom: .5em; text-align: center; } /* Home page Feed images */ .MainPageBG li img { float: right; margin: 0 0 .781em .781em; } /* NB: What's this needed for? */ .MainPageBG .simplepie li { clear: both; } #museNew .simplepie ul { margin: 0; } #museNew .simplepie ul li { list-style-type: none; } /* Right side bar */ #musetwitter h2{ background: url('https://s3.amazonaws.com/twitter_production/profile_images/1285340280/muse1_mini.jpg') no-repeat right 5px; } #wikitwitter h2{ background: url('https://s3.amazonaws.com/twitter_production/profile_images/359401915/theresistance_mini.jpg') no-repeat right 5px; } /* Curves are the new pr0n - sidebar */ .portlet > h5 { border-top-right-radius: 1em; -khtml-border-top-right-radius: 1em; -moz-border-radius-topright: 1em; -webkit-border-top-right-radius: 1em; } .pBody { border-bottom-right-radius: .5em; -khtml-border-bottom-right-radius: .5em; -moz-border-radius-bottomright: .5em; -webkit-border-bottom-right-radius: .5em; } .gigindex { border-radius: .5em; border: 1px #CCC solid; font-size: .95em; margin: 1em 1em 1em 0; -khtml-border-radius: .5em; -moz-border-radius: .5em; -webkit-border-radius: .5em; } /* End curves */ /* Notice box styling */ .colourbox { border-radius: .5em; color: #000; display: block; font-weight: bold; margin: 0 10% .5em 10%; padding: .5em; text-align: center; width: 80%; -khtml-border-radius: .5em; -moz-border-radius: .5em; -webkit-border-radius: .5em; } .colourbox a { color: #000; } .bluebackbox { background: #AAF; border: .5em #AAF solid; background: -webkit-gradient(linear, left bottom, right top, from(#AAF), to(#AAF), color-stop(.7, #7474AF), color-stop(.7, #7474AF)); } .greenbackbox { background: #AFA; border: .5em #AFA solid; background: -webkit-gradient(linear, left bottom, right top, from(#AFA), to(#AFA), color-stop(.7, #74AF74), color-stop(.7, #74AF74)); } .redbackbox { background: #FAA; border: .5em #FAA solid; background: -webkit-gradient(linear, left bottom, right top, from(#FAA), to(#FAA), color-stop(.7, #AF7474), color-stop(.7, #AF7474)); } /* End notice boxes */ /* Box shadows */ /* Infoboxes, gigtable (for .8em tables) */ .infbox, .gigtable, #pricetable, div.thumbinner { box-shadow: .45em .33em .2em 0 #666; } /* Discography tables (for .95em tables) $val / .95em * .8em */ .disco-list { box-shadow: .3789em .2779em .1684em 0 #666; } /* End box shadows */ /* Info boxes (+gig tables) */ /* Colours */ .infbox th, .gigtable th { color: #FFF; } .discobox th { background: #4D1F68; } .discobox tr:nth-child(2n+1) { background: #DAD0DF; } #gearbox th { background: #656565; } #gigbox th, .gigtable th { background: #82A63A; } #gigbox tr:nth-child(2n+1), .gigtable tr:nth-child(2n+1) { background: #E0E6D3; } #memberbox th { background: #AF2022; } #memberbox tr:nth-child(2n+1) { background: #DEDEDE; } #songbox th { background: #0378AE; } #songbox tr:nth-child(2n+1) { background: #C9DAE1; } #vidbox th { background: #E3AF1E; } /* End colours */ /* Info box borders */ .gigtable, .gigtable th, .gigtable td, .infbox, .infbox th, .infbox td { border: none !important; padding: .2em .5em .2em .5em !important; } /* Info box left column */ .infbox td:first-child { font-weight: bold; } /* End info boxes */ /* GigNav */ .nav { border: 1px #aaa solid; border-collapse: collapse; border-radius: .5em; box-shadow: .58em .42em .25em 0 #666; font-size: x-small; padding: 0; text-align: center; -khtml-border-radius: .5em; -moz-border-radius: .5em; -webkit-border-radius: .5em; } .nav th { background: #000; border: .1em solid transparent; border-radius: .5em .5em 0 0; color: #FFF; padding: inherit; -khtml-border-radius: .5em; -moz-border-radius: .5em .5em 0 0; -webkit-border-radius: .5em; } #nav-gig th { background: #82A63A; } #nav-song th { background: #0378AE; } /* Appears to fix buggy border */ .nav tr:last-child { border: .1em solid transparent; } .nav td { padding: inherit; } .nav td:nth-child(2n), .nav td:nth-child(3) { font-weight: bold; } .nav td:nth-child(2n+1) { transition: background-color 1s; width: 17em; -moz-transition: background-color 1s; -webkit-transition: background-color 1s; } .nav td:nth-child(2n+1):hover { background-color: #E0E6D3; } #nav-song td:nth-child(2n+1):hover { background-color: #C9DAE1; } /* End Gignav */ /* Set lists */ /* hide YouTube link images within set-lists */ .ytube a { background: none !important; padding: 0 !important; } /* align intro with songs in set-lists * remove bullet therefrom */ #setlist ul { margin-left: 3.2em; } #intro { list-style-type: none; } /* End set lists */ /* Footer */ #footer-icons {display: none} #footer ul li {color: #CCC} /* plain styling */ .bold { font-weight: bold; } .normal { font-weight: normal; } .small { font-size: x-small; } .unknown { font-style: italic; } /* End plain styling */ /* MOVED FROM COMMONS */ /* <pre><nowiki> */ /* Add space below the toolbar */ #toolbar { margin-bottom: 6px; } /* make the list of references look smaller */ ol.references { font-size: 100%; } .references-small { font-size: 90%;} /* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ /* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */ /* column-count is from the CSS3 module "CSS Multi-column Layout" */ /* Please ignore any validator errors caused by these two lines */ .references-2column { font-size: 90%; -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; } .same-bg { background: none; } /* Highlight clicked reference in blue to help navigation */ ol.references > li:target { background-color: #DEF; } sup.reference:target { background-color: #DEF; } /* Styling for citations */ cite { font-style: normal; word-wrap: break-word; } /* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */ cite:target { background-color: #DEF; } /* Do not expand URLs within citations for printing. The URLs should be included explicitly, to avoid confusion */ @media print { #content cite a.external.text:after { display: none; } } /* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */ @media screen, handheld, projection { cite *.printonly { display: none; } } /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em; } table.wikitable th, table.prettytable th { text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } table.prettytable code, table.wikitable code { background-color: transparent; } /* Style for "notices" */ .notice { margin: 1em; padding: 0.2em; } #disambig { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; } .spoiler { border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; } /* Persondata and other (future) metadata */ table.InChI, /* temporary */ table.persondata { border: 1px solid #aaa; display: none; speak: none; } .InChI-label, /* temporary */ .persondata-label { color: #aaa; } /* Makes redirects appear in italics in categories and on [[Special:Allpages]] */ .redirect-in-category, .allpagesredirect { font-style: italic; } /* Put a checker background at the image description page only visible if the image has transparent background */ #file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} #wpSave { font-weight: bold; } /* Removes underlines from links */ .nounderlines a { text-decoration: none; } /* Removes useless links from printout */ @media print { #privacy, #about, #disclaimer {display:none;} } /* Coloured watchlist numbers */ .mw-plusminus-pos { color: #006400; /* darkgreen */ } /* .mw-plusminus-null currently at developer default */ .mw-plusminus-neg { color: #8B0000; /* darkred */ } .dablink { font-style: italic; padding-left: 2em; } .dablink i { font-style: normal; } /* Style for horizontal UL lists */ .horizontal ul { padding: 0; margin: 0; } .horizontal li { padding: 0 0.6em 0 0.4em; display: inline; border-right: 1px solid; } .horizontal li:last-child { border-right: none; padding-right: 0; } /* Prevents line breaks in links; see docs at Template:Nowraplinks */ .nowraplinks a { white-space: nowrap; } .thumbinner { min-width:100px; } /* Inline div's in ImageMaps (code borrowed from de.wiki) */ .imagemap-inline div { display: inline; } /* */ /* Custom theme-independent CSS from here */ /* */ /* collapsible CSS stuff */ ul.col { list-style-image: none; list-style-type: none; margin-left: 0; } ul.col * { list-style-image: none; list-style-type: none; } ul.col > li.di { display: none; } /* IE6 doesn't support hover selector, so use > selector above so it doesn't read "display: none" (it doesn't support > either). */ ul.col:hover > li.di { display: block; } /* For making first letter upper-case */ .TextToUpper:first-letter { text-transform: uppercase; } /* Superscript CSS */ span.sup { font-size: x-small; line-height: 0; vertical-align: super; } /* </nowiki></pre> */