Difference between revisions of "MediaWiki:Common.css"

From Neocron Wiki
Jump to: navigation, search
m
 
(89 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
 
{
 
background-color: #555555;
 
}
 
  
#allmessagestable th
+
#p-search
 
{
 
{
background-color:#00446a;
+
    margin: 5px;
 +
    margin-top: 0px;
 
}
 
}
  
/* Map CSS settings */
+
.thn-items-fixed-height-list {
 
+
    display: flex;
#map_key
+
    flex-wrap: wrap;
{
 
margin-top:20px;
 
margin-bottom:5px;
 
margin-left:0px;
 
padding:5px;
 
border:1px solid #00446A;
 
background-color:#040404;
 
width:250px;
 
text-align:left;
 
 
 
 
 
 
}
 
}
  
#map_key ul.map_key
+
table.wikitable
 
{
 
{
list-style-type: none;
+
    background-color: black;
 +
    border: 1px solid #00446A;
 +
    color: #EEEEEE;
 +
    border-collapse: separate;
 +
    border-spacing: 2px;
 
}
 
}
  
#map_key li.map_key
+
table.wikitable > * > tr
 
{
 
{
list-style-type: none;
+
    background-color: #303030;
 +
    border: none;
 +
    padding: 3px;
 
}
 
}
  
#map_layout_right
+
table.wikitable > * > tr > th
 
{
 
{
float:right;
+
    padding: 2px;
padding:10px;
+
    background-color: #00446A;
border:1px solid #00446A;
+
    font-weight: bold;
background-color:#1A2424;
+
    text-align: center;
margin-left:5px;
+
    padding-left: 5px;
 +
    padding-right: 5px;
 +
    border: none;
 
}
 
}
  
#map_layout_world
+
table.wikitable > * > tr > td
 
{
 
{
padding:10px;
+
    padding: 3px;
border:1px solid #00446A;
+
    padding-left: 5px;
background-color:#1A2424;
+
    padding-right: 5px;
width:100%;
+
    border: none;
display: block;
 
 
}
 
}
  
#map_layout_example
+
/* 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;
/* float:right; */
+
    margin-bottom: 5px;
display: block;
 
width:270px;
 
 
}
 
}
  
/* Custom Template CSS commands */
+
.thn-item-details-raw
 
 
.dablink
 
{
 
        font-style:italic;
 
        padding-left:2em;
 
}
 
 
 
.template-documentation
 
{
 
        /*background-color:#ECFCF4;*/
 
        background-color:#101010;
 
        border:1px solid #FF9933;
 
        clear:both;
 
        margin:1em 0pt 0pt;
 
        padding:5px;
 
}
 
/** Main CSS Fixes */
 
 
 
code
 
 
{
 
{
        background-color:#202020;
+
  border: 1px solid #00446A !important;
 +
  padding-top: 1px !important;
 
}
 
}
  
pre
+
.thn-items-fixed-height-list {
{
+
    display: flex;
        background-color:#202020;
+
    flex-wrap: wrap;
        border:1px dashed #2F6FAB;
 
        color:white;
 
        line-height:1.1em;
 
        padding:1em;
 
 
}
 
}

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