Template:Tess list entry/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 37: | Line 37: | ||
.template-tess-list-entry-labels { |
.template-tess-list-entry-labels { |
||
flex-grow: 1; |
flex-grow: 1; |
||
} |
|||
.template-tess-list-entry-label { |
|||
display: flex; |
|||
} |
|||
.template-tess-list-entry-label-space { |
|||
display: inline-block; |
|||
flex: 1 0; |
|||
} |
} |
||
Revision as of 02:13, June 29, 2025
.template-tess-list-entry-title {
border-bottom: solid var(--border-width-thick) var(--color-amaranth-legacy-scope);
margin-bottom: var(--space-xs);
}
.template-tess-list-entry-subtitle {
font-style: italic;
}
.template-tess-list-entry-main {
display: flex;
justify-content: flex-start;
gap: var(--space-sm);
}
.template-tess-list-entry-main > * {
display: inline-block;
}
.template-tess-list-entry-image {
width: 100%;
max-width: 300px;
}
.template-tess-list-entry-image img {
/* prevent overflowing */
object-fit: contain;
width: 100%;
height: auto;
}
.template-tess-list-entry-image img[src$=".svg"] {
/* background color for transparent SVGs */
background: #eaecf0;
}
.template-tess-list-entry-labels {
flex-grow: 1;
}
.template-tess-list-entry-label {
display: flex;
}
.template-tess-list-entry-label-space {
display: inline-block;
flex: 1 0;
}