Difference between revisions of "MediaWiki:Vector.css"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m (div#content ul li: use list-style short style)
(Speed things up. More matching = slower rendering. Also re-arrange stuff.)
Line 3: Line 3:
html, body {
html, body {
font-size: 100%;
font-size: 100%;
}
body {
background: black url('http://www.musewiki.org/skins/common/images/resistancebg2.jpg') no-repeat fixed;
}
}


Line 8: Line 12:
/* Use bullet character, not image, for unordered lists */
/* Use bullet character, not image, for unordered lists */


div#content ul li {
#content ul li {
list-style: disc none;
list-style: disc none;
}
}
Line 14: Line 18:
/* But not for some ul */
/* But not for some ul */


table#toc ul li {
#toc li {
list-style-type: none;
list-style-type: none;
}
}


/* Side-bar */
/* Side-bar */
body {
background: black url('http://www.musewiki.org/skins/common/images/resistancebg2.jpg') no-repeat fixed;
}


div#p-logo {
#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;
height: 40px;
height: 40px;
Line 32: Line 34:
}
}


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


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


#mw-panel div.portal div.body {
#mw-panel .body {
background: none repeat scroll 0 0 #000;
background: none repeat scroll 0 0 #000;
margin: 0 0 0 1.25em;
margin: 0 0 0 1.25em;
Line 54: Line 56:
}
}


#mw-panel div.portal div.body:hover {
#mw-panel .body:hover {
opacity: 1;
opacity: 1;
}
}


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


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


#right-navigation {
#right-navigation {
background: #FFF !important;
margin-top: 25px;
margin-top: 25px;
background: #FFF !important;
}
}


#p-namespaces a span {color: #FFF !important}
#p-namespaces a span {color: #FFF !important}


#p-personal li a {color: #FFF}
#p-personal a {color: #FFF}


.page-MuseWiki #firstHeading {display: none}
.page-MuseWiki #firstHeading {display: none}


/* Stop disc bullets from appearing on drop-downs */
/* Stop disc bullets from appearing on drop-downs */


ul.col li {
.col li {
list-style-type: none !important;
list-style-type: none !important;
}
}
Line 109: Line 112:
/* Links and make guillemet thingies look like links */
/* Links and make guillemet thingies look like links */


a, ul.col *.gu, div#p-views span {
a, .col *.gu, #p-views span {
color: #069;
color: #069;
}
}


a:visited, ul.col:hover *.gu {
a:visited, .col:hover *.gu {
color: #669;
color: #669;
}
}
Line 121: Line 124:
}
}


ul.col *.gu {
.col *.gu {
display: inline;
display: inline;
}
}
Line 141: Line 144:
}
}


table, body, h3#siteSub {
table, body, #siteSub {
color: #333;
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 {
table, td, .frontth, .diff, .diff div, .diff td, #preferences, #userloginForm form table, #mw_metadata td, .gallery, .gallery td {
background: transparent;
background: transparent;
}
}


div#userlogin table, div#userlogin div.captcha {
#userlogin table, .captcha {
background: transparent !important;
background: transparent !important;
}
}


table.gallery td {
.gallery td {
border: transparent;
border: transparent;
}
}
Line 218: Line 221:
}
}


table#frontpage-indexbox-footer {
#frontpage-indexbox-footer {
color: #CCC;
color: #CCC;
font-size: .95em;
font-size: .95em;
Line 225: Line 228:
}
}


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


table#frontpage-bodytable {
#frontpage-bodytable {
border-spacing: .5em;
border-spacing: .5em;
margin: 0 -.5em;
margin: 0 -.5em;
Line 244: Line 247:


#museNew {
#museNew {
padding: 0 0.781em;
padding: 0 .781em;
vertical align: top;
vertical align: top;
}
}
Line 269: Line 272:
}
}


#museGigs div#frontpage-gigs {
#frontpage-gigs {
background: #FFD;
background: #FFD;
margin-bottom: .781em;
margin-bottom: .781em;
}
}


#museGigs div#musetwitter {
#musetwitter {
background: #E2ECF2;
background: #E2ECF2;
margin-bottom: .781em;
margin-bottom: .781em;
}
}


#museGigs div#wikitwitter {
#wikitwitter {
background: #ECF2E2;
background: #ECF2E2;
}
}


div#frontpage-infofooter {
#frontpage-infofooter {
font-size: .95em;
font-size: .95em;
margin-bottom: .5em;
margin-bottom: .5em;
Line 300: Line 303:
}
}


#museNew .simplepie ul {
#museNew ul {
margin: 0;
margin: 0;
}
}


#museNew .simplepie ul li {
#museNew li {
list-style-type: none;
list-style-type: none;
}
}
Line 320: Line 323:
/* Curves are the new pr0n - sidebar */
/* Curves are the new pr0n - sidebar */


div.portlet > h5 {
.portlet > h5 {
border-top-right-radius: 1em;
border-top-right-radius: 1em;
-khtml-border-top-right-radius: 1em;
-khtml-border-top-right-radius: 1em;
Line 327: Line 330:
}
}


div.portlet > div.pBody {
.pBody {
border-bottom-right-radius: .5em;
border-bottom-right-radius: .5em;
-khtml-border-bottom-right-radius: .5em;
-khtml-border-bottom-right-radius: .5em;
Line 336: Line 339:
/* ...and for the main box */
/* ...and for the main box */


div#column-content > div#content {
#content {
border-radius: .5em 0 0 .5em;
border-radius: .5em 0 0 .5em;
width: -moz-calc(100% - 10em);
width: -moz-calc(100% - 10em);
Line 344: Line 347:
}
}


