Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.card-carousel {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-start; /* critical: lets tall cards grow down, not squish */
overflow-x: auto;
gap: 1rem;
padding: 1rem;
}
.card-carousel::-webkit-scrollbar {
height: 6px;
}
.card-carousel::-webkit-scrollbar-thumb {
background: #999;
border-radius: 3px;
}
.card {
display: flex;
flex-direction: column;
align-items: center;
width: 200px;
background: #fff;
border: 1px solid #ccc;
border-radius: 6px;
overflow: hidden;
padding: 0;
margin: 0;
}
.image-wrapper {
padding: 0;
margin: 0;
line-height: 0; /* removes spacing from inline image rendering */
}
.image-wrapper img {
max-width: 100%;
height: auto;
display: block;
}
.card-description {
font-size: 0.75em;
color: #444;
margin-top: 0.5rem;
text-align: center;
padding: 0 0.5rem;
white-space: normal;
overflow-wrap: anywhere;
word-break: break-word;
/* DEBUG: comment out these two */
/* display: -webkit-box; */
/* -webkit-line-clamp: 5; */
/* -webkit-box-orient: vertical; */
overflow: visible;
width: 100%;
box-sizing: border-box;
max-height: none !important;
height: auto !important;
}
.no-display {
display: none;
}