MediaWiki:Common.css

From Starsonata Wiki
Revision as of 17:16, 10 June 2021 by Si (talk | contribs)

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, .toc {
    margin-top: 30px;
}

.systembox table {
    float:right;
    width:200px;
}

.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:auto;*/
}

h1 {
    line-height:normal;
}

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

.toc {
    min-height:25px;
    height:auto;
    max-height: 400px;
    width: 300px;
    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;
}

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


a {
    color: #cabd90;
    text-decoration: none;
}

div#mw-panel div.portal div.body ul li a {
    color: #cabd90;
}

div#mw-panel div.portal div.body ul li a:hover{
    color: #cabd90;
}

div#mw-panel div.portal div.body ul li a:visited {
    color: #cabd90;
}

div#mw-panel div.portal {
    margin: 0 0.6em 0 0.7em;
    padding: 0.25em 0;
    direction: ltr;
    background-position: top left;
    background-repeat: no-repeat;
    background-image: url(/skins/Vector/images/portal-break.png);
    background-color: rgba(0, 0, 0, 0.8)!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 #aaa 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 {
    position: sticky;
    top:-1px;
    background-color:black;
}

.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;
}

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

.missionbox2 .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;
}

.missionbox2 .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;
}


/*Ships Page-Specific CSS*/

body.page-TCGM_Sandbox .shipbox table {
    height:100px;
    display:block;
    width:100%;
}

body.page-TCGM_Sandbox .shipbox tr, body.page-TCGM_Sandbox .shipbox td,  body.page-TCGM_Sandbox .shipbox tbody {
    display:block;
}


/* Class Page-Specific CSS */
.skill-table .skill-cell {
 	position:relative; 
    width:33%;
}

.skill-table .skill-cell img {
 	z-index:99;
  	position:relative	  
}

.skill-table pre {
    padding: 0.5em;
    border: none;
    color: #fdfdfd;
    background-color: rgba(36,46,49,0.7);
    line-height: 1.1em;	 
  	position:relative;
    z-index:99;
}

.skill-table .header {
    font-weight:bold; 
    font-size:1.1em;
}

.skill-table .glyph-left {
 	display:block;
  	width:15px;
  	height:15px;
  	background-color:#082935;
  	position:absolute;
  	top:0;	  
  	left:50%;
    margin-left:-52px;
	margin-top:31px;
}

.skill-table .connector-right {
 	display:block;
  	width:100%;
  	height:5px;
  	background-color:#082935;
  	position:absolute;
  	top:4px;	  
  	left:50%;
	margin-top:31px;
}

.skill-table .connector-down {
 	display:block;
  	width:5px;
  	height:100%;
  	background-color:#082935;
  	position:absolute;
  	top:0%;	  
  	left:50%;
	margin-top:31px;
}


.skill-table .glyph-top {
 	display:block;
  	width:15px;
  	height:15px;
  	background-color:#082935;
  	position:absolute;
  	top:0;	  
  	left:50%;
    margin-left:-5px;
	margin-top:-14px;
}

.skill-table .skill-cell span {
    float:left 
}


.skill-table td {
    vertical-align: top;
}

.skill-cell pre::after { 
   content: " ";
   display: block; 
   height: 0; 
   clear: both;
   *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML += '<div class="ie7-clear"></div>' );
}

.ie7-clear {
    display: block;
    clear: both;
}

.adv-skills-wrapper {
 	display:inline-block; 
}

.adv-skills td {
  	padding-left:5px
}

.adv-skills td.icon {
  	padding-left:0px
}


.adv-skills td.name {
 	font-weight:bold; 
}

.adv-skills .icon img {
    width: 50px;
    height: 50px;
}

.adv-skills td {
     border-bottom: 1px solid #212121;
}

.adv-skill-legend > div {
    margin:0px 10px;
}

.adv-skill-legend div {
    display: inline-block;
}

.adv-skill-legend .adv-skill-glyph {
 	width:11px;
  	height:11px;	
}

/* Item Template CSS */

.itemWrapper, .weaponWrapper {
    line-height:18px;
    font-size:18px;
    border: 1px solid #7af5ff;
    border-radius: 0px;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    box-shadow: 1px 1px 1px 1px #333;
    float: none;
    min-width: 150px;
    min-height: 300px;
    max-width:300px;
    max-height:400px;
    overflow-y:scroll;
}

.weaponWrapper {
    max-width:400px;
    max-height:600px;
}

.itemName {
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    height:80px;
}

.itemStatsWrapper div div, .weaponStatsWrapper div div {
   display:inline-block;
}

.weaponWrapper .itemWrapper {
    border:0px;
    padding:0px;
    background:transparent;
    box-shadow:none;
    min-width: 0px;
    min-height: 0px;
    overflow-y:visible;
}

.itemIconWrapper {
    float: left;
    margin: 10px;
    margin-bottom:0px;
}

.itemIconWrapper img {
    width:64px;
    height:64px;
}

.scroll-box {
	margin-left:260px;
	overflow-x:scroll;
}

.wide-table td:first-child {
	  position: absolute;
    width: 250px;
    top: auto;
    overflow: hidden;
    height: 20px;
    margin-left: 0px;
    border-left: none;
    border-right: none;
    border-bottom: none;
    left: 0px;
}

.wide-table th:first-child {
    position: absolute;
    width: 233px;
    top: auto;
    border-top-width: 1px;
    margin-top: -1px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0px 0px 3px 3px #7af5ff;
    background: rgba(0,0,0,0.6);
    left: 0px;
}

.mw-content-ltr {
position:relative;
}

#p-logo {
  visibility: hidden;
}

body {
    font-family: 'Droid Sans', sans-serif;
    font-weight: 400;
    color: #dddddd;
    background-image: url(https://starsonata.com/img/front/blog_test_background_bright.jpg);
    background-size: cover;
    background-attachment: fixed;
}

div.vectorTabs ul li {
    background-color: #aaa;
}

#mw-page-base {
    height: 5em;
    background-image: unset!important;
    background-color: rgb(0 0 0 / 80%);
}