Difference between revisions of "MediaWiki: Common.css"

From Teknologisk videncenter
Jump to: navigation, search
(New page: CSS placed here will be applied to all skins: body.page-Main_Page h1.firstHeading { display:none; })
 
m
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
body.page-Main_Page h1.firstHeading { display:none; }
 
body.page-Main_Page h1.firstHeading { display:none; }
 +
/* Added 28/3-2009 HeTh */
 +
.collapseButton {        /* 'show'/'hide' buttons created dynamically by the        */
 +
    float: right;        /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
 +
    font-weight: normal;  /* are styled here so they can be customised.              */
 +
    text-align: right;
 +
    width: auto;
 +
}
 +
.navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */
 +
    width: 6em;          /* [[Template:Tnavbar]], so they need to be the same width.      */
 +
}

Revision as of 10:24, 28 March 2009

/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading { display:none; }
/* Added 28/3-2009 HeTh */
.collapseButton {         /* 'show'/'hide' buttons created dynamically by the        */
    float: right;         /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
    font-weight: normal;  /* are styled here so they can be customised.              */
    text-align: right;
    width: auto;
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */
    width: 6em;           /* [[Template:Tnavbar]], so they need to be the same width.      */
}