Site News |
---|
Warning: This wiki contains spoilers. Read at your own risk! Social media: If you would like, please join our Discord server, and/or follow us on Twitter (X) or Tumblr! |
MediaWiki:Common.css: Difference between revisions
From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
mNo edit summary |
mNo edit summary |
||
Line 379: | Line 379: | ||
table.cellpadding-5 td, table.cellpadding-5 th { | table.cellpadding-5 td, table.cellpadding-5 th { | ||
padding: 5px; | padding: 5px; | ||
} | |||
/* References */ | |||
ol.references li:target, sup.reference:target { | |||
background-color: #003; | |||
} | } |
Revision as of 03:27, 25 January 2019
/* 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_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_tab:hover, div.tab_tab:hover, td.tab_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; }
.mw-ui-vform{ width: 410px !important; }
.tocnumber{ color: inherit; }
/* Staff highlighting on Recent Changes, logs, histories, etc. Needs to be updated manually if someone is added/removed. */
/* Patrollers */
/*a.mw-userlink[href$="User:PikaSamus"]
{
color: #FF8C00;
background: url("//fireemblemwiki.org/w/images/1/1d/Is_gba_orion%27s_bolt.png") no-repeat center left;
padding-left: 17px;
}*/
/* Administrators */
a.mw-userlink[href$="User:BrandedOne"],
a.mw-userlink[href$="User:L95"],
a.mw-userlink[href$="User:Seritinajii"],
a.mw-userlink[href$="User:SuperAlpaca"],
a.mw-userlink[href$="User:Maxite"],
a.mw-userlink[href$="User:Aria_der_Donau"],
a.mw-userlink[href$="User:PikaSamus"]
{
color: #40E0D0;
background: url("//fireemblemwiki.org/w/images/9/97/Is_gba_knight_crest.png") no-repeat center left;
padding-left: 17px;
}
/* Bureaucrats */
/*a.mw-userlink[href$="User:<bureaucrat>"]
{
color: #DB7093;
background: url("//fireemblemwiki.org/w/images/d/db/Is_gba_heaven_seal.png") no-repeat center left;
padding-left: 17px;
}*/
/* Tech support */
a.mw-userlink[href$="User:Moydow"],
a.mw-userlink[href$="User:Sove"],
a.mw-userlink[href$="User:Tacopill"],
a.mw-userlink[href$="User:Dkpat"],
a.mw-userlink[href$="User:RingtailedFox"]
{
color: #9370DB;
background: url("//fireemblemwiki.org/w/images/c/c5/Is_ds_binding_shield.png") no-repeat center left;
padding-left: 17px;
}
/* Bishops */
a.mw-userlink[href$="User:Lukey140701"],
a.mw-userlink[href$="User:SnorlaxMonster"],
a.mw-userlink[href$="User:Malake256"],
a.mw-userlink[href$="User:Metroidking"],
a.mw-userlink[href$="User:Alex95"]
{
color: #008000;
background: url("//fireemblemwiki.org/w/images/7/70/Is_gba_guiding_ring.png") no-repeat center left;
padding-left: 17px;
}
body[class*="_Supports"] div.toc {
width: 90%;
}
body[class*="_Supports"] div.toc ul {
text-align: center;
}
body[class*="_Supports"] div.toc ul li[class^="toclevel-1"] {
display: inline-block;
width: 15%;
height: 100px;
vertical-align: top;
border: 1px solid #aaa;
padding-left: 1ex;
}
/* Makes Special:Editcount legible */
body.mw-special-Editcount form#editcount td, body.mw-special-Editcount form#editcount th {
color: black;
}
@font-face {
font-family: "AncientTongue";
src: url("https://fireemblemwiki.org/w/images/2/2d/FEPR_Ancient_Language.ttf") format("truetype");
}
.ancient-tongue {
font-family: AncientTongue;
font-size: 150%;
}
/* Lazy cellpadding replacement */
table.cellpadding-1 td, table.cellpadding-1 th {
padding: 1px;
}
table.cellpadding-2 td, table.cellpadding-2 th {
padding: 2px;
}
table.cellpadding-3 td, table.cellpadding-3 th {
padding: 3px;
}
table.cellpadding-4 td, table.cellpadding-4 th {
padding: 4px;
}
table.cellpadding-5 td, table.cellpadding-5 th {
padding: 5px;
}
/* References */
ol.references li:target, sup.reference:target {
background-color: #003;
}