MediaWiki:Common.css

From limswiki
Revision as of 10:47, 15 December 2011 by Admin (talk | contribs)
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 */

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