MediaWiki:Common.css

From Leeds Hackspace Wiki
Revision as of 15:22, 17 August 2018 by BShute (talk | contribs) (Danger Will Robinson)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 */

.hlist dl,.hlist ol,.hlist ul {
 margin:0;
 padding:0
}
.hlist dd,.hlist dt,.hlist li {
 margin:0;
 display:inline
}

.hlist dt:after {
 content:":"
}
.hlist dd:after,.hlist li:after {
 content:" · ";
 font-weight:bold
}
.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after {
 content:none
}

.navbox {
 box-sizing:border-box;
 border:1px solid #a2a9b1;
 width:100%;
 clear:both;
 font-size:88%;
 text-align:center;
 padding:1px;
 margin:1em auto 0
}
.navbox .navbox {
 margin-top:0
}
.navbox + .navbox {
 margin-top:-1px
}
.navbox-inner,.navbox-subgroup {
 width:100%
}
.navbox-group,.navbox-title,.navbox-abovebelow {
 padding:0.25em 1em;
 line-height:1.5em;
 text-align:center
}
th.navbox-group {
 white-space:nowrap;
 text-align:right
}
.navbox,.navbox-subgroup {
 background-color:#fdfdfd
}
.navbox-list {
 line-height:1.5em;
 border-color:#fdfdfd
}
tr + tr > .navbox-abovebelow,tr + tr > .navbox-group,tr + tr > .navbox-image,tr + tr > .navbox-list {
 border-top:2px solid #fdfdfd
}
.navbox th,.navbox-title {
 background-color:#ccccff
}
.navbox-abovebelow,th.navbox-group,.navbox-subgroup .navbox-title {
 background-color:#ddddff
}
.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow {
 background-color:#e6e6ff
}
.navbox-even {
 background-color:#f7f7f7
}
.navbox-odd {
 background-color:transparent
}
.navbox .hlist td dl,.navbox .hlist td ol,.navbox .hlist td ul,.navbox td.hlist dl,.navbox td.hlist ol,.navbox td.hlist ul {
 padding:0.125em 0
}
.navbar {
 display:inline;
 font-size:88%;
 font-weight:normal
}
.navbar ul {
 display:inline;
 white-space:nowrap
}
.mw-body-content .navbar ul {
 line-height:inherit
}
.navbar li {
 word-spacing:-0.125em
}
.navbar.mini li abbr[title] {
 font-variant:small-caps;
 border-bottom:none;
 text-decoration:none;
 cursor:inherit
}
.infobox .navbar {
 font-size:100%
}
.navbox .navbar {
 display:block;
 font-size:100%
}
.navbox-title .navbar {
 float:left;
 text-align:left;
 margin-right:0.5em
}
.collapseButton {
 float:right;
 font-weight:normal;
 margin-left:0.5em;
 text-align:right;
 width:auto
}
.mw-parser-output .mw-collapsible-toggle {
 font-weight:normal;
 text-align:right;
 padding-right:0.2em;
 padding-left:0.2em
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
 float:left;
 text-align:left
}
.infobox {
 border:1px solid #a2a9b1;
 border-spacing:3px;
 background-color:#f8f9fa;
 color:black;
 margin:0.5em 0 0.5em 1em;
 padding:0.2em;
 float:right;
 clear:right;
 font-size:88%;
 line-height:1.5em;
 border-radius: 0 0 8px 8px;
}
.infobox caption {
 font-size:125%;
 font-weight:bold;
 padding:0.2em;
 text-align:center; 
 background-color:#5f9fbc; 
 color: white; 
 border-radius: 8px 8px 0 0;
}
.infobox td,.infobox th {
 vertical-align:top;
 text-align:left
}
.infobox.bordered {
 border-collapse:collapse
}
.infobox.bordered td,.infobox.bordered th {
 border:1px solid #a2a9b1
}
.infobox.bordered .borderless td,.infobox.bordered .borderless th {
 border:0
}
.infobox.sisterproject {
 width:20em;
 font-size:90%
}
.infobox.standard-talk {
 border:1px solid #c0c090;
 background-color:#f8eaba
}
.infobox.standard-talk.bordered td,.infobox.standard-talk.bordered th {
 border:1px solid #c0c090
}
.infobox.bordered .mergedtoprow td,.infobox.bordered .mergedtoprow th {
 border:0;
 border-top:1px solid #a2a9b1;
 border-right:1px solid #a2a9b1
}
.infobox.bordered .mergedrow td,.infobox.bordered .mergedrow th {
 border:0;
 border-right:1px solid #a2a9b1
}