MediaWiki:Common.css

From Starsonata Wiki
Jump to: navigation, search

Note: After saving, 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)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/*@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: -webkit-linear-gradient(#a6a6a6, #5a5a5a); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#a6a6a6, #5a5a5a); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#a6a6a6, #5a5a5a); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#a6a6a6, #5a5a5a); /* Standard syntax */
    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;
    border-radius:20px!important;
}