MediaWiki:Mobile.css

From Legacy Roblox Wiki
Revision as of 02:02, 31 October 2023 by Realjame (talk | contribs) (Created page with "Home page table layout: break table columns into separate rows rather than cram in the same tiny horizontal width: .home-table > tbody > tr { display: flex; flex-wrap: wrap; } .home-table > tbody > tr > * { flex: 1 1 300px; } Restore Monobook theme styling: colors, rounding, etc.: .box { border: 1px solid; margin: 4px 0; padding: 4px; border-radius: 5.5px; -moz-border-radius: 5.5px; -webkit-border-radius: 5.5px } .box.shrink {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.
/* Home page table layout: break table columns into separate rows rather than cram in the same tiny horizontal width */
.home-table > tbody > tr {
  display: flex;
  flex-wrap: wrap;
}
.home-table > tbody > tr > * {
  flex: 1 1 300px;
}

/* Restore Monobook theme styling: colors, rounding, etc. */
.box {
    border: 1px solid;
    margin: 4px 0;
    padding: 4px;
    border-radius: 5.5px;
    -moz-border-radius: 5.5px;
    -webkit-border-radius: 5.5px
}

.box.shrink {
    overflow: hidden;
    zoom:1}

.box .title {
    margin: -4px -4px 4px;
    padding: 4px;
    border-bottom: 1px solid;
    border-top-left-radius: 4.5px;
    border-top-right-radius: 4.5px;
    -moz-border-radius-topleft: 4.5px;
    -moz-border-radius-topright: 4.5px;
    -webkit-border-top-left-radius: 4.5px;
    -webkit-border-top-right-radius: 4.5px
}

.box .sub-title {
    margin: 4px -4px;
    padding: 4px
}