MediaWiki:Mobile.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 13: Line 13:
@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 38: Line 39:
}
}


/* center elements if screen width is too low */
/* center elements on mobile */
@media only screen and (max-width: 560px){
.mobCenter{
.mobCenter
margin:3px auto;
margin:3px auto;
}
}
}
@media only screen and (min-width: 561px){
 
.mobCenter{
/* fix video embed size */
float:right;
.embedvideo{
margin-left:3px;
max-width:640px !important;
margin-bottom:3px;
width:auto !important;
}
}
}

Navigation menu