Difference between revisions of "MediaWiki:Common.css"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 87: Line 87:
 
.scriptable {
 
.scriptable {
 
background: #66FF33;
 
background: #66FF33;
}
 
 
 
/* end */
 
 
 
 
 
 
body {
 
background-color: #3f3f3f;
 
}
 
div, li {
 
font-family: sans-serif;
 
font-size: 15px;
 
}
 
div, input {
 
color: #3f3f3f;
 
}
 
h1 {
 
color: #597e9a;
 
background-color: #ccc;
 
padding: 0.3em 0.5em 0.3em 0.5em;
 
font-size: 1.75em;
 
border-bottom: 1px solid #bbb;
 
margin: 0;
 
}
 
h2 {
 
padding-bottom: 0.3em;
 
border-bottom: 1px solid #bfbfbf;
 
font-size: 1.5em;
 
}
 
h3 {
 
font-size: 1.2em;
 
}
 
h1, h2, h3 {
 
color: #597e9a;
 
}
 
a {
 
text-decoration: none;
 
color: #1f7fff;
 
background: none;
 
font-size: 15px;
 
}
 
.toc, #toc {
 
background-color: #ddd;
 
border-radius: 5px;
 
padding: 1em;
 
margin-top: .25em;
 
border: 1px solid #aaa;
 
-webkit-border-radius: 5px;
 
-moz-border-radius: 5px;
 
}
 
/*
 
* layout
 
*/
 
#globalWrapper {
 
width: 1000px;
 
margin: auto;
 
}
 
/*
 
* a
 
*/
 
a:active {
 
color: #000;
 
}
 
a:hover {
 
color: #ff7f00;
 
text-decoration: none;
 
}
 
a.stub {
 
color: #772233;
 
}
 
/*
 
* h1,h2,h3
 
*/
 
h1 .editsection { font-size: 0.5em; opacity: 0.5; }
 
h1 .editsection:hover { opacity: 1; }
 
h2 .editsection { font-size: 0.5em; opacity: 0.5; }
 
h2 .editsection:hover { opacity: 1; }
 
h3 .editsection { font-size: 0.5em; opacity: 0.5; font-variant: normal; }
 
h3 .editsection:hover { opacity: 1; }
 
.visualClear {
 
clear: both;
 
}
 
/*
 
* keep the whitespace in front of the ^=, hides rule from konqueror
 
* this is css3, the validator doesn't like it when validating as css2
 
*/
 
#bodyContent a.external,
 
#bodyContent a[href ^="gopher://"] {
 
background: url(/skins/exdev/external.png) center right no-repeat;
 
padding: 0 13px 0 0;
 
}
 
.rtl #bodyContent a.external,
 
.rtl #bodyContent a[href ^="gopher://"] {
 
background-image: url(/skins/exdev/external-rtl.png);
 
}
 
#bodyContent a[href ^="https://"],
 
.link-https {
 
background: url(/skins/exdev/lock_icon.gif) center right no-repeat;
 
padding: 0 16px 0 0;
 
}
 
#bodyContent a[href ^="mailto:"],
 
.link-mailto {
 
background: url(/skins/exdev/mail_icon.gif) center right no-repeat;
 
padding: 0 18px 0 0;
 
}
 
#bodyContent a[href ^="news://"] {
 
background: url(/skins/exdev/news_icon.png) center right no-repeat;
 
padding: 0 18px 0 0;
 
}
 
#bodyContent a[href ^="ftp://"],
 
.link-ftp {
 
background: url(/skins/exdev/file_icon.gif) center right no-repeat;
 
padding: 0 18px 0 0;
 
}
 
#bodyContent a[href ^="irc://"],
 
#bodyContent a.extiw[href ^="irc://"],
 
.link-irc {
 
background: url(/skins/exdev/discussionitem_icon.gif) center right no-repeat;
 
padding: 0 18px 0 0;
 
}
 
#bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
 
#bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
 
#bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
 
#bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
 
#bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
 
#bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
 
.link-audio {
 
background: url("/skins/exdev/audio.png") center right no-repeat;
 
padding: 0 13px 0 0;
 
}
 
#bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
 
#bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
 
#bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
 
#bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
 
.link-video {
 
background: url("/skins/exdev/video.png") center right no-repeat;
 
padding: 0 13px 0 0;
 
}
 
#bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
 
#bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
 
#bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
 
.link-document {
 
background: url("/skins/exdev/document.png") center right no-repeat;
 
padding: 0 12px 0 0;
 
}
 
#column-content {
 
width: 800px;
 
float: right;
 
margin: 15px;
 
padding: 0;
 
}
 
#content {
 
padding: 0;
 
position: relative;
 
}
 
#column-one {
 
float: right;
 
width: 155px;
 
margin-top: 15px;
 
}
 
#bodyContent {
 
background: #f8f8f8;
 
padding: 0.3em 1.3em 1.3em 1.3em;
 
min-height: 55em;
 
border-radius: 0 0 5px 5px;
 
-webkit-border-bottom-left-radius: 5px;
 
-webkit-border-bottom-right-radius: 5px;
 
-moz-border-radius-bottomleft: 5px;
 
-moz-border-radius-bottomright: 5px;
 
}
 
.printfooter {
 
display: none;
 
}
 
/*
 
* general portlet styles (elements in the quickbar)
 
*/
 
.portlet {
 
border: none;
 
margin: 0 0 .5em;
 
padding: 0;
 
float: none;
 
width: 155px;
 
overflow: hidden;
 
}
 
.portlet h4 {
 
font-size: 1.25em;
 
font-weight: bold;
 
white-space: nowrap;
 
color: #638cad;
 
}
 
.portlet h5 {
 
background: transparent;
 
display: inline;
 
text-transform: capitalize;
 
font-weight: normal;
 
white-space: nowrap;
 
font-size: 20px;
 
font-weight: bold;
 
color: #8f8f00;
 
}
 
.portlet h6 {
 
background: #ffae2e;
 
border: 1px solid #2f6fab;
 
border-style: solid solid none solid;
 
padding: 0 1em 0 1em;
 
text-transform: lowercase;
 
display: block;
 
font-size: 1em;
 
height: 1.2em;
 
font-weight: normal;
 
white-space: nowrap;
 
}
 
.pBody {
 
font-size: 0.8em;
 
background-color: #7f7f7f;
 
border-radius: 5px;
 
padding: 1em;
 
margin-top: .25em;
 
-webkit-border-radius: 5px;
 
-moz-border-radius: 5px;
 
}
 
.portlet h1,
 
.portlet h2,
 
.portlet h3,
 
.portlet h4 {
 
margin: 0;
 
padding: 0;
 
}
 
.portlet ul {
 
list-style-type: none;
 
padding: 0px;
 
margin: 0px;
 
}
 
.portlet li {
 
padding: 0px 0px 0px 5px;
 
margin: 0;
 
}
 
.portlet li:hover {
 
background-color: #5f5f5f;
 
border-radius: 2px;
 
border: 1px solid #8f8f8f;
 
margin: -1px;
 
-webkit-border-radius: 2px;
 
-moz-border-radius: 2px;
 
}
 
.portlet a, .portlet a.new {
 
color: #efefef;
 
font-size: 13px;
 
}
 
.portlet a:hover {
 
color: #fff;
 
text-decoration: none;
 
}
 
/*
 
* the page-related actions- page/talk, edit etc
 
*/
 
#p-cactions {
 
white-space: nowrap;
 
background-color: #999;
 
list-style: none;
 
border-radius: 5px 5px 0 0;
 
border-bottom: 1px solid #efefef;
 
overflow: visible;
 
width: auto;
 
-webkit-border-top-left-radius: 5px;
 
-webkit-border-top-right-radius: 5px;
 
-moz-border-radius-topleft: 5px;
 
-moz-border-radius-topright: 5px;
 
}
 
#p-cactions ul {
 
list-style: none;
 
padding: 0.8em;
 
margin: 0px;
 
}
 
#p-cactions li {
 
display: inline;
 
margin: 0 .3em 0 0;
 
}
 
