MediaWiki:Common.css

From TotalcmdWiki
Revision as of 10:41, 16 March 2014 by White (talk | contribs) (Added css to experiment with)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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; }

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