Difference between revisions of "MediaWiki:Common.css"

From Protospace Wiki
Jump to: navigation, search
(Created page with "CSS placed here will be applied to all skins: .main-pagelinks { float:left; padding-right: 40px; } Mobile first queries: Larger than mobile: @media (min-wi...")
 
m
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
.main-pagelinks {
 
.main-pagelinks {
float:left;
+
min-width: 200px;
padding-right: 40px;
+
width: 24%;
}
+
float: left;
 
+
padding-right: 10px;
/* Mobile first queries */
+
 
+
/* Larger than mobile */
+
@media (min-width: 400px) {
+
.main-pagelinks {width: 100%}
+
}
+
 
+
/* Larger than phablet */
+
@media (min-width: 550px) {
+
.main-pagelinks {width: 100%}
+
}
+
 
+
/* Larger than tablet */
+
@media (min-width: 750px) {
+
.main-pagelinks {width: 100%}
+
}
+
 
+
/* Larger than desktop */
+
@media (min-width: 1000px) {
+
 
+
}
+
 
+
/* Larger than Desktop HD */
+
@media (min-width: 1200px) {
+
 
+
 
}
 
}

Latest revision as of 17:31, 25 November 2015

/* CSS placed here will be applied to all skins */

.main-pagelinks {
	min-width: 200px;
	width: 24%;
	float: left;
	padding-right: 10px;
}