#p-cactions li.selected {
 
}
 
#p-cactions li a {
 
background-color: #597e9a;
 
color: #eef7ff;
 
text-decoration: none;
 
font-size: 13px;
 
padding: 0.3em 1em 0.3em 1em;
 
border-radius: 3px;
 
font-weight: bold;
 
-webkit-border-radius: 3px;
 
-moz-border-radius: 3px;
 
}
 
#p-cactions li.selected a {
 
background-color: #e658a0;
 
}
 
#p-cactions .new a {
 
color: #white;
 
opacity: 0.7;
 
}
 
#p-cactions li a:hover {
 
text-decoration: none;
 
background-color: #7caf45;
 
}
 
#p-cactions h5 {
 
display: none;
 
}
 
#p-cactions li.istalk {
 
margin-right: 0;
 
}
 
#p-cactions li.istalk a {
 
padding-right: .5em;
 
}
 
#p-cactions #ca-addsection a {
 
padding-left: .4em;
 
padding-right: .4em;
 
}
 
/*
 
* Logo properties
 
*/
 
#p-logo {
 
z-index: 3;
 
overflow: visible;
 
}
 
#p-logo h5 {
 
display: none;
 
}
 
#p-logo a,
 
#p-logo a:hover {
 
display: block;
 
height: 300px;
 
background-repeat: no-repeat;
 
background-position: 50% 50% !important;
 
text-decoration: none;
 
border-radius: 5px;
 
border: 2px solid #222;
 
-webkit-border-radius: 5px;
 
-moz-border-radius: 5px;
 
}
 
/*
 
* Search portlet
 
*/
 
#p-search {
 
}
 
input.searchButton {
 
margin-top: 1px;
 
font-size: 13px;
 
}
 
#searchGoButton {
 
padding-left: .5em;
 
padding-right: .5em;
 
font-weight: bold;
 
}
 
#searchInput {
 
width: 130px;
 
margin: 0 0 3px;
 
font-size: 13px;
 
border: 1px solid white;
 
}
 
#p-search .pBody {
 
text-align: left;
 
}
 
#p-search #searchform
 
{
 
margin: 0;
 
}
 
#p-search #searchform div div {
 
margin-top: .4em;
 
font-size: 95%;
 
}
 
/*
 
* footer
 
*/
 
#footer {
 
background-color: #7f7f7f;
 
margin: .6em 0 1em 0;
 
/*padding: .4em 0 1.2em 0;*/
 
padding: 0.2em;
 
text-align: center;
 
border-radius: 5px;
 
font-size: 0.75em;
 
-webkit-border-radius: 5px;
 
-moz-border-radius: 5px;
 
}
 
#footer a {
 
text-decoration: none;
 
color: #efefef;
 
background: none;
 
font-size: 12px;
 
}
 
#footer a:hover {
 
text-decoration: underline;
 
}
 
#footer ul {
 
margin: 5px 0px 5px 0px;
 
}
 
#footer li {
 
display: inline;
 
margin: 0 5px;
 
font-size: 12px;
 
}
 
#footer p {
 
font-size: 12px;
 
margin: 0px;
 
text-align: center;
 
}
 
#footer p a {
 
color: #8bf;
 
text-decoration: underline;
 
}
 
#f-poweredbyico, #f-copyrightico {
 
margin: 2px 5px;
 
}
 
#f-poweredbyico {
 
float: right;
 
height: 1%;
 
}
 
#f-copyrightico {
 
float: right;
 
height: 1%;
 
}
 
.catlinks {
 
border: 1px solid #aaa;
 
background-color: #f9f9f9;
 
padding: 5px;
 
margin-top: 1em;
 
clear: both;
 
background-color: #e5f1fa;
 
border: 1px solid #d5e3ee;
 
}
 
#mw-pages { display: none; }
 
.gamelistitem {
 
background-color: #e5f1fa;
 
border-bottom: 1px solid #d5e3ee;
 
padding: 5px;
 
clear: both;
 
}
 
.gamelistitem .thumb {
 
float: left;
 
width: 161px;
 
height: 100px;
 
}
 
