Difference between revisions of "MediaWiki:Common.css"

From Neocron Wiki
Jump to: navigation, search
(More tweaks)
 
(151 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
 +
{
 +
    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;
 +
}
  
#allmessagestable tr.def
+
table.wikitable > * > tr > th
 
{
 
{
background-color: #333333;
+
    padding: 2px;
 +
    background-color: #00446A;
 +
    font-weight: bold;
 +
    text-align: center;
 +
    padding-left: 5px;
 +
    padding-right: 5px;
 +
    border: none;
 
}
 
}
  
#allmessagestable tr.orig
+
table.wikitable > * > tr > td
 
{
 
{
background-color: #222222;
+
    padding: 3px;
 +
    padding-left: 5px;
 +
    padding-right: 5px;
 +
    border: none;
 
}
 
}
  
#allmessagestable tr.new
+
/* Wiki fixes for the Items DB SDK */
 +
h1.thn-item
 +
 +
    border-bottom: none;
 +
    margin-top: 5px;
 +
    margin-bottom: 5px;
 +
}
 +
 
 +
.thn-item-details-raw
 
{
 
{
background-color: #555555;
+
  border: 1px solid #00446A !important;
 +
  padding-top: 1px !important;
 +
}
 +
 
 +
.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;
}