Difference between revisions of "MediaWiki:Common.css"

From Starsonata Wiki
Jump to: navigation, search
(Undo revision 37148 by GlitchFox)
Line 264: Line 264:
  
 
.wikitable th, .wikitable td {
 
.wikitable th, .wikitable td {
     border: 1px #aaa solid;
+
     border: 1px #4f4adb solid;
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
     padding: 0.2em;
 
     padding: 0.2em;

Revision as of 19:56, 5 March 2015

.centered {
    text-align: center;
    border-style: none;
}

.physical {
    color: rgb(5,6,201);
}

.surgical {
    color: rgb(57,179,122);
}

.radiation {
    color: rgb(174,172,174);
}

.mining {
    color: rgb(37,204,5);
}

.transference {
    color: rgb(96,124,174);
}

.heat {
    color: rgb(206,66,5);
}

.laser {
    color: rgb(206,49,70);
}

.energy {
    color: rgb(113,63,118);
}

.weakness {
    color: rgb(219,1,1);
}

.bg_physical {
    background-color: rgba(5,6,201,0.5);
}

.bg_surgical {
    background-color: rgba(57,179,122,0.5);
}

.bg_radiation {
    background-color: rgba(174,172,174,0.5);
}

.bg_mining {
    background-color: rgba(37,204,5,0.5);
}

.bg_transference {
    background-color: rgba(96,124,174,0.5);
}

.bg_heat {
    background-color: rgba(206,66,5,0.5);
}

.bg_laser {
    background-color: rgba(206,49,70,0.5);
}

.bg_energy {
    background-color: rgba(113,63,118,0.5);
}

.bg_weakness {
    background-color: rgba(219,1,1,0.5);
}


h1, h2, h3, h4, h5, h6 {
    overflow:visible;
}

h1 {
    line-height:normal;
}

h2 {
    padding:0.1em;
    line-height:normal;
}

.toc {
    min-height:25px;
    height:auto;
    max-height: 400px;
    width: 250px;
    display: block;
    position:relative;
    overflow-y:auto;
    overflow-x:hidden;
    padding:0px 5px!important;
    -webkit-transition: box-shadow 0.3s ease;
    -moz-transition: box-shadow 0.3s ease;
    -ms-transition: box-shadow 0.3s ease;
    -o-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    -webkit-transition:height 0.3s ease-in-out;
    -moz-transition:height 0.3s ease-in-out;
    -ms-transition:height 0.3s ease-in-out;
    -o-transition:height 0.3s ease-in-out;
    transition:height 0.3s ease-in-out;
    -webkit-transition:min-height 0.3s ease-in-out;
    -moz-transition:min-height 0.3s ease-in-out;
    -ms-transition:min-height 0.3s ease-in-out;
    -o-transition:min-height 0.3s ease-in-out;
    transition:min-height 0.3s ease-in-out;
    -webkit-transition:max-height 0.3s ease-in-out;
    -moz-transition:max-height 0.3s ease-in-out;
    -ms-transition:max-height 0.3s ease-in-out;
    -o-transition:max-height 0.3s ease-in-out;
    transition:max-height 0.3s ease-in-out;
}

.toc #toctitle {
    position:absolute;
    left:0px;
    width:100%;
    border-bottom:1px solid #fff;
}

.toc.tochidden {
    min-height:25px;
    height:25px;
    max-height:25px;
    border: 1px solid #ff4500;
    box-shadow: 0px 0px 3px 3px #ff4500;
    overflow-y:hidden; /* not needed, but makes chrome instantly hide the scrollbar */
    -webkit-transition:height 0.3s ease-in-out;
    -moz-transition:height 0.3s ease-in-out;
    -ms-transition:height 0.3s ease-in-out;
    -o-transition:height 0.3s ease-in-out;
    transition:height 0.3s ease-in-out;
    -webkit-transition:min-height 0.3s ease-in-out;
    -moz-transition:min-height 0.3s ease-in-out;
    -ms-transition:min-height 0.3s ease-in-out;
    -o-transition:min-height 0.3s ease-in-out;
    transition:min-height 0.3s ease-in-out;
    -webkit-transition:max-height 0.3s ease-in-out;
    -moz-transition:max-height 0.3s ease-in-out;
    -ms-transition:max-height 0.3s ease-in-out;
    -o-transition:max-height 0.3s ease-in-out;
    transition:max-height 0.3s ease-in-out;
}

.toc > tbody > tr > td > ul {
    margin-top: 30px!important;
    opacity:1;
    visibility:visible;
}

.tochidden > tbody > tr > td > ul {
    margin-top: 0px;
    opacity:0;
    visibility:hidden;
}

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

.editsection:hover, #p-captions ul li a:hover {
    color: #7af5ff!important;
    top:0px!important;
    left:0px!important;
    -webkit-transition:all .3s!important;
    transition:all .3s!important;
    box-shadow: 0px 0px 3px 3px #7af5ff!important;
}

