MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
Undo revision 2684 by Eheartshine (talk)
imported>NotoriousRBG
No edit summary
(Undo revision 2684 by Eheartshine (talk))
Tag: Undo
 
(24 intermediate revisions by 2 users 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 11: Line 11:
}
}


/* Permanent Marker font for unique tech equation */
/* MalWriting font for unique tech equation */
@font-face {
@font-face {
font-family: 'Permanent Marker';
font-family: 'MalWriting';
src: url('https://static.miraheze.org/kaingawiki/e/ef/PermanentMarker.woff2') format('woff2'),
src: url('/w/images/3/3e/MalWriting.woff2') format('woff2'),
url('https://static.miraheze.org/kaingawiki/c/cb/PermanentMarker.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 29: Line 30:
/* spoiler hover */
/* spoiler hover */
.spoiler{
.spoiler{
background-color:#DDD;
background-color:#aaa;
color:#DDD;
color:#aaa;
border-radius:0.25em;
transition-duration:0.125s;
transition-duration:0.125s;
}
}
.spoiler:hover {
.spoiler:hover {
background-color:#FFF;
background-color:#eee;
color:#000;
color:#000;
}
/* float elements on desktop */
.mobCenter{
float:right;
margin-left: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