Difference between revisions of "MediaWiki:Common.css"

From Hobowars Wiki
Jump to: navigation, search
(Created page with "CSS placed here will be applied to all skins: table.collapsed tr.collapsable { display: none; } .collapseButton { /* 'show'/'hide' buttons created ...")
 
m (Add CSS for the colors of the alternating-color table rows in sortable tables.)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
table.collapsed tr.collapsable {
+
table.collapsed tr.collapsable
 +
{
 
         display: none;
 
         display: none;
 
}
 
}
 
   
 
   
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the               */
+
.collapseButton
         float: right;               /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
+
{
         font-weight: normal;        /* are styled here so they can be customised.               */
+
        float: right;            /* 'show'/'hide' buttons created dynamically by the       */
        text-align: right;
+
         font-weight: normal;     /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
 +
         text-align: right;        /* are styled here so they can be customised.             */
 
         width: auto;
 
         width: auto;
 +
}
 +
 +
tr.odd
 +
{
 +
        background: white;
 +
}
 +
 +
tr.even
 +
{
 +
        background: gainsboro;
 
}
 
}

Revision as of 04:55, 15 August 2011

/* CSS placed here will be applied to all skins */

table.collapsed tr.collapsable
{
        display: none;
}
 
.collapseButton
{
        float: right;             /* 'show'/'hide' buttons created dynamically by the        */
        font-weight: normal;      /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        text-align: right;        /* are styled here so they can be customised.              */
        width: auto;
}

tr.odd
{
        background: white;
}

tr.even
{
        background: gainsboro;
}