Template:Stakeholder count widget/styles.css
Appearance
/* Center the whole widget and lay out cards in a row */
.stakeholder-count-widget {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 1.5em;
flex-wrap: wrap;
margin: 1.5em 0;
}
/* Individual cards: same size, outline, minimal look */
.stakeholder-card {
width: 220px;
height: 160px;
padding: 12px 10px;
border: 1.5px solid #000001;
border-radius: 2px;
background-color: #f9f9f9;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
text-align: center;
font-size: 0.95em;
font-weight: 600;
letter-spacing: 0.01em;
transition:
transform 0.15s ease,
border-color 0.15s ease,
background-color 0.2s ease;
}
/* Hover effect, similar to your create button */
.stakeholder-card:hover {
border-color: #000;
background-color: #f2f2f2;
transform: translateY(-1px);
}
/* Count styling */
.stakeholder-card .count {
font-size: 1.3em;
font-weight: 700;
margin: 4px 0;
}
/* "See ___" link styling */
.stakeholder-card a {
font-size: 0.9em;
font-weight: 500;
}