Views
Actions
Difference between revisions of "MediaWiki:Common.css"
From LotR TCG Wiki
(Adding CSS classes for inline culture icons, since style is not an argument for images.) |
|||
Line 4: | Line 4: | ||
src: url('https://lotrtcgwiki.com/mw/images/LOTR_TCG-Regular.ttf'), | src: url('https://lotrtcgwiki.com/mw/images/LOTR_TCG-Regular.ttf'), | ||
url('https://lotrtcgwiki.com/mw/images/LOTR_TCG-Regular.ttf') format('truetype'); /*URL to font*/ | url('https://lotrtcgwiki.com/mw/images/LOTR_TCG-Regular.ttf') format('truetype'); /*URL to font*/ | ||
+ | } | ||
+ | |||
+ | .whitebg { | ||
+ | background: #ffffff; | ||
+ | } | ||
+ | |||
+ | .inline-bot { | ||
+ | line-height:20px; | ||
+ | vertical-align:bottom; | ||
+ | } | ||
+ | |||
+ | .inline-textbot { | ||
+ | line-height:20px; | ||
+ | vertical-align:text-bottom; | ||
+ | } | ||
+ | |||
+ | .inline-sub { | ||
+ | line-height:20px; | ||
+ | vertical-align:sub; | ||
+ | } | ||
+ | |||
+ | .inline-mid { | ||
+ | line-height:20px; | ||
+ | vertical-align:middle; | ||
} | } |
Revision as of 00:40, 26 August 2020
/* CSS placed here will be applied to all skins */
@font-face {
font-family: 'culture-icons'; /*a name to be used later*/
src: url('https://lotrtcgwiki.com/mw/images/LOTR_TCG-Regular.ttf'),
url('https://lotrtcgwiki.com/mw/images/LOTR_TCG-Regular.ttf') format('truetype'); /*URL to font*/
}
.whitebg {
background: #ffffff;
}
.inline-bot {
line-height:20px;
vertical-align:bottom;
}
.inline-textbot {
line-height:20px;
vertical-align:text-bottom;
}
.inline-sub {
line-height:20px;
vertical-align:sub;
}
.inline-mid {
line-height:20px;
vertical-align:middle;
}