MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
Undo revision 2684 by Eheartshine (talk)
No edit summary
(Undo revision 2684 by Eheartshine (talk))
Tag: Undo
 
(17 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 */


/* Allow limiting of which header levels are shown in a TOC (see Technologies page) */
/* Allow limiting of which header levels are shown in a TOC */
.toclimit-2 .toclevel-1 ul,
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-3 .toclevel-2 ul,
Line 14: Line 14:
@font-face {
@font-face {
font-family: 'MalWriting';
font-family: 'MalWriting';
src: url('https://static.miraheze.org/kaingawiki/3/3e/MalWriting.woff2') format('woff2'),
src: url('/w/images/3/3e/MalWriting.woff2') format('woff2'),
url('https://static.miraheze.org/kaingawiki/f/f4/MalWriting.woff') format('woff');
url('/w/images/f/f4/MalWriting.woff') format('woff');
}
}


/* Color variables for tech rarity colors */
/* Color variables for tech rarity colors */
:root {
:root {
--Festival: #fff400;
--Unique: #cc003f;
--Unique: #cc003f;
--Legendary: #ffbc00;
--Legendary: #ffbc00;
Line 39: Line 40:
}
}


/* float stuff that shouldn't float on mobile */
/* float elements on desktop */
.mobCenter{
.mobCenter{
float:right;
float:right;
margin-left:3px;
margin-left:3px;
margin-bottom:3px;
margin-bottom:3px;
}
/* fix video embed size */
.embedvideo{
max-width:640px !important;
width:auto !important;
}
/* hide wiki name on desktop since there's a logo */
.mw-desktop-sitename{
display:none;
}
}

Navigation menu