table.gigindex {
.gigindex {
border: 1px #CCC solid;
border-radius: .5em;
border-radius: .5em;
border: 1px #CCC solid;
font-size: .95em;
font-size: .95em;
margin: 1em 1em 1em 0;
margin: 1em 1em 1em 0;
Line 402: Line 405:
/* Infoboxes, gigtable (for .8em tables) */
/* Infoboxes, gigtable (for .8em tables) */


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


table.disco-list {
.disco-list {
box-shadow: .3789em .2779em .1684em 0 #666;
box-shadow: .3789em .2779em .1684em 0 #666;
}
}
Line 422: Line 425:
/* Colours */
/* Colours */


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


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


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


table#gearbox th {
#gearbox th {
background: #656565;
background: #656565;
}
}


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


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


table#memberbox th {
#memberbox th {
background: #AF2022;
background: #AF2022;
}
}


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


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


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


table#vidbox th {
#vidbox th {
background: #E3AF1E;
background: #E3AF1E;
}
}
Line 470: Line 473:
/* Info box borders */
/* Info box borders */


table.gigtable, table.gigtable th, table.gigtable td, table.infbox, table.infbox th, table.infbox td {
.gigtable, .gigtable th, .gigtable td, .infbox, .infbox th, .infbox td {
border-collapse: collapse;
border-collapse: collapse;
border-color: transparent;
border-color: transparent;
Line 479: Line 482:
/* Info box left column */
/* Info box left column */


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




/* GigNav */
/* Navs */


table#nav {
#nav {
border: 1px #aaa solid;
border: 1px #AAA solid;
border-collapse: collapse;
border-collapse: collapse;
border-radius: .5em;
border-radius: .5em;
Line 501: Line 504:
}
}


table#nav th {
#nav th {
background: #000;
background: #000;
border: .1em solid transparent;
border: .1em solid transparent;
Line 512: Line 515:
}
}


table#nav.nav-gig th {
.nav-gig th {
background: #82A63A;
background: #82A63A;
}
}


table#nav.nav-song th {
.nav-song th {
background: #0378AE;
background: #0378AE;
}
}


/* Appears to fix buggy border */
/* Appears to fix buggy border */
table#nav tr:last-child {
#nav > tr:last-child {
border: .1em solid transparent;
border: .1em solid transparent;
}
}


table#nav td {
#nav td {
padding: inherit;
padding: inherit;
}
}
Line 532: Line 535:
border-bottom: .1em solid;
border-bottom: .1em solid;


table#nav td:first-child {
#nav td:first-child {
border-left: .1em solid
border-left: .1em solid
}
}


table#nav td:last-child {
#nav td:last-child {
border-right: .1em solid
border-right: .1em solid
}
}
*/
*/


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


table#nav td:nth-child(2n+1) {
#nav td:nth-child(2n+1) {
transition: background-color 1s;
transition: background-color 1s;
width: 17em;
width: 17em;
Line 552: Line 555:
}
}


table#nav td:nth-child(2n+1):hover {
.nav-gig td:nth-child(2n+1):hover {
background-color: #E0E6D3;
background-color: #E0E6D3;
}
}


table#nav.nav-song td:nth-child(2n+1):hover {
.nav-song td:nth-child(2n+1):hover {
background-color: #C9DAE1;
background-color: #C9DAE1;
}
}


/* End Gignav */
/* End Navs */




Line 579: Line 582:
}
}


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

Revision as of 04:40, 24 August 2011

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

html, body {
font-size: 100%;
}

body {
background: black url('http://www.musewiki.org/skins/common/images/resistancebg2.jpg') no-repeat fixed;
}


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

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

/* But not for some ul */

#toc li {
list-style-type: none;
}


/* Side-bar */

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

#mw-panel .body {
background: none repeat scroll 0 0 #000;
margin: 0 0 0 1.25em;
opacity: .7;
padding: .625em 0 .3125em .625em;
transition: opacity 1s;
-moz-transition: opacity 1s;
-webkit-transition: opacity 1s;
}

#mw-panel .body:hover {
opacity: 1;
}

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

#mw-panel a, #mw-panel 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 {
background: #FFF !important;
margin-top: 25px;
}

#p-namespaces a span {color: #FFF !important}

#p-personal a {color: #FFF}

.page-MuseWiki #firstHeading {display: none}


/* Stop disc bullets from appearing on drop-downs */

.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, .col:hover *.gu {
color: #669;
}

a.external {
color: #069 !important;
}

.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, .diff, .diff div, .diff td, #preferences, #userloginForm form table, #mw_metadata td, .gallery, .gallery td {
background: transparent;
}

#userlogin table, .captcha {
background: transparent !important;
}

.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:first-of-type {
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:first-of-type {
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 ul {
margin: 0;
}

#museNew li {
list-style-type: none;
}

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

.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;
}

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

#content {
border-radius: .5em 0 0 .5em;
width: -moz-calc(100% - 10em);
-khtml-border-top-left-radius: .5em;
-moz-border-radius: .5em 0 0 .5em;
-webkit-border-top-left-radius: .5em;
}

.gigindex {
border: 1px #CCC solid;
border-radius: .5em;
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, .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-collapse: collapse;
border-color: transparent;
padding-left: .5em;
padding-right: .5em;
}

/* Info box left column */

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

/* End info boxes */


/* Navs */

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

/* Borders mess up -- buggy rendering?
border-bottom: .1em solid;

#nav td:first-child {
border-left: .1em solid
}

#nav td:last-child {
border-right: .1em solid
}
*/

#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-gig td:nth-child(2n+1):hover {
background-color: #E0E6D3;
}

.nav-song td:nth-child(2n+1):hover {
background-color: #C9DAE1;
}

/* End Navs */


/* 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 #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 */