Jump to content

MediaWiki:Mobile.css

From Pyrrwiki
Revision as of 17:15, 29 June 2025 by Matt (talk | contribs) (Created page with "All CSS here will be loaded for users of the mobile site: .infobox { background: #f7f7f7; border: 1px solid #aaa; padding: 0.25em; width: 100%; margin-top: 0.5rem; } .infobox-title { font-size: 1.5rem; text-align: center; } .infobox-subtitle { font-style: italic; text-align: center; } .infobox-image { text-align: center; } .infobox-table { display: flex; flex-direction: column; align-items: center; margin-top:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* All CSS here will be loaded for users of the mobile site */

.infobox {
    background: #f7f7f7;
    border: 1px solid #aaa;
    padding: 0.25em;
    width: 100%;
    margin-top: 0.5rem;
}
.infobox-title {
    font-size: 1.5rem;
    text-align: center;
}
.infobox-subtitle {
    font-style: italic;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}
.infobox-table > span:nth-child(odd) {
    font-weight: bold;
}