Difference between revisions of "MediaWiki:Common.css"
From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 24: | Line 24: | ||
} | } | ||
− | + | table.wikitable { | |
/* fallback */ | /* fallback */ | ||
− | + | background-color: #CFB590; | |
− | background-image: url(images/radial_bg.png); | + | background-image: url(images/radial_bg.png); |
background-position: center center; | background-position: center center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; |
Revision as of 12:17, 19 August 2014
/* CSS placed here will be applied to all skins */
.toc, #toc { display: none; } /* kill content boxes */
body {
/* fallback */
background-color: #9E9A41;
background-image: url(images/radial_bg.png);
background-position: center center;
background-repeat: no-repeat;
/* Safari 4-5, Chrome 1-9 */ /* Can't specify a percentage size? Laaaaaame. */
background: -webkit-gradient(radial, center center, 0, center center, 460, from(#9E9A41), to(#758918));
/* Safari 5.1+, Chrome 10+ */
background: -webkit-radial-gradient(circle, #9E9A41, #758918);
/* Firefox 3.6+ */ background: -moz-radial-gradient(circle, #9E9A41, #2758918);
/* IE 10 */ background: -ms-radial-gradient(circle, #9E9A41, #758918);
/* Opera couldn't do radial gradients, then at some point they started supporting the -webkit- syntax, how it kinda does but it's kinda broken (doesn't do sizing) */
}
#content {
background-color: #cfb590;
padding-bottom: 10px;
border-radius: 10px;
}
table.wikitable {
/* fallback */
background-color: #CFB590;
background-image: url(images/radial_bg.png);
background-position: center center;
background-repeat: no-repeat;
/* Safari 4-5, Chrome 1-9 */ /* Can't specify a percentage size? Laaaaaame. */
background: -webkit-gradient(radial, center center, 0, center center, 460, from(#CFB590), to(#758918));
/* Safari 5.1+, Chrome 10+ */
background: -webkit-radial-gradient(circle, #9E9A41, #758918);
/* Firefox 3.6+ */ background: -moz-radial-gradient(circle, #CFB590, #2758918);
/* IE 10 */ background: -ms-radial-gradient(circle, #CFB590, #758918);
/* Opera couldn't do radial gradients, then at some point they started supporting the -webkit- syntax, how it kinda does but it's kinda broken (doesn't do sizing) */
}
/* let's create the various font styles */
.bold {
font-weight: bold;
}
.italic {
font-style: italic;
}
.underline {
text-decoration: underline;
}
.strike {
text-decoration: line-through;
}
.medium {
font-size: 15px;
}
.large {
font-size: 18px;
}
/* now let's create the colors */
.red {
color: red;
}
.blue {
color: blue;
}
.green {
color: green;
}
.orange {
color: orange;
}
.yellow {
color: yellow;
}
.pink {
color: pink;
}
.grey {
color: grey;
}
.darkgrey {
color: darkgrey;
}
/* misc styles */
.alt-bg {
background: #ebebeb;
width: 100%;
}
.tbl-ds {
background: #f5f5f5;
border: 1px dashed darkgrey;
width: 100%;
}
.tbl-alt {
background: #ebebeb;
/*border: 1px dashed darkgrey;*/
width: 100%;
}
.gruen {
background: #B8FF94;
}
.scriptable {
background: #66FF33;
}