Template:Stakeholder count widget/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.stakeholder-card { | .stakeholder-card { | ||
width: 220px; | width: 220px; | ||
| Line 21: | Line 10: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: | justify-content: center; /* center everything vertically */ | ||
align-items: center; | align-items: center; /* center horizontally */ | ||
text-align: center; | text-align: center; | ||
| Line 28: | Line 17: | ||
font-weight: 600; | font-weight: 600; | ||
letter-spacing: 0.01em; | letter-spacing: 0.01em; | ||
gap: 8px; /* clean, consistent spacing between rows */ | |||
transition: | transition: | ||
| Line 33: | Line 24: | ||
border-color 0.15s ease, | border-color 0.15s ease, | ||
background-color 0.2s ease; | background-color 0.2s ease; | ||
} | } | ||
Revision as of 13:35, 20 November 2025
.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: center; /* center everything vertically */
align-items: center; /* center horizontally */
text-align: center;
font-size: 0.95em;
font-weight: 600;
letter-spacing: 0.01em;
gap: 8px; /* clean, consistent spacing between rows */
transition:
transform 0.15s ease,
border-color 0.15s ease,
background-color 0.2s ease;
}