MediaWiki:Common.css

From Unwritten Legends Wiki
Revision as of 22:59, 10 September 2025 by Dorandraco (talk | contribs) (Add basic admonitions)

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 */
.contributionscores-wrapper {
}
.contributionscores-title {
    background-color: #aaa;
    margin-bottom: 0px;
    padding-left: .4em;
}
.contributionscores .header {
    background-color: #ccc;
    border-bottom: 1px solid #999;
    font-weight: bold;
}
.contributionscores .odd {
    background-color: #eee;
}
.contributionscores .header td {
    padding-left: .2em;
    padding-right: .2em;
}
.contributionscores .content {
    padding-left: .2em;
    padding-right: .2em;
}

.hatnote {
    font-style: italic;
}
div.hatnote {
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}

/* Base admonition style: gray */
.admonition {
  border-left: 4px solid #999;
  background-color: #f8f9fa;
  color: #333;
  padding: 0.75em 1em;
  margin: 1em 0;
  border-radius: 6px;
  font-size: 0.95rem;
}
.admonition-title {
  font-weight: bold;
  margin-bottom: 0.25em;
  color: #444;
}

/* Info variant: blue */
.admonition.info {
  border-color: #3399ff;
  background-color: #f0f7ff;
  color: #1a3c66;
}
.admonition.info .admonition-title {
  color: #0066cc;
}