MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 31: | Line 31: | ||
gap: 30px; | gap: 30px; | ||
margin-bottom: 35px; | margin-bottom: 35px; | ||
gap: 10px; | |||
column-gap: 0px; | |||
} | |||
.chhhp-logo { | |||
text-align: center; | |||
} | } | ||
| Line 41: | Line 47: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
gap: | gap: 14px; | ||
} | } | ||
.chhhp- | .chhhp-nav a { | ||
color: #3366cc !important; | |||
text-decoration: none; | |||
font-size: 18px; | |||
color: # | |||
text-decoration: none | |||
font-weight: 600; | font-weight: 600; | ||
line-height: 1.4; | |||
} | } | ||
.chhhp- | .chhhp-nav a:hover { | ||
text-decoration: underline; | |||
color: #447ff5 !important; | |||
} | } | ||
| Line 120: | Line 78: | ||
.chhhp-card { | .chhhp-card { | ||
background: # | background: #f8f9fa; | ||
border: 1px solid # | border: 1px solid #d8dde3; | ||
border-radius: | border-radius: 6px; | ||
padding: 20px; | padding: 20px; | ||
text-align: left; | text-align: left; | ||
} | } | ||
.chhhp-card h2 { | .chhhp-card h2 { | ||
margin-top: 0; | margin-top: 0; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #d8dde3; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
font-size: 1.3em; | |||
} | } | ||
.chhhp-card a { | .chhhp-card a { | ||
color: #3366cc; | |||
font-weight: bold; | font-weight: bold; | ||
text-decoration: none; | |||
} | |||
.chhhp-card a:hover { | |||
text-decoration: underline; | |||
} | } | ||
| Line 155: | Line 119: | ||
.chhhp-wordmark { | .chhhp-wordmark { | ||
font-size: 32px; | font-size: 32px; | ||
} | } | ||
} | } | ||
``` | ``` | ||
Latest revision as of 23:02, 2 September 2026
/* CSS placed here will be applied to all skins */
```css
/* CHHHP Homepage */
.chhhp-home {
max-width: 1200px;
margin: 0 auto;
padding: 30px 20px 60px;
text-align: center;
}
.chhhp-wordmark {
font-family: Georgia, serif;
font-size: 42px;
font-weight: bold;
color: #111;
margin-bottom: 8px;
}
.chhhp-tagline {
font-size: 16px;
color: #666;
margin-bottom: 30px;
}
.chhhp-hub {
display: grid;
grid-template-columns: 240px 1fr 240px;
align-items: center;
gap: 30px;
margin-bottom: 35px;
gap: 10px;
column-gap: 0px;
}
.chhhp-logo {
text-align: center;
}
.chhhp-logo img {
max-width: 100%;
height: auto;
}
.chhhp-nav {
display: flex;
flex-direction: column;
gap: 14px;
}
.chhhp-nav a {
color: #3366cc !important;
text-decoration: none;
font-size: 18px;
font-weight: 600;
line-height: 1.4;
}
.chhhp-nav a:hover {
text-decoration: underline;
color: #447ff5 !important;
}
.chhhp-intro {
max-width: 900px;
margin: 0 auto 40px auto;
font-size: 18px;
line-height: 1.7;
}
.chhhp-featured {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-top: 30px;
}
.chhhp-card {
background: #f8f9fa;
border: 1px solid #d8dde3;
border-radius: 6px;
padding: 20px;
text-align: left;
}
.chhhp-card h2 {
margin-top: 0;
border-bottom: 1px solid #d8dde3;
padding-bottom: 10px;
font-size: 1.3em;
}
.chhhp-card a {
color: #3366cc;
font-weight: bold;
text-decoration: none;
}
.chhhp-card a:hover {
text-decoration: underline;
}
@media (max-width: 1000px) {
.chhhp-hub {
grid-template-columns: 1fr;
}
.chhhp-nav {
max-width: 400px;
margin: 0 auto;
}
.chhhp-featured {
grid-template-columns: 1fr;
}
.chhhp-wordmark {
font-size: 32px;
}
}
```