MediaWiki:Common.css

From Join the Fediverse
Revision as of 09:47, 23 February 2022 by MakaryGo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 */
#siteNotice table {
    background-color: var(--background-color-overlay);
}
/*
 * Styling for custom buttons
 * see: [[Template:Button]]
 */
span.button {
    background: #ccc;
    display: inline-flex;
    border-radius: 0.1rem;
    box-shadow: 0 4px 4px -4px #161616;
    padding: 0.35rem;
}

span.button a:after {
    content: attr(title);
    font-weight: 600;
    color: #222;
    line-height: 2rem;
    padding: 0.5rem;
    font-size: 1.25rem;
}