Difference between revisions of "MediaWiki:Common.css"
From The Viking Age Compendium
m |
m |
||
| Line 13: | Line 13: | ||
@media (max-width: 500px) { | @media (max-width: 500px) { | ||
| − | + | gallery { | |
width: 320px; | width: 320px; | ||
height: 50px; | height: 50px; | ||
| Line 20: | Line 20: | ||
@media (max-width:799px) { | @media (max-width:799px) { | ||
| − | + | gallery { | |
width: 480px; | width: 480px; | ||
height: 60px; | height: 60px; | ||
| Line 27: | Line 27: | ||
@media (min-width: 800px) { | @media (min-width: 800px) { | ||
| − | + | gallery { | |
width: 728px; | width: 728px; | ||
height: 90px; | height: 90px; | ||
Revision as of 17:17, 5 December 2016
/* CSS placed here will be applied to all skins */
#ca-history { display:none!important; }
/* #filehistory {display: none} */ /* Hides the "File history" header */
/* .special {display: none} */ /* Hides the Edit history */
#metadata {display: none} /* Hides the "Metadata" header */
#mw_metadata {display: none} /* Hides the Metadata graph */
#ca-talk { display:none!important; }
/* Hides Mobile only elements */
#mf-HideOnDesktop { display: none; }
@media (max-width: 500px) {
gallery {
width: 320px;
height: 50px;
}
}
@media (max-width:799px) {
gallery {
width: 480px;
height: 60px;
}
}
@media (min-width: 800px) {
gallery {
width: 728px;
height: 90px;
}
}
.tocnumber { display: none !important; }
.toc { width: 200px; }
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).*/
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 { display: none; }
#toc { float:right };
#footer-places-Privacy_policy { display:none;}
#footer-places-disclaimer { display:none;}
#footer-places-about { display:none;}
.hidden {display:none}
/*Add this text at the end of [[Mediawiki:Commons.css]]
/*For HarvardReferences extension */
.harvVisitedLink {
background-color: #AAAAAA;
}
.harvReferenceLink {
background-color: #FFFF00;
}
.harvNone {
background-color: inherit;
}
.harvBackground {
background-color: #DDEEFF;
}
/* CSS Hover Gallery for Mediawiki
*
* @author: Unknown
* current version crafted together by [[User:Christharp]] from several CSS sites. For my website:[http://www.yellpedia.com/wiki/Main_Page Yellpedia]
*/
.zoom_img img{
-moz-transition:-moz-transform 0.1s ease-in;
-webkit-transition:-webkit-transform 0.1s ease-in;
-o-transition:-o-transform 0.1s ease-in;
transition:transform 0.1 ease-in;
}
.zoom_img img:hover{
-moz-transform:scale(2);
-webkit-transform:scale(2);
-o-transform:scale(2);
transform:scale(2);
}