Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Tag: Manual revert
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Responsive Hn */
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
 
h1 {
font-size: 5.8rem !important;
}
h2 {
font-size: 5.2rem !important;
}
h3 {
font-size: 4.8rem !important;
}
h4 {
font-size: 3.8rem !important;
}
h5 {
font-size: 4.0rem !important;
}
h6 {
font-size: 3.8rem !important;
}


/* Related articles box - stack vertically on mobile */
.related-articles-box,
.related-articles-box tbody,
.related-articles-box tr,
.related-articles-box td {
display: block !important;
width: 100% !important;
}
.related-articles-box {
word-break: keep-all;
}
.related-articles-box tr {
margin-bottom: 0.5em;
}
.related-articles-box td {
padding: 0.2em 0 !important;
}
/* First column (title) styling */
.related-articles-box td:first-child {
width: 100% !important;
margin-bottom: 0.2em;
}
}
}

Latest revision as of 01:56, 18 February 2026

@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {

}