Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
width:250px; | width:250px; | ||
margin:10px; | margin:10px; | ||
} | |||
.table-of-contents ul { | |||
list-style:none; | |||
margin:0; | |||
} | |||
.table-of-contents ul ul { | |||
padding-left:10px; | |||
} | |||
.table-of-contents .toogle-button { | |||
display:inline-block; | |||
width:10px; | |||
height:10px; | |||
margin-right:10px; | |||
} | } | ||
Revision as of 10:46, 15 December 2011
/* CSS placed here will be applied to all skins */ /* --- css for the table of contents --- */ .table-of-contents { float:right; background:#eee; border:1px solid #ccc; padding:10px; width:250px; margin:10px; } .table-of-contents ul { list-style:none; margin:0; } .table-of-contents ul ul { padding-left:10px; } .table-of-contents .toogle-button { display:inline-block; width:10px; height:10px; margin-right:10px; } /* --- custom css added for hiding stuff on iframe include --- */ .iframe-body { background:none; } .iframe-body #content, .iframe-body #mw-head-base, .iframe-body #footer { margin-left:0; } .iframe-body #p-logo, .iframe-body #p-tb, .iframe-body #p-coll-print_export, .iframe-body #mw-head { display:none; } .iframe-body #mw-page-base { background:none; height:4em; } .iframe-body #mw-head-base { height:4em; margin-top:-4em; } .iframe-body #mw-panel { top:0; width:100%; } .iframe-body #mw-panel #p-navigation h5 { display:none; } .iframe-body #mw-panel #p-navigation .body { background:none; } .iframe-body #mw-panel #p-navigation .body ul li { float:left; margin-right:20px; } .iframe-body #footer ul { display:none; }