#p-captions li.selected ul a {
    color: #7af5ff!important;
    background-color:rgba(255,255,255,0.2)!important;
    top:0px!important;
    left:0px!important;
    box-shadow: 0px 0px 3px 3px #7af5ff!important;
}

.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, .wrapper {
    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 #4f4adb solid;
    border-collapse: collapse;
    padding: 0.2em;
    /*top: -1px;
    left: -1px;
    position: relative;*/
    /*box-shadow:1px 1px 1px 1px #000;*/
    overflow:hidden!important;
}

.wikitable th:hover, .wikitable td:hover {
    border: 1px #aaa solid;
    padding: 0.2em;
    /*top: 0px;
    left: 0px;
    position: relative;*/
    /*-webkit-transition:all .3s;
    transition:all .3s!important;
    background: rgba(255,255,255,0.2);
    box-shadow: 0px 0px 3px 3px #ffaf31;*/
}

.cloakbox table, .shipbox table {
    margin-right:20px!important;
}

.shipbox table td img {
    height:100%;
    width:auto;
}

.missionbox 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;
float: none;
width: 700px;
}

.missionbox .missionhover {
    height:100px;
    overflow:hidden;
    padding:20px;
    opacity:0.5;
    -webkit-box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1);
    box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1);
    -webkit-transition: all .3s ease!important;
    -moz-transition: all .3s ease!important;
    -ms-transition: all .3s ease!important;
    -o-transition: all .3s ease!important;
    transition: all .3s ease!important;
}

.missionbox .missionhover:hover {
    height:300px;
    box-shadow:none;
    overflow-y:scroll;
    opacity:1;
}

.teambox table {
    float:none;
    margin-left:auto;
    margin-right:auto;
    width:1000px;
}

.teambox .listing a {
    display:block;
}

.teambox .flag {
    float:right;
}

.teambox pre {
    border:none;
    color:#fff;
    background-color:transparent;
    line-height:normal;
}

.teambox h1, h2, h3 {
    padding:10px;
    margin-bottom:0px;
    border-bottom:none;
}

.expandable {
    max-height:50px;
    overflow:hidden;
    opacity:0.5;
    padding:5px;
    border:1px solid #7af5ff;
    border-radius:5px;
    -webkit-box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1);
    box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1);
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.expandable:hover {
    max-height:300px;
    overflow-y:scroll;
    box-shadow:none;
    opacity:1;
}

.blueprintbox table {
    float:none!important;
}

#mainpageannouncment h6 {
    border-radius:5px;
    font-size:22px;
    padding:15px;
    margin:5px;
    margin-left: 5px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    position: relative;
    box-shadow: 1px 1px 1px 1px #000;
    line-height:30px;
}

table.diff, td.diff-otitle, td.diff-ntitle {
  background-color:#000;
}
td.diff-context,td.diff-deletedline,td.diff-addedline {
  background-color:#555;
}
td.diff-deletedline {
  color:#f55;
}
td.diff-addedline {
  color:#afa;
}