Difference between revisions of "MediaWiki:Common.css"

From Hobowars Wiki
Jump to: navigation, search
m
(ROUNDED INFO TABLE CORNERS)
Line 37: Line 37:
 
         border-bottom-color: inherit;
 
         border-bottom-color: inherit;
 
         border-bottom-style: dashed;
 
         border-bottom-style: dashed;
 +
}
 +
 +
table.infotable /* Rounded corners probably won't be rendered in Internet Explorer. Sorry. :( */
 +
{
 +
        border-radius: 5px;
 +
-moz-border-radius: 5px; /* Old Firefox */
 +
-webkit-border-radius: 5px; /* Chrome/Safari */
 +
        -khtml-border-radius: 5px; /* Konqueror Browsers */
 +
-o-border-radius: 5px; /* Opera */
 
}
 
}

Revision as of 11:50, 2 March 2013

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

span[title]
{
         border-bottom-color: inherit;
         border-bottom-style: dashed;
         border-bottom-width: 1px;
}

td[title]
{
        border-right-color: inherit;
        border-right-style: dashed;
        border-bottom-color: inherit;
        border-bottom-style: dashed;
}

table.infotable /* Rounded corners probably won't be rendered in Internet Explorer. Sorry. :( */
{
        border-radius: 5px;
	-moz-border-radius: 5px; /* Old Firefox */
	-webkit-border-radius: 5px; /* Chrome/Safari */
        -khtml-border-radius: 5px; /* Konqueror Browsers */
	-o-border-radius: 5px; /* Opera */
}