MediaWiki

Gadget-pagecount.css

From Dogcraft Wiki

No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
@media only screen and (max-width: 640px) {
@media only screen and (max-width: 640px) {
li#top-bar-pagecount {
#pagecount {
display:none;
display:none;
}
}
}
}


#top-bar-pagecount a {
@media only screen and (min-width: 641px) {
display: flex;
.content .top #wikiActions {
justify-content: center;
margin: auto 0;
flex-direction: column;
}
line-height: 50%;
 
text-align: center;
#pagecount {
height: 45px;
margin: auto .5em auto auto;
font-weight: bold;
}
padding: 0 .3em;
 
}
#pagecount > a {
display: flex;
justify-content: center;
flex-direction: column;
line-height: 50%;
text-align: center;
height: 45px;
font-weight: bold;
padding: 0 .3em;
}


#top-bar-pagecount:hover,
#pagecount a span:nth-child(1) {
#top-bar-pagecount a:hover {
padding-bottom:3px;
background: inherit !important;
font-size:1rem;
}
#pagecount a span:nth-child(2) {
padding-top:2px;
font-size:10px;
}
}
}


#top-bar-pagecount a span:nth-child(1) {
/* hide on Rules & Help Resources */
padding-bottom:3px;
.page-Help_Resources #pagecount > a,
font-size:1rem;
.page-Rules #pagecount > a {
display:none;
}
}


#top-bar-pagecount a span:nth-child(2) {
/* hide in news namespace */
padding-top:2px;
.ns-3004 #pagecount > a {
font-size:10px;
display:none;
}
}

Latest revision as of 21:19, 1 February 2023

@media only screen and (max-width: 640px) {
	#pagecount {
		display:none;
	}
}

@media only screen and (min-width: 641px) {
	.content .top #wikiActions {
		margin: auto 0;
	}

	#pagecount {
		margin: auto .5em auto auto;
	}

	#pagecount > a {
		display: flex;
		justify-content: center;
		flex-direction: column;
		line-height: 50%;
		text-align: center;
		height: 45px;
		font-weight: bold;
		padding: 0 .3em;
	}

	#pagecount a span:nth-child(1) {
		padding-bottom:3px;
		font-size:1rem;
	}
	
	#pagecount a span:nth-child(2) {
		padding-top:2px;
		font-size:10px;
	}
}

/* hide on Rules & Help Resources */
.page-Help_Resources #pagecount > a,
.page-Rules #pagecount > a {
	display:none;
}

/* hide in news namespace */
.ns-3004 #pagecount > a {
	display:none;
}
Background Takeshi by Edo