Difference between revisions of "MediaWiki:Common.css"

From Starsonata Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
@media only screen and (min-device-width: 480px) {
 
@media only screen and (min-device-width: 480px) {
     table.wikitable tbody{
+
     table.wikitable{
 
         display: block;
 
         display: block;
 
         width: 98%;
 
         width: 98%;
Line 7: Line 7:
 
         overflow-x: none;
 
         overflow-x: none;
 
         border: 2px solid #088;
 
         border: 2px solid #088;
 +
    }
 +
    table.wikitable tr:first-child {
 +
        display: table-header-group;
 +
vertical-align: middle;
 +
border-color: inherit;
 
     }
 
     }
 
}
 
}

Revision as of 02:06, 22 November 2013

@media only screen and (min-device-width: 480px) {
    table.wikitable{
        display: block;
        width: 98%;
        height: 30em;
        overflow-y: scroll;
        overflow-x: none;
        border: 2px solid #088;
    }
    table.wikitable tr:first-child {
        display: table-header-group;
vertical-align: middle;
border-color: inherit;
    }
}