Difference between revisions of "MediaWiki:Common.css"

From EEWiki
Jump to: navigation, search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
body.page-Everybody_Edits_Wiki h1.firstHeading {
 
body.page-Everybody_Edits_Wiki h1.firstHeading {
     display: none;
+
     display:none;
 
}
 
}
  
.wiki-box {
+
.mainContent {
  border: 1px #bbb solid;
+
  display:flex;
  width: 100%;
+
  margin: .2em;
+
}
+
 
+
.wiki-box-header {
+
  background: #1C1C46;
+
 
+
  padding: .2em 0 .5em;
+
  height: unset !important;
+
 
+
  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-main {
+
  font-size: 120%;
+
}
+
 
+
.wiki-item-group {
+
  display: flex;
+
}
+
 
+
.wiki-item-group td {
+
  display: block;
+
  text-align: center;
+
}
+
 
+
.wiki-table-main hr {
+
  background: #bbb;
+
}
+
 
+
.wiki-table-main table, .wiki-table-main tr, .wiki-table-main 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;
+
 
}
 
}
  
 
.mainBox {
 
.mainBox {
   background: #333333;
+
   display:flex;
   color: #DDDDDD;
+
  flex-direction:column;
   border: 2px solid #7B7B7B;
+
   color:#DDDDDD;
   border-radius: 5px;
+
  background:#333333;
   display: flex;
+
   border:2px solid #7B7B7B;
 +
   border-radius:5px;
 +
   padding:5px;
 +
  margin:5px;
 
}
 
}
  
 
.mainBoxHeader {
 
.mainBoxHeader {
   background: #222222;
+
   display:flex;
   color: #DDDDDD;
+
   justify-content:center;
   border-radius: 5px;
+
   align-items:center;
  display: flex;
+
   font-size:150%;
   font-size: 150%;
+
   font-weight:bold;
   font-weight: bold;
+
   color:#DDDDDD;
   justify-content: center;
+
   background:#222222;
   align-items: center;
+
   border-radius:5px;
   margin: 5px;
+
   padding:5px;
   padding: 5px;
+
  margin-bottom:5px;
 
}
 
}
  
 
.mainBoxNewsContainer {
 
.mainBoxNewsContainer {
  margin: 0px 5px 5px;
+
   display:flex;
   display: flex;
+
   flex-direction:column;
   flex-direction: column;
+
   align-items:center;
   align-items: center;
+
   margin-bottom:5px;
   justify-content: center;
+
 
}
 
}
  
 
.mainBoxNews {
 
.mainBoxNews {
   font-weight: bold;
+
   font-weight:bold;
 
}
 
}
  
 
.mainBoxNewsBig {
 
.mainBoxNewsBig {
   font-size: 125%;
+
   font-size:125%;
 
}
 
}
  
 
.mainBoxItemContainer {
 
.mainBoxItemContainer {
   display: flex;
+
   display:flex;
   justify-content: space-around;
+
   justify-content:space-around;
   margin: 0px 5px 5px;
+
  align-items:center;
 +
  height:100%;
 +
   margin-bottom:5px;
 
}
 
}
  
 +
.mainBoxItem {
 +
  display:flex;
 +
  flex-direction:column;
 +
  align-items:center;
 +
}
  
.mainBoxItem {
+
.mainBoxNewsContainer:last-child, .mainBoxItemContainer:last-child {
  display: flex;
+
   margin-bottom:0px !important;
  flex-direction: column;
+
   align-items: center;
+
 
}
 
}

Latest revision as of 02:11, 1 May 2024

body.page-Everybody_Edits_Wiki h1.firstHeading {
    display:none;
}

.mainContent {
  display:flex;
}

.mainBox {
  display:flex;
  flex-direction:column;
  color:#DDDDDD;
  background:#333333;
  border:2px solid #7B7B7B;
  border-radius:5px;
  padding:5px;
  margin:5px;
}

.mainBoxHeader {
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:150%;
  font-weight:bold;
  color:#DDDDDD;
  background:#222222;
  border-radius:5px;
  padding:5px;
  margin-bottom:5px;
}

.mainBoxNewsContainer {
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:5px;
}

.mainBoxNews {
  font-weight:bold;
}

.mainBoxNewsBig {
  font-size:125%;
}

.mainBoxItemContainer {
  display:flex;
  justify-content:space-around;
  align-items:center;
  height:100%;
  margin-bottom:5px;
}

.mainBoxItem {
  display:flex;
  flex-direction:column;
  align-items:center;
}

.mainBoxNewsContainer:last-child, .mainBoxItemContainer:last-child {
  margin-bottom:0px !important;
}