MediaWiki:Common.css: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to 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...")
 
mNo edit summary
 
(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 00:31, 26 November 2015

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

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