Template:Stakeholder count widget/styles.css: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 12: | Line 12: | ||
/* Cards automatically size evenly */ | /* Cards automatically size evenly */ | ||
.stakeholder-card { | .stakeholder-card { | ||
flex: 1 1 | flex: 1 1 140px; /* grow, shrink, starting width */ | ||
max-width: 240px; /* prevents giant stretching on huge screens */ | max-width: 240px; /* prevents giant stretching on huge screens */ | ||
min-width: 120px; /* below this, wrap instead of squishing */ | min-width: 120px; /* below this, wrap instead of squishing */ | ||
| Line 47: | Line 47: | ||
font-size: 0.9em; | font-size: 0.9em; | ||
font-weight: 500; | font-weight: 500; | ||
/* color: #b30000; */ | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||