Difference between revisions of "MediaWiki:Mobile.css"

From Grand Theft Wiki
Jump to: navigation, search
(New Page: "CSS placed here will affect users of the mobile site: * center table columns styles *: table.center-col-1 td:first-child, table.center-col-2 td:first-child + td, table.center-...")
 
(No difference)

Latest revision as of 12:36, 2 September 2018

/* CSS placed here will affect users of the mobile site */
/** center table columns styles **/
table.center-col-1 td:first-child,
table.center-col-2 td:first-child + td,
table.center-col-3 td:first-child + td + td,
table.center-col-4 td:first-child + td + td + td {
    text-align: center;
}

/** character maps styles for GXT article **/
table.charmap {
    text-align: center;
}
table.charmap td, table.charmap th {
    width: 2em;
    height: 2em;
}
table.charmap td {
    font-family: monospace;
    font-size: 150%;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

/** styles for Menu article **/
table.menu tr:target {
    background-color: lightblue;
}
table.menu td:first-child td:first-child + td {
    width: 25em;
}