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
mNo edit summary
mNo edit summary
 
(35 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;
    font-family: 'Segoe UI','Segoe UI Historic','Segoe UI Symbol','Segoe UI Emoji','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
     font-variant-emoji: text;
     font-variant-emoji: text;
    font-variant-numeric: proportional-nums;
}
body, .mw-editfont-sans-serif {
    font-family: 'Segoe UI','Segoe UI Historic','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
}
}


Line 252: 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 262: 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 271: 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 345: Line 365:
background-color: #222; /*(color3)*/
background-color: #222; /*(color3)*/
text-align: center;
text-align: center;
    font-variant-numeric: tabular-nums;
}
}


Line 350: 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 533: Line 558:
     table, .tab_main {
     table, .tab_main {
         width: 100% !important;
         width: 100% !important;
         /*display: block !important;*/
         display: block !important;
         overflow:auto !important;
         overflow-x: auto !important;
         padding: 0 !important;
         padding: 0 !important;
         border: none !important;
         border: none !important;
Line 697: 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 713: Line 738:
text-align: center;
text-align: center;
     overflow:auto;
     overflow:auto;
    font-variant-numeric: tabular-nums;
}
}


Line 743: Line 769:
float: right;
float: right;
clear: right;
clear: right;
    display: initial !important;
}
}


Line 891: Line 918:
rt {
rt {
     font-variant-east-asian: ruby;
     font-variant-east-asian: ruby;
}
/*Add Libertinus Serif (successor to Linux Libertine) to font hierarchy*/
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt, #personal h2, #p-logo-text a, .mw-editfont-serif, .skin-timeless .serif, #siteSub, #mw-site-navigation h2, #mw-related-navigation h2 {
  font-family: 'Libertinus Serif','Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
}
/* Staff highlighting on Recent Changes, logs, histories, etc. Needs to be updated manually if someone is added/removed. */
/* Patrollers */
a.mw-userlink[href$="User:Xamad"]
    {
    color: #FF8C00;
    }
/* Administrators */
a.mw-userlink[href$="User:L95"],
a.mw-userlink[href$="User:Thecornerman"]
    {
    color: #40E0D0;
    }
/* Bureaucrats */
a.mw-userlink[href$="User:PikaSamus"]
    {
    color: #DB7093;
    }
/* Bishops */
a.mw-userlink[href$="User:Luke"],
a.mw-userlink[href$="User:SnorlaxMonster"],
a.mw-userlink[href$="User:Metroidking"]
    {
    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));
}
}