Open main menu

Difference between revisions of "MediaWiki:Common.css"

(Adding CSS classes for inline culture icons, since style is not an argument for images.)
(Removed font loading for performance reasons.)
 
(3 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 */
@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 {
 
.whitebg {
 
     background: #ffffff;
 
     background: #ffffff;
 
}
 
}
  
.inline-bot {
+
.redbg {
     line-height:20px;
+
     background: #dd0000;
    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;
 
 
}
 
}

Latest revision as of 01:18, 26 August 2020

/* CSS placed here will be applied to all skins */
.whitebg {
    background: #ffffff;
}

.redbg {
    background: #dd0000;
}