MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: .navimg img { display: block; margin: 0 auto; }" |
No edit summary |
||
| Line 3: | Line 3: | ||
display: block; | display: block; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | |||
.main-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 40px; /* SAME spacing between rows */ | |||
text-align: center; | |||
margin-top: 40px; | |||
} | |||
.main-card img { | |||
display: block; | |||
margin: 0 auto 15px auto; /* Controls space under image */ | |||
} | |||
.card-title { | |||
font-size: 20px; | |||
font-weight: bold; | |||
} | } | ||
Revision as of 23:31, 28 February 2026
/* CSS placed here will be applied to all skins */
.navimg img {
display: block;
margin: 0 auto;
}
.main-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px; /* SAME spacing between rows */
text-align: center;
margin-top: 40px;
}
.main-card img {
display: block;
margin: 0 auto 15px auto; /* Controls space under image */
}
.card-title {
font-size: 20px;
font-weight: bold;
}