Difference between revisions of "MediaWiki:Common.css"

From Neocron Wiki
Jump to: navigation, search
 
(108 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/** CSS placed here will be applied to all skins */
+
/* Experimental or new stuff by Bram - to be merged in to the base CSS */
  
/** Fix for Special:Allmessages page so the text can be seen */
+
div.thumbinner
 
 
#allmessagestable tr.def
 
 
{
 
{
background-color: #333333;
+
    background-color: #606060;
 +
    border: 1px solid #00446A;
 +
    font-size: 94%;
 +
    overflow: hidden;
 +
    padding: 3px;
 +
    text-align: center;
 
}
 
}
  
#allmessagestable tr.orig
+
#filetoc {
{
+
    border: 1px solid #00446A;
background-color: #222222;
+
    background-color: #606060;
 
}
 
}
  
#allmessagestable tr.new
+
 
 +
#p-search
 
{
 
{
background-color: #555555;
+
    margin: 5px;
 +
    margin-top: 0px;
 
}
 
}
  
#allmessagestable th
+
.thn-items-fixed-height-list {
{
+
    display: flex;
background-color:#00446a;
+
    flex-wrap: wrap;
 
}
 
}
  
/* Map CSS settings */
+
table.wikitable
 
 
#map_key
 
 
{
 
{
margin-top:20px;
+
    background-color: black;
margin-bottom:5px;
+
    border: 1px solid #00446A;
padding:5px;
+
    color: #EEEEEE;
border:1px solid #00446A;
+
    border-collapse: separate;
background-color:#040404;
+
    border-spacing: 2px;
width:250px;
 
text-align:left;
 
float:left;
 
 
 
 
}
 
}
  
#map_key ul.map_key
+
table.wikitable > * > tr
 
{
 
{
list-style-type: none;
+
    background-color: #303030;
 +
    border: none;
 +
    padding: 3px;
 
}
 
}
  
#map_key li.map_key
+
table.wikitable > * > tr > th
 
{
 
{
list-style-type: none;
+
    padding: 2px;
 +
    background-color: #00446A;
 +
    font-weight: bold;
 +
    text-align: center;
 +
    padding-left: 5px;
 +
    padding-right: 5px;
 +
    border: none;
 
}
 
}
  
#map_layout_right
+
table.wikitable > * > tr > td
 
{
 
{
float:right;
+
    padding: 3px;
padding:10px;
+
    padding-left: 5px;
border:1px solid #00446A;
+
    padding-right: 5px;
background-color:#1A2424;
+
    border: none;
margin-left:5px;
 
 
}
 
}
  
#map_layout_world
+
/* Wiki fixes for the Items DB SDK */
{
+
h1.thn-item
padding:10px;
+
{
border:1px solid #00446A;
+
    border-bottom: none;
background-color:#1A2424;
+
    margin-top: 5px;
width:100%;
+
    margin-bottom: 5px;
display: block;
 
 
}
 
}
  
#map_layout_example
+
.thn-item-details-raw
 
{
 
{
padding:10px;
+
  border: 1px solid #00446A !important;
border:1px solid #00446A;
+
  padding-top: 1px !important;
background-color:#1A2424;
+
}
/* float:right; */
 
display: block;
 
  
 +
.thn-items-fixed-height-list {
 +
    display: flex;
 +
    flex-wrap: wrap;
 
}
 
}

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