MediaWiki:Mobile.css: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
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 {..."
 
m test
Tags: mobile web edit mobile edit advanced mobile edit
 
Line 1: Line 1:
* {
  color: red;
}
/* Home page table layout: break table columns into separate rows rather than cram in the same tiny horizontal width */
/* Home page table layout: break table columns into separate rows rather than cram in the same tiny horizontal width */
.home-table > tbody > tr {
.home-table > tbody > tr {

Latest revision as of 17:19, 3 August 2024

* {
  color: red;
}

/* 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
}