Difference between revisions of "MediaWiki:Common.css"

From EEWiki
Jump to: navigation, search
(Some classes for the home page so we don't have inline styles on every. single. element.)
m (Tweaks)
Line 73: Line 73:
 
table, tr, td {
 
table, tr, td {
 
   height: 100%;
 
   height: 100%;
 +
  width: 100%;
 
}
 
}
  
Line 90: Line 91:
 
   height: unset;
 
   height: unset;
 
   vertical-align: top;
 
   vertical-align: top;
   display: table-cell;
+
}
 +
 
 +
tr.wiki-collection td {
 +
   display: block;
 
}
 
}
  

Revision as of 18:55, 16 March 2018

/* CSS placed here will be applied to all skins */
.topicon {
   position: absolute;
   right: 0;
   top: -20px;
}

body.mediawiki, body.mediawiki #mw-page-base {
   background: url(/bg1.png);
}

#content, div.vectorTabs li.selected {
   background: url(/bg2.png);
}

.vectorMenu {
   background-color: #f3f3f3;
   background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAIAAADITs03AAAAPElEQVR4XuWK2xEAIAzCsPvv5DSu0ahX3yv4wQVyGGCSvg2dnJvduT8sz/IwKOIfjCi2z/76FhHeJcslVZQFLUC06LZ/AAAAAElFTkSuQmCC);
   background-image: url(//wiki.everybodyedits.com/skins/Vector/images/tab-normal-fade.png?2015-03-31T18:45:00Z)!ie;
   background-position: bottom left;
   background-repeat: repeat-x;
}

.wiki-box {
   border: 1px #bbb solid;
   width: 100%;
   margin: .2em;
}

.wiki-box-header {
   background: #D9D9FF;

   padding: .2em 0 .5em;
   height: unset;

   font-size: 140%;
   text-align: center;
   font-weight: bold;

   border: none;
   border-bottom: 1px solid #aaa;
}

tr.wiki-box-header td {
   height: unset;
}

.center {
   text-align: center;
}

.wiki-byte {
   font-weight: bold;
}

.wiki-byte .wiki-byte-main {
   font-size: 120%;
}

.wiki-item-group {
   display: flex;
}

.wiki-item-group td {
   display: block;
   text-align: center;
}

hr {
   background: #bbb;
}

table, tr, td {
   height: 100%;
   width: 100%;
}

.wiki-noborder {
   border-collapse: collapse;
}

.wiki-nopadding > tbody > tr > td, .wiki-nopadding > tbody > tr > th {
   padding: 0;
}

.wiki-hsplit > tbody > tr > td {
   width: 50%;
}

tr.wiki-collection {
   height: unset;
   vertical-align: top;
}

tr.wiki-collection td {
   display: block;
}

.wiki-collection table {
   height: unset;
}