Latest Neocron News and Information

  • New test server patch #545 has been released to Vedeena

Difference between revisions of "MediaWiki:Common.css"

From Neocron Wiki
Jump to: navigation, search
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Experimental or new stuff by Bram */
+
/* Experimental or new stuff by Bram - to be merged in to the base CSS */
  
table.wikitable
+
div.thumbinner
 
{
 
{
     background-color: #2A2B30;
+
     background-color: #606060;
 +
    border: 1px solid #00446A;
 +
    font-size: 94%;
 +
    overflow: hidden;
 +
    padding: 3px;
 +
    text-align: center;
 +
}
 +
 
 +
#filetoc {
 
     border: 1px solid #00446A;
 
     border: 1px solid #00446A;
 +
    background-color: #606060;
 +
}
  
}
 
  
table.wikitable > tr > th, table.wikitable > * > tr > th
+
#p-search
 
{
 
{
     color: #eeeeee;
+
     margin: 5px;
     background-color: #2A2B30;
+
     margin-top: 0px;
 
}
 
}
table.wikitable td
+
 
{
+
.thn-items-fixed-height-list {
     color: #EEEEEE;
+
    display: flex;
 +
     flex-wrap: wrap;
 
}
 
}
  
table.thn_wikitable
+
table.wikitable
 
{
 
{
 
     background-color: black;
 
     background-color: black;
Line 27: Line 37:
 
}
 
}
  
table.thn_wikitable tr
+
table.wikitable > * > tr
 
{
 
{
 
     background-color: #303030;
 
     background-color: #303030;
 +
    border: none;
 
     padding: 3px;
 
     padding: 3px;
 
}
 
}
  
table.thn_wikitable th
+
table.wikitable > * > tr > th
 
{
 
{
 
     padding: 2px;
 
     padding: 2px;
Line 41: Line 52:
 
     padding-left: 5px;
 
     padding-left: 5px;
 
     padding-right: 5px;
 
     padding-right: 5px;
 
+
    border: none;
 
}
 
}
  
table.thn_wikitable td
+
table.wikitable > * > tr > td
 
{
 
{
 
     padding: 3px;
 
     padding: 3px;
 
     padding-left: 5px;
 
     padding-left: 5px;
 
     padding-right: 5px;
 
     padding-right: 5px;
 +
    border: none;
 
}
 
}
  
 
+
/* Wiki fixes for the Items DB SDK */
#wiki_faction_table
+
h1.thn-item
{
+
{
    padding:15px;
+
    border-bottom: none;
    background-color: #2A2B30;
+
    margin-top: 5px;
    border: 1px solid #00446A;
+
    margin-bottom: 5px;
    width: 532px;
 
}
 
 
 
#wiki_faction_table img
 
{
 
    margin: 5px;
 
}
 
 
 
table.TablePager
 
{
 
    background-color: #000000;
 
    border: 1px solid #00446A;
 
 
}
 
}
  
table.TablePager td
+
.thn-item-details-raw
 
{
 
{
    background-color: #000000;
+
  border: 1px solid #00446A !important;
    border: 1px solid #00446A;
+
  padding-top: 1px !important;
 
}
 
}
  
/* Allow limiting of which header levels are shown in a TOC;
+
.thn-items-fixed-height-list {
  <div class="toclimit-3">, for instance, will limit to
+
     display: flex;
  showing ==headings== and ===headings=== but no further
+
    flex-wrap: wrap;
  (as long as there are no =headings= on the page, which
 
  there shouldn't be according to the MoS).
 
*/
 
.toclimit-2 .toclevel-1 ul,
 
.toclimit-3 .toclevel-2 ul,
 
.toclimit-4 .toclevel-3 ul,
 
.toclimit-5 .toclevel-4 ul,
 
.toclimit-6 .toclevel-5 ul,
 
.toclimit-7 .toclevel-6 ul {
 
     display: none;
 
 
}
 
}

Latest revision as of 19:25, 27 April 2020

/* Experimental or new stuff by Bram - to be merged in to the base CSS */

div.thumbinner
{
    background-color: #606060;
    border: 1px solid #00446A;	
    font-size: 94%;
    overflow: hidden;
    padding: 3px;
    text-align: center;
}

#filetoc {
    border: 1px solid #00446A;
    background-color: #606060;
}


#p-search 
{
    margin: 5px;
    margin-top: 0px;
}

.thn-items-fixed-height-list {
    display: flex;
    flex-wrap: wrap;
}

table.wikitable
{
    background-color: black;
    border: 1px solid #00446A;
    color: #EEEEEE;
    border-collapse: separate;
    border-spacing: 2px;
}

table.wikitable > * > tr
{
    background-color: #303030;
    border: none;
    padding: 3px;
}

table.wikitable > * > tr > th
{
    padding: 2px;
    background-color: #00446A;
    font-weight: bold;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    border: none;
}

table.wikitable > * > tr > td
{
    padding: 3px;
    padding-left: 5px;
    padding-right: 5px;
    border: none;
}

/* Wiki fixes for the Items DB SDK */
h1.thn-item 
{  
     border-bottom: none;
     margin-top: 5px;
     margin-bottom: 5px;
}

.thn-item-details-raw
{
  border: 1px solid #00446A !important;
  padding-top: 1px !important;
}

.thn-items-fixed-height-list {
    display: flex;
    flex-wrap: wrap;
}