Anonymous

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 X (Twitter) or Tumblr!

MediaWiki:Mobile.css: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
m
no edit summary
m (After examination, we don't line up numbers anywhere so this doesn't matter)
mNo edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 11: Line 11:


body {
body {
    background: url("https://cdn.fireemblemwiki.org/f/fd/Header.webp") center 40px no-repeat, url("https://cdn.fireemblemwiki.org/d/d8/Footer.webp") center bottom no-repeat, linear-gradient(#06253a, #051c3e, #010101 700px);
    background-image: url("https://cdn.fireemblemwiki.org/header.webp"), url("https://cdn.fireemblemwiki.org/footer.webp"), linear-gradient(#06253a, #051c3e, #010101 700px); /*fallback*/
    background-image: image-set(
    url("https://cdn.fireemblemwiki.org/header.jxl") type("image/jxl"),
    url("https://cdn.fireemblemwiki.org/header.webp") type("image/webp"),
    url("https://cdn.fireemblemwiki.org/header.png") type("image/png")), image-set(
    url("https://cdn.fireemblemwiki.org/footer.jxl") type("image/jxl"),
    url("https://cdn.fireemblemwiki.org/footer.webp") type("image/webp"),
    url("https://cdn.fireemblemwiki.org/footer.png") type("image/png")), linear-gradient(#06253a, #051c3e, #010101 700px); /*select best image format, if supported*/
    background-position: center top, center bottom;
    background-repeat: no-repeat, no-repeat;
     min-height: 100%;
     min-height: 100%;
     color: #d9d9d9;
     color: #d9d9d9;
Line 256: Line 265:
.mw-ui-vform{ width: 410px !important; }
.mw-ui-vform{ width: 410px !important; }


.tocnumber{ color: inherit; }
.tocnumber{
    color: inherit;
    font-variant-numeric: tabular-nums;
}




Line 266: Line 278:
@font-face {
@font-face {
     font-family: "AncientTongue";
     font-family: "AncientTongue";
     src: url("https://fireemblemwiki.org/w/images/2/2d/FEPR_Ancient_Language.ttf") format("truetype");
     src: url("https://cdnassets.openwikiproject.org/FEPR_Ancient_Language.ttf") format("truetype");
}
}


Line 275: Line 287:


/* Lazy cellpadding replacement */
/* Lazy cellpadding replacement */
table.cellpadding-0 td, table.cellpadding-0 th {
    padding: 0;
}
table.cellpadding-1 td, table.cellpadding-1 th {
table.cellpadding-1 td, table.cellpadding-1 th {
     padding: 1px;
     padding: 1px;
Line 349: Line 365:
background-color: #222; /*(color3)*/
background-color: #222; /*(color3)*/
text-align: center;
text-align: center;
    font-variant-numeric: tabular-nums;
}
}


Line 354: Line 371:
background-color: #232855; /*(color1)*/
background-color: #232855; /*(color1)*/
border: 1px solid #b0b0b0;
border: 1px solid #b0b0b0;
}
.chapter-table th > a:not(.new):not(.mw-selflink):not(.mw-collapsible-text) {
color: #b0b0b0;
}
}


Line 701: Line 722:
}
}


.unused td:last-child, .unused th:last-child {
.unused td:not(:first-child), .unused th:not(:first-child) {
background-color: #222;
background-color: #222;
padding: 10px;
padding: 10px;
Line 717: Line 738:
text-align: center;
text-align: center;
     overflow:auto;
     overflow:auto;
    font-variant-numeric: tabular-nums;
}
}


Line 906: Line 928:


/* Patrollers */
/* Patrollers */
a.mw-userlink[href$="User:Xamad"],
a.mw-userlink[href$="User:Xamad"]
a.mw-userlink[href$="User:Thecornerman"]
     {
     {
     color: #FF8C00;
     color: #FF8C00;
Line 913: Line 934:


/* Administrators */
/* Administrators */
a.mw-userlink[href$="User:L95"]
a.mw-userlink[href$="User:L95"],
a.mw-userlink[href$="User:Thecornerman"]
     {
     {
     color: #40E0D0;
     color: #40E0D0;
Line 931: Line 953:
     color: #009000;
     color: #009000;
     }
     }
.mw-message-box-warning, .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
  background-color: #000;
  color: #d9d9d9;
}
/* class for FEH skill availability table; prevents links from wrapping */
.feh_avail td > a {
white-space: nowrap;
}
/*Fix new message notification, ported from monobook*/
@media screen {
  .usermessage {
    background-color: #000;
    border: 1px solid #fc3;
    /*color: #000;*/
    font-weight: bold;
    margin: 2em 0 1em;
    padding: 0.5em 1em;
    vertical-align: middle;
  }
}
/* Fix TRS portraits in galleries */
li.gallerybox div.thumb img[src*="Portrait_"][src*="trs01.png"] {
transform:scaleX(calc(32/35));
}