Difference between revisions of "MediaWiki:Common.css"

From Starsonata Wiki
Jump to: navigation, search
m
m
Line 37: Line 37:
 
}
 
}
  
#bodyContent div.mw-content-ltr table:nth-child(1) tbody tr td:nth-child(1),td:nth-child(3) {
+
#bodyContent div.mw-content-ltr table:nth-child(1) tbody tr td:nth-child(1),td:nth-child(3),td:nth-child(2) {
 
     background-color:rgba(0,0,0,0.6)!important;
 
     background-color:rgba(0,0,0,0.6)!important;
 
}
 
}

Revision as of 02:28, 23 May 2014

/*@media only screen and (min-device-width: 1024px) {
    table.wikitable tbody{
        display: block;
        width: 98%;
        max-height: 30em;
        overflow-y: scroll;
        overflow-x: none;
        border: 2px solid #088;
    }
    table.wikitable thead{
        display: block;
        width: 98%;
        border: 2px solid #088;
    }
}

table.wikitable {
width: 100%; /* whatever width you like */
position: relative; /* so .content can use position: absolute */
}
*/

#toc {
border: 5px outset #36b;
border-radius: 10px;
}

#bodyContent div.mw-content-ltr table:nth-child(1) {
    margin-right:60px!important;
    margin-top:0px!important;
    background:url("http://wiki2.starsonata.com/images/8/89/StarSonataWikiBackground01.png");
    border-radius:10px;
}

#bodyContent div.mw-content-ltr table:nth-child(1) tbody tr td {
    border:none!important;
}

#bodyContent div.mw-content-ltr table:nth-child(1) tbody tr td:nth-child(1),td:nth-child(3),td:nth-child(2) {
    background-color:rgba(0,0,0,0.6)!important;
}