MediaWiki
Gadget-pagecount.css
From Dogcraft Wiki
mNo edit summary Tag: Reverted |
m (fix to moving actions button) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
} | } | ||
@media only screen and (min-width: | @media only screen and (min-width: 641px) { | ||
.content .top #wikiActions { | .content .top #pagecount + #wikiActions { | ||
margin: auto 0; | margin: auto 0; | ||
} | } | ||
Line 14: | Line 14: | ||
} | } | ||
#pagecount a { | #pagecount > a { | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
Line 37: | Line 37: | ||
/* hide on Rules & Help Resources */ | /* hide on Rules & Help Resources */ | ||
.page-Help_Resources #pagecount | .page-Help_Resources #pagecount > a, | ||
.page-Rules #pagecount | .page-Rules #pagecount > a { | ||
display:none; | |||
} | |||
/* hide in news namespace */ | |||
.ns-3004 #pagecount > a { | |||
display:none; | display:none; | ||
} | } |
Latest revision as of 23:44, 5 September 2024
@media only screen and (max-width: 640px) {
#pagecount {
display:none;
}
}
@media only screen and (min-width: 641px) {
.content .top #pagecount + #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;
}