MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.navtable{ | .navtable{ | ||
border: none; | border: none; | ||
| Line 31: | Line 7: | ||
.navcell{ | .navcell{ | ||
padding: 0 | padding: 0 18px 10px 18px; /* reduced horizontal + vertical spacing */ | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
| Line 40: | Line 16: | ||
} | } | ||
/* | /* Smaller fixed icon heights */ | ||
.navicon{ | .navicon{ | ||
display:flex; | display:flex; | ||
align-items:flex-end; | align-items:flex-end; | ||
justify-content:center; | justify-content:center; | ||
width: | width: 200px; | ||
} | } | ||
.navicon--row1{ | .navicon--row1{ | ||
height: | height: 150px; /* was 160 */ | ||
} | } | ||
.navicon--row2{ | .navicon--row2{ | ||
height: | height: 200px; /* was 210 */ | ||
} | } | ||
/* | /* Pull labels closer */ | ||
.navlabel{ | .navlabel{ | ||
margin-top: | margin-top: 4px; /* was 8 */ | ||
line-height: 1.05; | line-height: 1.05; | ||
font-weight: 800; | font-weight: 800; | ||
| Line 64: | Line 40: | ||
.navlabel--tight{ | .navlabel--tight{ | ||
margin-top: | margin-top: 2px; /* almost touching */ | ||
} | } | ||
| Line 70: | Line 46: | ||
.navlabel--empty{ | .navlabel--empty{ | ||
visibility:hidden; | visibility:hidden; | ||
} | } | ||
.navlabel{ | .navlabel{ | ||
margin-top: | text-align: center; /* centers the words */ | ||
width: 100%; /* makes it span full cell width */ | |||
margin-top: 4px; | |||
line-height: 1.05; | line-height: 1.05; | ||
font-weight: 800; | font-weight: 800; | ||
| Line 143: | Line 57: | ||
.navlabel--tight{ | .navlabel--tight{ | ||
margin-top: | text-align: center; | ||
width: 100%; | |||
margin-top: 2px; | |||
} | } | ||
. | |||
. | body.page-Main_Page h1.firstHeading { | ||
display: none; | |||
} | } | ||
Latest revision as of 01:23, 1 March 2026
.navtable{
border: none;
text-align: center;
margin: 0 auto;
border-collapse: collapse;
}
.navcell{
padding: 0 18px 10px 18px; /* reduced horizontal + vertical spacing */
vertical-align: top;
}
.navimg img{
display:block;
margin:0 auto;
}
/* Smaller fixed icon heights */
.navicon{
display:flex;
align-items:flex-end;
justify-content:center;
width: 200px;
}
.navicon--row1{
height: 150px; /* was 160 */
}
.navicon--row2{
height: 200px; /* was 210 */
}
/* Pull labels closer */
.navlabel{
margin-top: 4px; /* was 8 */
line-height: 1.05;
font-weight: 800;
}
.navlabel--tight{
margin-top: 2px; /* almost touching */
}
.navicon--empty,
.navlabel--empty{
visibility:hidden;
}
.navlabel{
text-align: center; /* centers the words */
width: 100%; /* makes it span full cell width */
margin-top: 4px;
line-height: 1.05;
font-weight: 800;
}
.navlabel--tight{
text-align: center;
width: 100%;
margin-top: 2px;
}
body.page-Main_Page h1.firstHeading {
display: none;
}