MediaWiki:Common.css: Difference between revisions

From Unwritten Legends Wiki
No edit summary
Expand kbd styling to include code
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


@import "/load.php?articles=MediaWiki:Navbox.css&only=styles&mode=articles";
@import "https://www.unwrittenlegends.net/wiki/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css";
@import "https://www.unwrittenlegends.net/wiki/index.php?title=MediaWiki:Admonition.css&action=raw&ctype=text/css";


.contributionscores-wrapper {
.contributionscores-wrapper {
Line 35: Line 36:
}
}


/* Base admonition style: gray */
.figure-box {
.admonition {
    font-style: italic;
  border-left: 4px solid #999;
    border-width: 2px;
  background-color: #f8f9fa;
    border-style: solid;
  color: #333;
    border-color: #999;
  padding: 0.75em 1em;
    padding: 1em 2em;
  margin: 1em 0;
    margin: 1em 2em;
  border-radius: 6px;
  font-size: 0.95rem;
}
}
.admonition-title {
 
  font-weight: bold;
kbd, code {
  margin-bottom: 0.25em;
    font-family: monospace;
  color: #444;
    padding: 0.05em 0.2em;
    background-color: #f0f0f0;
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #333;
}
}


/* Info variant: blue */
var {
.admonition.info {
    font-style: normal;
  border-color: #3399ff;
    text-decoration-line: underline;
  background-color: #f0f7ff;
    text-transform: uppercase;
  color: #1a3c66;
    font-family: monospace;
}
.admonition.info .admonition-title {
  color: #0066cc;
}
}

Latest revision as of 23:53, 14 December 2025

/* CSS placed here will be applied to all skins */

@import "https://www.unwrittenlegends.net/wiki/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css";
@import "https://www.unwrittenlegends.net/wiki/index.php?title=MediaWiki:Admonition.css&action=raw&ctype=text/css";

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

.figure-box {
    font-style: italic;
    border-width: 2px;
    border-style: solid;
    border-color: #999;
    padding: 1em 2em;
    margin: 1em 2em;
}

kbd, code {
    font-family: monospace;
    padding: 0.05em 0.2em;
    background-color: #f0f0f0;
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #333;
}

var {
    font-style: normal;
    text-decoration-line: underline;
    text-transform: uppercase;
    font-family: monospace;
}