Difference between revisions of "MediaWiki:Common.css"

From limswiki
Jump to navigation Jump to search
 
Line 32: Line 32:
   margin-left:20px;
   margin-left:20px;
}
}
.table-of-contents ul a.expandable-link {
.table-of-contents ul .expandable-link {
   margin-left:0;
   margin-left:0;
}
}

Latest revision as of 12:06, 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:8px;
  background:url('img/togglebutton.png') no-repeat left 0px;
  vertical-align:middle;
}
.table-of-contents .toggle-button-open {
  background-position:left -20px;
}
.table-of-contents ul a, .table-of-contents ul .selflink {
  vertical-align:middle;
  margin-left:20px;
}
.table-of-contents ul .expandable-link {
  margin-left:0;
}


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