MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* wikitable/prettytable class for skinning normal tables */ | |||
table.wikitable { | |||
margin: 1em 1em 1em 0; | |||
background: transparent; | |||
/*border: 1px #aaa solid;*/ | |||
border-collapse: collapse; | |||
empty-cells: show; | |||
} | } | ||
table.wikitable th, table.wikitable td { | |||
/*border: 1px #aaa solid;*/ | |||
padding: 0.2em 0.4em; | |||
} | } | ||
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 { | |||
background: #232855 !important; | |||
table. | text-align: center; | ||
background | |||
} | } | ||
table. | table.wikitable td.hl1, table.wikitable th.hl1 { | ||
background: #c5d8fc; | |||
text-align: center; | |||
} | } | ||
table. | table.wikitable td.hl2, table.wikitable th.hl2 { | ||
background: #a7c1f2; | |||
text-align: center; | |||
} | } | ||
table. | table.wikitable caption { | ||
margin-left: inherit; | |||
margin-right: inherit; | |||
font-weight: bold; | |||
} | } | ||
td a{ | |||
color: #0c95c9; | |||
} | } | ||
td{ | |||
color: #d9d9d9; | |||
{ | |||
} | } | ||
/* prevent ugly horizontal page expansion */ | |||
pre { | |||
/* | overflow: auto; | ||
} | } | ||
/* Page headings used throughout the wiki (though not very much at the time of writing...) */ | |||
.page-notice, .page-warning { | |||
border-width: 1px; | |||
border-style: solid; | |||
padding: 0. | padding: 0.3em 0.5em; | ||
margin-bottom: 1em; | |||
width: 80%; | |||
margin-left: auto; | |||
margin-right: auto; | |||
text-align: center; | |||
} | } | ||
/* Used to add informative notices to the top of pages - BLUE */ | |||
.page-notice { | |||
background-color: #f9f9f9; | |||
background: # | border-color: #025e9d; | ||
text-align: | text-align: left; | ||
} | } | ||
/* Used to add warning information to the top of pages - RED */ | |||
.page-warning { | |||
background-color: #ffffff; | |||
background: # | border-color: #c51919; | ||
border-width: 2px; | |||
} | } | ||
.pw-head { | |||
color: #c51919; | |||
font-weight: bold; | |||
} | } | ||
.center { | |||
text-align: center; | |||
} | } | ||
.center table { | |||
margin-left: auto; | |||
margin-right: auto; | |||
text-align: left; | |||
} | } | ||
.collapseButton {/* 'show'/'hide' buttons created dynamically */ | |||
. | float: right;/* by the CollapsibleTables javascript in*/ | ||
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here*/ | |||
text-align: right; /* so they can be customised.*/ | |||
width: auto; | |||
. | |||
} | } | ||
.default-border-radius { | |||
. | -moz-border-radius: 5px; | ||
-webkit-border-radius: 5px; | |||
} | } | ||
.default-border-top { | |||
-moz-border-radius-topleft: 5px; | |||
-webkit-border-top-left-radius: 5px; | |||
-moz-border-radius-topright: 5px; | |||
-webkit-border-top-right-radius: 5px; | |||
} | } | ||
.default-border-bottom { | |||
-moz-border-radius-bottomleft: 5px; | |||
-webkit-border-bottom-left-radius: 5px; | |||
-moz-border-radius-bottomright: 5px; | |||
-webkit-border-bottom-right-radius: 5px; | |||
border: | |||
border | |||
} | } | ||
/* Grabbed from WikiBound on 2/1/2011 */ | |||
.roundy { | |||
border-radius: 20px; | |||
-moz-border-radius: 20px; | |||
-webkit-border-radius: 20px; | |||
border: | -khtml-border-radius: 20px; | ||
-icab-border-radius: 20px; | |||
-o-border-radius: 20px; | |||
} | } | ||
.roundytl { | |||
border-top-left-radius: 20px; | |||
-moz-border-radius-topleft: 20px; | |||
-webkit-border-top-left-radius: 20px; | |||
-khtml-border-top-left-radius: 20px; | |||
-icab-border-top-left-radius: 20px; | |||
-o-border-top-left-radius: 20px; | |||
} | } | ||
. | .roundytr { | ||
border-top-right-radius: 20px; | |||
-moz-border-radius-topright: 20px; | |||
-webkit-border-top-right-radius: 20px; | |||
-khtml-border-top-right-radius: 20px; | |||
-icab-border-top-right-radius: 20px; | |||
-o-border-top-right-radius: 20px; | |||
} | } | ||
. | .roundybl { | ||
border-bottom-left-radius: 20px; | |||
-moz-border-radius-bottomleft: 20px; | |||
-webkit-border-bottom-left-radius: 20px; | |||
-khtml-border-bottom-left-radius: 20px; | |||
-icab-border-bottom-left-radius: 20px; | |||
-o-border-bottom-left-radius: 20px; | |||
} | } | ||
. | .roundybr { | ||
border-bottom-right-radius: 20px; | |||
-moz-border-radius-bottomright: 20px; | |||
-webkit-border-bottom-right-radius: 20px; | |||
-khtml-border-bottom-right-radius: 20px; | |||
-icab-border-bottom-right-radius: 20px; | |||
-o-border-bottom-right-radius: 20px; | |||
} | } | ||
. | .roundybottom { | ||
border- | border-bottom-left-radius: 20px; | ||
border-bottom-right-radius: 20px; | |||
-moz-border-radius-bottomleft: 20px; | |||
-moz-border-radius-bottomright: 20px; | |||
-webkit-border-bottom-left-radius: 20px; | |||
-webkit-border-bottom-right-radius: 20px; | |||
-khtml-border-bottom-left-radius: 20px; | |||
-khtml-border-bottom-right-radius: 20px; | |||
-icab-border-bottom-left-radius: 20px; | |||
-icab-border-bottom-right-radius: 20px; | |||
-o-border-bottom-left-radius: 20px; | |||
-o-border-bottom-right-radius: 20px; | |||
} | } | ||
. | .roundytop { | ||
border-top-left-radius: 20px; | |||
border-top-right-radius: 20px; | |||
-moz-border-radius-topleft: 20px; | |||
-moz-border-radius-topright: 20px; | |||
-webkit-border-top-left-radius: 20px; | |||
-webkit-border-top-right-radius: 20px; | |||
-khtml-border-top-left-radius: 20px; | |||
-khtml-border-top-right-radius: 20px; | |||
-icab-border-top-left-radius: 20px; | |||
-icab-border-top-right-radius: 20px; | |||
-o-border-top-left-radius: 20px; | |||
-o-border-top-right-radius: 20px; | |||
} | } | ||
. | .roundyleft { | ||
border-top-left-radius: 20px; | |||
border-bottom-left-radius: 20px; | |||
-moz-border-radius-topleft: 20px; | |||
-moz-border-radius-bottomleft: 20px; | |||
-webkit-border-top-left-radius: 20px; | |||
-webkit-border-bottom-left-radius: 20px; | |||
-khtml-border-top-left-radius: 20px; | |||
-khtml-border-bottom-left-radius: 20px; | |||
-icab-border-top-left-radius: 20px; | |||
-icab-border-bottom-left-radius: 20px; | |||
-o-border-top-left-radius: 20px; | |||
-o-border-bottom-left-radius: 20px; | |||
} | } | ||
. | .roundyright { | ||
border-bottom-right-radius: 20px; | |||
border-top-right-radius: 20px; | |||
-moz-border-radius-bottomright: 20px; | |||
-moz-border-radius-topright: 20px; | |||
-webkit-border-bottom-right-radius: 20px; | |||
-webkit-border-top-right-radius: 20px; | |||
-khtml-border-bottom-right-radius: 20px; | |||
-khtml-border-top-right-radius: 20px; | |||
-icab-border-bottom-right-radius: 20px; | |||
-icab-border-top-right-radius: 20px; | |||
-o-border-bottom-right-radius: 20px; | |||
-o-border-top-right-radius: 20px; | |||
} | } | ||
. | .bgimage { | ||
background: | background-image: url('images/1/16/Falchion_transparent.png'); | ||
background-position: center center; | |||
background-repeat: no-repeat; | |||
} | } | ||
. | .tab { | ||
background: | border-radius: 7px 7px 0 0; | ||
-moz-border-radius: 7px 7px 0 0; | |||
-webkit-border-radius: 7px 7px 0 0; | |||
-khtml-border-radius: 7px 7px 0 0; | |||
-icab-border-radius: 7px 7px 0 0; | |||
-o-border-radius: 7px 7px 0 0; | |||
text-align: center; | |||
padding: 3px 5px; | |||
margin: 0px; | |||
border: 2px solid #B0B0B0; | |||
background-color: #232855; | |||
white-space: nowrap; | |||
cursor: pointer; | |||
} | } | ||
span.tab:hover, div.tab:hover, td.tab:hover { | |||
. | background-color: #222222; | ||
} | } | ||
. | .tabselected { | ||
background-color: #222 !important; | |||
border-bottom: 2px solid #222; | |||
color: #d9d9d9; | |||
border- | |||
} | } | ||
.tabcontainer p { | |||
. | margin: 0; | ||
{ | |||
} | } | ||
/* Revision differences */ | |||
. | .diff-deletedline, .diff-addedline { | ||
{ | color: black; | ||
} | } | ||
pre { | |||
background-color: #333; | |||
color: #D9D9D9; | |||
} | } | ||
/* Special:AllMessages */ | |||
.TablePager td { | |||
background-color: transparent; | |||
background-color: | |||
} | } | ||
.TablePager th { | |||
background-color: #555; | |||
} | } | ||
tr | .TablePager tr:hover td { | ||
background-color: #333; | |||
td | |||
{ | |||
background-color: # | |||
} | } | ||
.am_default, .am_actual { | |||
color: black; | |||
} | } | ||
/* Edittools */ | |||
#editpage-specialchars { | |||
color: #ffffff; | |||
border- | border-color: rgb(219, 181, 31); | ||
border-style: solid; | |||
border-width: 2px; | |||
padding: 10px; | |||
-moz-border-radius: 15px; | |||
-webkit-border-radius: 15px; | |||
border-radius: 15px; | |||
} | } | ||
#editpage-specialchars table { | |||
color: #ffffff; | |||
} | } | ||
#mw-notification-area { | |||
color: black; | |||
} | } | ||
.firstHeading{ overflow: visible; } | |||
/* For positioning icons at top-right, used in Templates | /* For positioning icons at top-right, used in Templates | ||
Revision as of 20:40, 20 February 2015
/* CSS placed here will be applied to all skins */
/* wikitable/prettytable class for skinning normal tables */
table.wikitable {
margin: 1em 1em 1em 0;
background: transparent;
/*border: 1px #aaa solid;*/
border-collapse: collapse;
empty-cells: show;
}
table.wikitable th, table.wikitable td {
/*border: 1px #aaa solid;*/
padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 {
background: #232855 !important;
text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
text-align: center;
}
table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
td a{
color: #0c95c9;
}
td{
color: #d9d9d9;
}
/* prevent ugly horizontal page expansion */
pre {
overflow: auto;
}
/* Page headings used throughout the wiki (though not very much at the time of writing...) */
.page-notice, .page-warning {
border-width: 1px;
border-style: solid;
padding: 0.3em 0.5em;
margin-bottom: 1em;
width: 80%;
margin-left: auto;
margin-right: auto;
text-align: center;
}
/* Used to add informative notices to the top of pages - BLUE */
.page-notice {
background-color: #f9f9f9;
border-color: #025e9d;
text-align: left;
}
/* Used to add warning information to the top of pages - RED */
.page-warning {
background-color: #ffffff;
border-color: #c51919;
border-width: 2px;
}
.pw-head {
color: #c51919;
font-weight: bold;
}
.center {
text-align: center;
}
.center table {
margin-left: auto;
margin-right: auto;
text-align: left;
}
.collapseButton {/* 'show'/'hide' buttons created dynamically */
float: right;/* by the CollapsibleTables javascript in*/
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here*/
text-align: right; /* so they can be customised.*/
width: auto;
}
.default-border-radius {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.default-border-top {
-moz-border-radius-topleft: 5px;
-webkit-border-top-left-radius: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
}
.default-border-bottom {
-moz-border-radius-bottomleft: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-right-radius: 5px;
}
/* Grabbed from WikiBound on 2/1/2011 */
.roundy {
border-radius: 20px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-khtml-border-radius: 20px;
-icab-border-radius: 20px;
-o-border-radius: 20px;
}
.roundytl {
border-top-left-radius: 20px;
-moz-border-radius-topleft: 20px;
-webkit-border-top-left-radius: 20px;
-khtml-border-top-left-radius: 20px;
-icab-border-top-left-radius: 20px;
-o-border-top-left-radius: 20px;
}
.roundytr {
border-top-right-radius: 20px;
-moz-border-radius-topright: 20px;
-webkit-border-top-right-radius: 20px;
-khtml-border-top-right-radius: 20px;
-icab-border-top-right-radius: 20px;
-o-border-top-right-radius: 20px;
}
.roundybl {
border-bottom-left-radius: 20px;
-moz-border-radius-bottomleft: 20px;
-webkit-border-bottom-left-radius: 20px;
-khtml-border-bottom-left-radius: 20px;
-icab-border-bottom-left-radius: 20px;
-o-border-bottom-left-radius: 20px;
}
.roundybr {
border-bottom-right-radius: 20px;
-moz-border-radius-bottomright: 20px;
-webkit-border-bottom-right-radius: 20px;
-khtml-border-bottom-right-radius: 20px;
-icab-border-bottom-right-radius: 20px;
-o-border-bottom-right-radius: 20px;
}
.roundybottom {
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
-moz-border-radius-bottomleft: 20px;
-moz-border-radius-bottomright: 20px;
-webkit-border-bottom-left-radius: 20px;
-webkit-border-bottom-right-radius: 20px;
-khtml-border-bottom-left-radius: 20px;
-khtml-border-bottom-right-radius: 20px;
-icab-border-bottom-left-radius: 20px;
-icab-border-bottom-right-radius: 20px;
-o-border-bottom-left-radius: 20px;
-o-border-bottom-right-radius: 20px;
}
.roundytop {
border-top-left-radius: 20px;
border-top-right-radius: 20px;
-moz-border-radius-topleft: 20px;
-moz-border-radius-topright: 20px;
-webkit-border-top-left-radius: 20px;
-webkit-border-top-right-radius: 20px;
-khtml-border-top-left-radius: 20px;
-khtml-border-top-right-radius: 20px;
-icab-border-top-left-radius: 20px;
-icab-border-top-right-radius: 20px;
-o-border-top-left-radius: 20px;
-o-border-top-right-radius: 20px;
}
.roundyleft {
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
-moz-border-radius-topleft: 20px;
-moz-border-radius-bottomleft: 20px;
-webkit-border-top-left-radius: 20px;
-webkit-border-bottom-left-radius: 20px;
-khtml-border-top-left-radius: 20px;
-khtml-border-bottom-left-radius: 20px;
-icab-border-top-left-radius: 20px;
-icab-border-bottom-left-radius: 20px;
-o-border-top-left-radius: 20px;
-o-border-bottom-left-radius: 20px;
}
.roundyright {
border-bottom-right-radius: 20px;
border-top-right-radius: 20px;
-moz-border-radius-bottomright: 20px;
-moz-border-radius-topright: 20px;
-webkit-border-bottom-right-radius: 20px;
-webkit-border-top-right-radius: 20px;
-khtml-border-bottom-right-radius: 20px;
-khtml-border-top-right-radius: 20px;
-icab-border-bottom-right-radius: 20px;
-icab-border-top-right-radius: 20px;
-o-border-bottom-right-radius: 20px;
-o-border-top-right-radius: 20px;
}
.bgimage {
background-image: url('images/1/16/Falchion_transparent.png');
background-position: center center;
background-repeat: no-repeat;
}
.tab {
border-radius: 7px 7px 0 0;
-moz-border-radius: 7px 7px 0 0;
-webkit-border-radius: 7px 7px 0 0;
-khtml-border-radius: 7px 7px 0 0;
-icab-border-radius: 7px 7px 0 0;
-o-border-radius: 7px 7px 0 0;
text-align: center;
padding: 3px 5px;
margin: 0px;
border: 2px solid #B0B0B0;
background-color: #232855;
white-space: nowrap;
cursor: pointer;
}
span.tab:hover, div.tab:hover, td.tab:hover {
background-color: #222222;
}
.tabselected {
background-color: #222 !important;
border-bottom: 2px solid #222;
color: #d9d9d9;
}
.tabcontainer p {
margin: 0;
}
/* Revision differences */
.diff-deletedline, .diff-addedline {
color: black;
}
pre {
background-color: #333;
color: #D9D9D9;
}
/* Special:AllMessages */
.TablePager td {
background-color: transparent;
}
.TablePager th {
background-color: #555;
}
.TablePager tr:hover td {
background-color: #333;
}
.am_default, .am_actual {
color: black;
}
/* Edittools */
#editpage-specialchars {
color: #ffffff;
border-color: rgb(219, 181, 31);
border-style: solid;
border-width: 2px;
padding: 10px;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
}
#editpage-specialchars table {
color: #ffffff;
}
#mw-notification-area {
color: black;
}
.firstHeading{ overflow: visible; }
/* For positioning icons at top-right, used in Templates
"Spoken Article" and "Featured Article" */
div.topicon {
position: absolute;
top: -2em;
margin-right: -100px;
display: block !important;
}
/* FR topicon position */
div.flaggedrevs_short {
position: absolute;
top: -3em;
right: 0px;
z-index: 1;
margin-left: 0;
/* Because this is not yet a topicon, we emulate it's behavior,
this ensure compatibility with edit lead section gadget. */
margin-right: -10px;
}
div#mw-panel { width: 12em; }
div#footer, #mw-head-base, div#content { margin-left: 12em; }
#left-navigation { left: 12em; }
</nowiki></pre>