Difference between revisions of "MediaWiki:Common.css"

From limswiki
Jump to navigation Jump to search
Line 19: Line 19:
.table-of-contents .toggle-button {
.table-of-contents .toggle-button {
   display:inline-block;
   display:inline-block;
   width:10px;
   width:12px;
   height:10px;
   height:12px;
   margin-right:10px;
   margin-right:10px;
   background:url('img/togglebutton.png') no-repeat left 0px;
   background:url('img/togglebutton.png') no-repeat left 0px;
}
}
 
.table-of-contents .toggle-button-open {
  background-position:left -20px;
}





Revision as of 11:05, 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:12px;
  height:12px;
  margin-right:10px;
  background:url('img/togglebutton.png') no-repeat left 0px;
}
.table-of-contents .toggle-button-open {
  background-position:left -20px;
}


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