85,631
edits
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! |
(Added image-set. JXL will be used on iPhones with Safari, WebP otherwise.) Tag: Reverted |
Thecornerman (talk | contribs) mNo edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
body { | body { | ||
background: image-set( | 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.jxl") type("image/jxl"), | ||
url("https://cdn.fireemblemwiki.org/header.webp") type("image/webp")) | 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.jxl") type("image/jxl"), | ||
url("https://cdn.fireemblemwiki.org/footer.webp") type("image/webp")) | 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 283: | 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 714: | Line 722: | ||
} | } | ||
.unused td: | .unused td:not(:first-child), .unused th:not(:first-child) { | ||
background-color: #222; | background-color: #222; | ||
padding: 10px; | padding: 10px; | ||
Line 970: | Line 978: | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
} | |||
/* Fix TRS portraits in galleries */ | |||
li.gallerybox div.thumb img[src*="Portrait_"][src*="trs01.png"] { | |||
transform:scaleX(calc(32/35)); | |||
} | } |