MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
} | } | ||
.mw-body h3 { | .mw-body h3 { | ||
font-size: 1. | font-size: 1.4rem; | ||
color: #667788; | |||
} | } | ||
.mw-body h4 { | .mw-body h4 { | ||
font-size: 1.1rem; | font-size: 1.1rem; | ||
color: #556068; | |||
} | } | ||
Latest revision as of 00:59, 18 August 2018
/* CSS placed here will be applied to all skins */
.mw-body h1,
.mw-body #firstHeading {
font-size: 2.0rem;
font-family: sans-serif;
}
.mw-body h2 {
font-size: 1.6rem;
font-family: sans-serif;
}
.mw-body h3 {
font-size: 1.4rem;
color: #667788;
}
.mw-body h4 {
font-size: 1.1rem;
color: #556068;
}
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
tt, pre {
font-family: consolas, monospace;
font-size: 0.9em;
}
code {
font-family:consolas, monospace;
color: #558088;
background-color: #f4faf0;
border: 1px solid #e0f0e0;
border-radius: 4px;
}
kbd {
background-color: #f8f8f8;
/* border: 1px solid #ddd; */
border-radius: 2px;
padding: 2px;
box-shadow:
0 1px 2px #fff, /*bottom external highlight*/
0 -1px 1px #666, /*top external shadow*/
inset 0 -1px 1px rgba(0,0,0,0.5), /*bottom internal shadow*/
inset 0 1px 1px rgba(255,255,255,0.8); /*top internal highlight*/
}
.alert {
font-style: italic;
border: 1px solid #cccccc;
padding: 12px 12px 12px 56px;
border-radius: 6px;
background-repeat: no-repeat;
background-position: 12px center;
background-size: 32px;
}
.alert-warning {
color: #666600;
background-color: #ffffdd;
border-color: #eeeecc;
background-image: url(/images/icons/warning.svg);
}
.alert-info {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
background-image: url(/images/icons/info-blue.svg);
}