Difference between revisions of "MediaWiki:Common.css"
From Regiapædia
| Line 54: | Line 54: | ||
column-count: 5; | column-count: 5; | ||
column-gap: 3px; | column-gap: 3px; | ||
| − | width: | + | width: 800px; |
} | } | ||
| Line 71: | Line 71: | ||
column-count: 3; | column-count: 3; | ||
column-gap: 0px; | column-gap: 0px; | ||
| − | width: | + | width: 800px; |
} | } | ||
#container { | #container { | ||
| − | width: | + | width: 800px; |
} | } | ||
} | } | ||
| Line 89: | Line 89: | ||
column-count: 3; | column-count: 3; | ||
column-gap: 0px; | column-gap: 0px; | ||
| − | width: | + | width: 600px; |
} | } | ||
#container { | #container { | ||
| − | width: | + | width: 600px; |
} | } | ||
} | } | ||
| Line 106: | Line 106: | ||
column-count: 3; | column-count: 3; | ||
column-gap: 0px; | column-gap: 0px; | ||
| − | width: | + | width: 400px; |
} | } | ||
#container { | #container { | ||
| − | width: | + | width: 400px; |
} | } | ||
} | } | ||
| Line 123: | Line 123: | ||
column-count: 2; | column-count: 2; | ||
column-gap: 0px; | column-gap: 0px; | ||
| − | width: | + | width: 200px; |
} | } | ||
#container { | #container { | ||
| − | width: | + | width: 200px; |
} | } | ||
} | } | ||
[[Category:Wiki]] | [[Category:Wiki]] | ||
Revision as of 22:21, 26 June 2017
/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading { display:none; }
.hidden {display:none}
/* Hide page elements */
/*#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; }
#footer-places-Privacy_policy { display:none;}
#footer-places-disclaimer { display:none;}
#footer-places-about { display:none;}
/* Hides Mobile only elements */
#mf-HideOnDesktop { display: none; }
/* Table of Contents Settings */
.tocnumber { display: none !important; }
.toc { width: 200px; }
#toc { float:right };
/* 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; }
/* CSS Pinterest Like 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]
*/
#container {
width: 1200px;
margin: 0 auto;
}
#PinterestlikeContent {
-moz-column-count: 5;
-moz-column-gap: 3px;
-webkit-column-count: 5;
-webkit-column-gap: 3px;
column-count: 5;
column-gap: 3px;
width: 800px;
}
#PinterestlikeContent img{
display: inline-block;
margin-bottom: 5px;
width: 100%;
}
@media only screen and (max-width : 1199px),
only screen and (max-device-width : 1199px){
#PinterestlikeContent {
-moz-column-count: 3;
-moz-column-gap: 0px;
-webkit-column-count: 3;
-webkit-column-gap: 0px;
column-count: 3;
column-gap: 0px;
width: 800px;
}
#container {
width: 800px;
}
}
@media only screen and (max-width : 999px),
only screen and (max-device-width : 999px){
#PinterestlikeContent {
-moz-column-count: 3;
-moz-column-gap: 0px;
-webkit-column-count: 3;
-webkit-column-gap: 0px;
column-count: 3;
column-gap: 0px;
width: 600px;
}
#container {
width: 600px;
}
}
@media only screen and (max-width : 799px),
only screen and (max-device-width : 799px){
#PinterestlikeContent {
-moz-column-count: 3;
-moz-column-gap: 0px;
-webkit-column-count: 3;
-webkit-column-gap: 0px;
column-count: 3;
column-gap: 0px;
width: 400px;
}
#container {
width: 400px;
}
}
@media only screen and (max-width : 599px),
only screen and (max-device-width : 599px){
#PinterestlikeContent {
-moz-column-count: 2;
-moz-column-gap: 0px;
-webkit-column-count: 2;
-webkit-column-gap: 0px;
column-count: 2;
column-gap: 0px;
width: 200px;
}
#container {
width: 200px;
}
}
[[Category:Wiki]]