Difference between revisions of "MediaWiki:Vector.css"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
(+space, set #p-logo z-index to -1, so it goes behind #right-navigation when things get tight)
m (Combined #p-logo rules)
Line 22: Line 22:
div#p-logo {
div#p-logo {
background: url('http://www.musewiki.org/skins/common/images/musewikiLogo.png') no-repeat center center;
background: url('http://www.musewiki.org/skins/common/images/musewikiLogo.png') no-repeat center center;
top: -120px;
z-index: -1;
z-index: -1;
}
}
Line 31: Line 32:
#mw-panel {
#mw-panel {
top: 90px !important;
top: 90px !important;
}
#p-logo {
top: -120px;
}
}



Revision as of 19:50, 18 August 2011

/* CSS placed here will affect users of the Vector skin */


/* Use bullet character, not image, for unordered lists */

div#content ul li {
list-style-image: none;
list-style-type: disc;
}

/* But not for some ul */

table#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;
}

div#p-logo {
background: url('http://www.musewiki.org/skins/common/images/musewikiLogo.png') no-repeat center center;
top: -120px;
z-index: -1;
}

div#p-logo a {
background: none !important;
}

#mw-panel {
top: 90px !important;
}

#mw-panel div.portal div.body ul li {
font-size: .8em;
}

#mw-panel div.portal div.body {
background: none repeat scroll 0 0 #000;
margin: 0 0 0 1.25em;
opacity: .7;
padding: .625em 0 .3125em .625em;
}

#mw-panel div.portal h5 {
text-transform: uppercase;
font-size: 1em;
padding: 0 .25em .25em 1.25em !important;
}

#mw-panel div.portal div.body ul li a, #mw-panel div.portal h5 {
color: #FFF !important;
}

#mw-page-base {
margin-left: 10em
}

/* Top nav */
#mw-page-base {
background: none !important;
height: 65px !important;
}

#left-navigation {
top: 40px !important
}

#left-navigation *{
background: none !important
}

#left-navigation div.vectorTabs a span {
padding-top: .25em !important;
}

#right-navigation {
margin-top: 25px !important;
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, ul.col *.gu {
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, h3#siteSub {
color: #333;
}

table, td, .frontth, table.diff, table.diff div, table.diff td, div#preferences, div#userloginForm form table, table#mw_metadata td, table.gallery, table.gallery td {
background: transparent;
}

div#userlogin table, div#userlogin div.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: .0625em solid #CCC;
border-radius: 1em;
margin-top: .7em;
width: 100%;
-moz-border-radius: 1em;
-webkit-border-radius: 1em
}

#frontpage-indexbox table {
min-width: 17em;
text-align: center;
}

table#frontpage-indexbox-footer {
color: #CCC;
font-size: .95em;
margin: -0.175em 0 0.075em;
width: 100%
}

table#frontpage-indexbox-footer td {
padding: 0;
}

/* Home page Feed images */
.MainPageBG li img {
float: right;
padding: 0 0 10px 10px;
}

.MainPageBG .simplepie li {
clear: both !important;
}

#museNew .simplepie ul {
list-style: none !important;
margin: 0;
}

#museNew .simplepie ul li{
list-style-type: none !important;
}

/* Right side bar */
#musetwitter h2{
background: url('https://a2.twimg.com/profile_images/1285340280/muse1_mini.jpg') no-repeat right 5px;
}

#wikitwitter h2{
background: url('http://a0.twimg.com/profile_images/359401915/theresistance_mini.jpg') no-repeat right 5px;
}


/* Curves are the new pr0n - sidebar */

div.portlet > h5 {
-moz-border-radius-topright: 1em;
-webkit-border-top-right-radius: 1em;
border-top-right-radius: 1em;
}

div.portlet > div.pBody {
-moz-border-radius-bottomright: .5em;
-webkit-border-bottom-right-radius: .5em;
border-bottom-right-radius: .5em;
}

/* ...and for the main box */

div#column-content > div#content {
-moz-border-radius: .5em 0 0 .5em;
-webkit-border-top-left-radius: .5em;
border-radius: .5em 0 0 .5em;
}

table.gigindex {
border: 1px #CCC solid;
font-size: .95em;
margin: 1em 1em 1em 0;
-khtml-border-radius: .5em;
-moz-border-radius: .5em;
border-radius: .5em;
}

/* End curves */


/* Notice box styling */

.colourbox {
color: #000;
display: block;
font-weight: bold;
margin: 0 10% .5em 10%;
padding: .5em;
text-align: center;
width: 80%;
-moz-border-radius: .5em;
-khtml-border-radius: .5em;
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) */

table.infbox, table.gigtable, table#pricetable, div.thumbinner {
box-shadow: .45em .33em .2em 0 #666;
}

/* Discography tables (for .95em tables)

 $val / .95em * .8em
*/

table.disco-list {
box-shadow: .3789em .2779em .1684em 0 #666;
}

/* End box shadows */


/* Info boxes (+gig tables) */

/* Colours */

table.infbox th, table.gigtable th {
color: #FFF;
}

table.discobox th {
background: #4D1F68;
}

table.discobox tr:nth-child(2n+1) {
background: #DAD0DF;
}

table#gearbox th {
background: #656565;
}

table#gigbox th, table.gigtable th {
background: #82A63A;
}

table#gigbox tr:nth-child(2n+1), table.gigtable tr:nth-child(2n+1) {
background: #E0E6D3;
}

table#memberbox th {
background: #AF2022;
}

table#memberbox tr:nth-child(2n+1) {
background: #DEDEDE;
}

table#songbox th {
background: #0378AE;
}

table#songbox tr:nth-child(2n+1) {
background: #C9DAE1;
}

table#vidbox th {
background: #E3AF1E;
}

/* End colours */

/* Info box borders */

table.gigtable, table.gigtable th, table.gigtable td, table.infbox, table.infbox th, table.infbox td {
border-collapse: collapse;
border-color: transparent;
padding-left: .5em;
padding-right: .5em;
}

/* Info box left column */

table.infbox td:first-child {
font-weight: bold;
}

/* End info boxes */


/* GigNav */

table#nav {
border: 1px #aaa solid;
border-radius: .5em;
box-shadow: .58em .42em .25em 0 #666;
font-size: x-small;
padding: 0;
text-align: center;
-moz-border-radius: .5em;
}

table#nav th {
background: #000;
border-radius: .5em;
color: #FFF;
padding: inherit;
-moz-border-radius: .5em;
}

table#nav td {
padding: inherit;
}

table#nav td:nth-child(2n), table#nav td:nth-child(3) {
font-weight: bold;
}

table#nav td:nth-child(2n+1) {
width: 17em;
}

/* 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;
}

#setlist li#intro {
list-style-type: none;
}

/* End set lists */


/* Footer */

#footer-icons {display: none}
#footer ul li {color: #CCC}


/* Footnote list
ol.references li[id|="cite_note"] {
 font-size: xx-small;
} */


/* plain styling */

.bold {
font-weight: bold;
}

.normal {
font-weight: normal;
}

.small {
font-size: x-small;
}

.unknown {
font-style: italic;
}

/* End plain styling */