Difference between revisions of "MediaWiki:Common.css"

From limswiki
Jump to navigation Jump to search
Line 22: Line 22:
   height:10px;
   height:10px;
   margin-right:10px;
   margin-right:10px;
  background:url('togglebutton.png') no-repeat left 0px;
}
}



Revision as of 10:49, 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:20px;
}
.table-of-contents .toggle-button {
  display:inline-block;
  width:10px;
  height:10px;
  margin-right:10px;
  background:url('togglebutton.png') no-repeat left 0px;
}



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