Template:Article thumbnail/styles.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
Line 1:
/*
.article-thumb {
vertical-align: top;
width: 150px; /*
padding: 0px
background:
border: 0; /* no border */▼
box-sizing: border-box;▼
display: inline-block;
text-align: left; /* Force left alignment of the whole block */
▲ box-sizing: border-box;
}
/* Image wrapper */
.article-thumb__imgwrap {
width: 100%;
height: 160px; /*
display: flex;
align-items: center;
justify-content:
overflow: hidden;
margin-bottom: 8px; /* Space between image and text */
}
.article-thumb__imgwrap .mw-file-element,
.article-thumb__imgwrap img {
Line 27 ⟶ 26:
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
}
/* Text Content Area */
.article-
font-size: 0.85em; /* Global size for all text in the card */
line-height: 1.
}
font-weight: bold; /* Title is 0.85em but bold for hierarchy */
▲.article-thumb a {
color: #000;
text-decoration: none;
}
.article-thumb__subtitle {
color: #333; /* Slightly lighter than black */
}
.article-thumb__description {
}
| |||