MediaWiki:Common.css

Revision as of 01:59, 23 December 2014 by >CDRW (Created page with "→‎**** CSS placed here will be applied to all skins on the entire site. ****: →‎Mark redirects in Special:Allpages and Special:Watchlist: .allpagesredirect { font-styl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/***** CSS placed here will be applied to all skins on the entire site. *****/

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
   font-style: italic;
}
.allpagesredirect:after {
   color: #808080; content: " (redirect)"
}
.watchlistredir {
   font-style: italic;
}
/* Switch Infobox */
.switch-infobox > p,
.switch-infobox-triggers > p {
    display: none;
}
.switch-infobox > p:first-child,
.switch-infobox-triggers > p:first-child {
    display: block;
}
 
.switch-infobox > .item {
    display: none;
}
 
.switch-infobox > .item.showing {
    display: block;
}
 
.switch-infobox > .loading-button {
    display: none;
}
 
.switch-infobox.loading > .loading-button {
    display: inline-block;
}
 
.switch-infobox.loading > .switch-infobox-triggers {
    display: none;
}
 
.infobox .switch-infobox-triggers {
    text-align: center;
    font-weight: normal;
    margin-bottom: -5px;
}
 
.skin-monobook .switch-infobox > .loading-button,
.skin-monobook .switch-infobox-triggers > .trigger {
    padding: 0 4px;
    border: 1px solid #666;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e6e6e6), color-stop(50%, #c8c8c8));
    background: -webkit-linear-gradient(top, #e6e6e6, #c8c8c8 50%);
    background: -moz-linear-gradient(top, #e6e6e6, #c8c8c8 50%);
    background: -ms-linear-gradient(top, #e6e6e6, #c8c8c8 50%);
    background: linear-gradient(to bottom, #e6e6e6, #c8c8c8 50%);
    border-radius: 5px;
    color: #000;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}
 
.trigger.button {
    white-space: pre;
}
/* Switch Infobox End */