MediaWiki:Common.css: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(Added css to experiment with)
(Remove experimental css)
Line 6: Line 6:
  */
  */
.noautonum .tocnumber { display: none; }
.noautonum .tocnumber { display: none; }
/**
* Experimental css
*/
.tcw_clearfix:before,
.tcw_clearfix:after {
    content: "";
    display: table;
}
.tcw_clearfix:after {
    clear: both;
}
.tcw_clearfix { display: inline-block; } /* This and next line to fix IE6/7 */
.tcw_clearfix { display: block; }
.tcw_dlfloat dt {
float: left;
clear: left;
}
.tcw_dlfloat dd {
float: left;
}
.tcw_dlfloat dd+dd {
    clear: left; /* Prevent multiple dd next to each other */
}
.tcw_dlalign_17_5em dl {
margin-left: 17.5em;
}
.tcw_dlalign_17_5em dt {
margin-left: -17.5em;
width: 16.5em; /* Width+padding+border must not exceed margin-left value */
}
.tcw_dlalign_17_5em dd {
    margin-left: 0; /* Remove default margin-left */
}

Revision as of 10:34, 18 March 2014

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

/**
 * Class "noautonum" to suppress automatic section numbering in table of contents.
 * Use template {{TOC noautonum}} to insert a table of contents without numbering.
 */
.noautonum .tocnumber { display: none; }