.gamelistitem .thumb p {
 
margin: 0 0 0 0 !important;
 
color: #e5f1fa;
 
}
 
.gamelistitem .data {
 
float: left;
 
padding: 0;
 
margin-left: 7px;
 
}
 
.gamelistitem .data {
 
float: left;
 
padding: 0;
 
margin-left: 7px;
 
}
 
.gamelistitem .data .name {
 
margin-bottom: 5px;
 
}
 
.gamelistitem .data .property {}
 
.gamelistitem .data .property .name {
 
margin-right: 7px;
 
font-weight: bold;
 
}
 
.gamelistitem .data .top {}
 
.gamelistitem .data .bottom {}
 
.gamelistitem .data .description {
 
margin-top: 5px;
 
}
 
.gamelistitem .data {}
 
.i18n {
 
text-align: center;
 
margin-bottom: 1em;
 
border: 1px solid #D5E3EE;
 
background-color: #E5F1FA;
 
padding: 3px;
 
position: relative;
 
border-radius: 3px;
 
-webkit-border-radius: 3px;
 
-moz-border-radius: 3px;
 
}
 
.i18n span {
 
position: absolute;
 
right: 2px;
 
bottom: 2px;
 
}
 
/*
 
* images
 
*/
 
div.floatright, table.floatright {
 
clear: right;
 
float: right;
 
position: relative;
 
margin: 0 0 .5em .5em;
 
border: 0;
 
/*
 
border: .5em solid white;
 
border-width: .5em 0 .8em 1.4em;
 
*/
 
}
 
div.floatright p { font-style: italic; }
 
div.floatleft, table.floatleft {
 
float: left;
 
clear: left;
 
position: relative;
 
margin: 0 .5em .5em 0;
 
border: 0;
 
/*
 
margin: .3em .5em .5em 0;
 
border: .5em solid white;
 
border-width: .5em 1.4em .8em 0;
 
*/
 
}
 
div.floatleft p { font-style: italic; }
 
/* thumbnails */
 
div.thumb {
 
margin-bottom: .5em;
 
border-style: solid;
 
border-color: white;
 
width: auto;
 
}
 
div.thumbinner {
 
border: 1px solid #ccc;
 
padding: 3px !important;
 
background-color: #f9f9f9;
 
font-size: 94%;
 
text-align: center;
 
overflow: hidden;
 
}
 
html .thumbimage {
 
border: 1px solid #ccc;
 
}
 
html .thumbcaption {
 
border: none;
 
text-align: left;
 
line-height: 1.4em;
 
padding: 3px !important;
 
font-size: 94%;
 
}
 
div.magnify {
 
float: right;
 
border: none !important;
 
background: none !important;
 
}
 
div.magnify a, div.magnify img {
 
display: block;
 
border: none !important;
 
background: none !important;
 
}
 
div.tright {
 
clear: right;
 
float: right;
 
border-width: .5em 0 .8em 1.4em;
 
}
 
div.tleft {
 
float: left;
 
clear: left;
 
margin-right: .5em;
 
border-width: .5em 1.4em .8em 0;
 
}
 
img.thumbborder {
 
border: 2px solid #5f5f5f;
 
border-radius: 5px;
 
-webkit-border-radius: 5px;
 
-moz-border-radius: 5px;
 
}
 
.hiddenStructure {
 
display: none;
 
}
 
/*
 
* emulate center
 
*/
 
.center {
 
width: 100%;
 
text-align: center;
 
}
 
*.center * {
 
margin-left: auto;
 
margin-right: auto;
 
}
 
/*
 
* note
 
*/
 
.block-note {
 
margin: 15px;
 
border: 1px solid #AAAA80;
 
padding: 5px;
 
background-color: lightYellow;
 
}
 
/*
 
* warning
 
*/
 
.block-warning {
 
margin: 15px;
 
border: 1px solid #AA8080;
 
padding: 5px;
 
background-color: #FFE0E0;
 
 
}
 
}

Revision as of 14:09, 18 August 2014

/* CSS placed here will be applied to all skins */

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