Template:Help wanted box/styles.css: Difference between revisions
Template page
More actions
Admin Jeremy (talk | contribs) No edit summary |
Admin Jeremy (talk | contribs) No edit summary |
||
| Line 81: | Line 81: | ||
.HelpWantedCTA { | .HelpWantedCTA { | ||
text-align:center; | text-align:center; | ||
font-weight: | font-weight:600; | ||
font-size:1.25em; | font-size:1.25em; | ||
} | } | ||
Latest revision as of 17:47, 25 January 2026
.MPHelpWanted {
background: #fff8e6;
border-radius: 16px;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.MPHelpWanted .MPBoxHeader {
background: #e6c75f;
}
.HelpWantedCounts {
list-style: none;
padding: 0;
margin: 0 0 1em 0;
}
.HelpWantedCounts li {
margin: 0.3em 0;
}
.HelpWantedProjects ul {
margin: 0.4em 0 0 1.2em;
}
.HelpWantedCounts {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
list-style: none;
padding: 0;
margin: 1em 0 0 0;
}
.HelpWantedCounts li {
background: #fff0c9;
border: 2px solid #e6c75f;
border-radius: 12px;
text-align: center;
padding: 10px 6px;
}
/* Make entire tile clickable */
.HelpWantedCounts li a {
display: block;
text-decoration: none;
color: inherit;
}
/* Big number */
.hw-count {
display: block;
font-size: 2.2em;
font-weight: 800;
line-height: 1.1;
}
/* Label underneath */
.hw-label {
display: block;
font-size: 0.85em;
margin-top: 2px;
}
/* Hover affordance */
.HelpWantedCounts li:hover {
filter: brightness(0.97);
box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
@media (max-width: 700px) {
.HelpWantedCounts {
grid-template-columns: repeat(2, 1fr);
}
.hw-count {
font-size: 1.9em;
}
}
.HelpWantedCTA {
text-align:center;
font-weight:600;
font-size:1.25em;
}
.HelpWantedProjects {
background: #fffdf4;
border: 2px solid #e6c75f;
border-radius: 12px;
padding: 10px 14px;
margin: 0.8em 0 1em;
}
.HelpWantedProjectsHeader {
font-weight: 700;
margin-bottom: 0.4em;
}
.HelpWantedProjects ul {
margin: 0.3em 0 0.3em 1.2em;
}
.HelpWantedProjectsFooter {
text-align: right;
font-size: 0.85em;
margin-top: 0.4em;
}