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 20: | Line 20: | ||
max-width: 300px; |
max-width: 300px; |
||
margin-inline-end: var(--space-sm); |
margin-inline-end: var(--space-sm); |
||
} |
|||
.template-tess-list-entry-image { |
|||
/* center broken file links */ |
|||
text-align: center; |
|||
} |
|||
.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; |
|||
} |
} |
||
Revision as of 02:08, 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;
}
.template-tess-list-entry-main > * {
display: inline-block;
}
.template-tess-list-entry-image {
max-width: 300px;
margin-inline-end: var(--space-sm);
}
.template-tess-list-entry-image {
/* center broken file links */
text-align: center;
}
.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;
}