MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */ | /* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */ | ||
tt, pre { | tt, pre { | ||
font-family: monospace; | font-family: consolas, monospace; | ||
font-size: | font-size: 0.9em; | ||
} | } | ||
code { | code { | ||
font- | font-family:consolas, monospace; | ||
color: #558088; | color: #558088; | ||
background-color: # | background-color: #f4faf0; | ||
border: 1px solid #e0f0e0; | |||
border-radius: 4px; | |||
} | } | ||
kbd { | kbd { | ||
| Line 23: | Line 25: | ||
} | } | ||
.alert-warning { | .alert-warning { | ||
font-style: italic; | |||
color: #666600; | color: #666600; | ||
background-color: #ffffdd; | background-color: #ffffdd; | ||
Revision as of 19:36, 2 March 2015
/* CSS placed here will be applied to all skins */
/* 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-warning {
font-style: italic;
color: #666600;
background-color: #ffffdd;
border: 1px solid #eeeecc;
padding: 12px 12px 12px 56px;
border-radius: 6px;
background-image: url(/images/icons/warning.svg);
background-repeat: no-repeat;
background-position: 12px center;
background-size: 32px;
}