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.
#toc {
    border: 5px outset #36b;
    border-radius: 10px;
}

.editsection, #bodyContent a.external {
    margin-left: 5px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    border-radius: 5px;
    padding: 2px;
    margin: 10px;
    top: -1px;
    left: -1px;
    position: relative;
    box-shadow: 1px 1px 1px 1px #000;
}

.editsection:hover, #bodyContent a.external:hover {
    color: #7af5ff;
    top:0px;
    left:0px;
    -webkit-transition:all .3s;
    box-shadow: 0px 0px 3px 3px #7af5ff;
}

.editsection a {
   color:#fff;
}

.editsection a:hover {
   color:#7af5ff;
}

#bodyContent a.external:visited {
    color:#ffaf31;
}

#content {
    background-color: rgba(255, 255, 255, 0.1)!important;
    margin-right:20px!important;
}

table {
    font-size: 100%;
    border: 0px;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    background: rgba(0,0,0,0.6);
    border-color: #7af5ff;
    box-shadow: 0px 0px 3px 3px #7af5ff;
}

#mainpage table {
    font-size: 100%;
    border: 0px;
    border-radius: 0px;
    padding: 0px;
    margin: 0px;
    background: rgba(0,0,0,0);
    border-color: #000;
    box-shadow: 0px 0px 0px 0px #000;
}

table.navbox {
    font-size: 100%;
    border: 0px;
    border-radius: 0px;
    padding: 0px;
    margin: 0px;
    background: rgba(0,0,0,0);
    border-color: none;
    box-shadow: 0px 0px 0px 0px #000;
}

table.navbox {
    float:left;
    width:80%!important;
}

#mainpage table.navbox {
    float:none;
    width:100%!important;
}

mw-content-ltr table tbody tr td b, mw-content-ltr table td.navbox-group, table td.navbox-list {
    color: #ffaf31!important;
}

body h2 {
    font-size: 2em;
}

.wikitable th, .wikitable td {
    border: 1px #aaa solid;
    padding: 0.2em;
    top: -1px;
    left: -1px;
    position: relative;
    box-shadow:1px 1px 1px 1px #000;
    max-height:200px;
    overflow-y:hidden;
}

.wikitable th:hover, .wikitable td:hover {
    border: 1px #aaa solid;
    padding: 0.2em;
    top: 0px;
    left: 0px;
    position: relative;
    -webkit-transition:all .3s;
    background: rgba(255,255,255,0.2);
    max-height:none;
}