Template:Article thumbnail/styles.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
Line 1:
/*
.article-thumb {
vertical-align: top;
width: 150px;
/* Increase the second value (40px) to add more space to the right */
padding: 0px 20px 20px 0px;
background: transparent !important;
border:
display: inline-block;▼
text-align: left;▼
box-sizing: border-box;
▲ display: inline-block;
}
/*
.article-thumb--align-center { text-align: center; }
.article-thumb--align-left { text-align: left; }
.article-thumb--align-right { text-align: right; }
.article-thumb__imgwrap {
width: 100%;
height: 130px;
display: flex;
align-items: center;
justify-content: flex-start;
overflow: hidden;
margin-bottom:
background: transparent !important;▼
}
.article-thumb__imgwrap img,
.article-thumb__imgwrap .mw-file-element
.article-thumb__imgwrap a,▼
display: block;
max-width: 100%;
max-height: 100%;
height: auto;
border: none !important;▼
background: none !important;▼
}
/*
.article-
line-height: 1
}
/* Direct link targeting to force 0.85em on mobile */
.article-thumb__title a {▼
font-weight: bold;▼
text-decoration: none;*/
}
/* Subtitle and Description */
.article-
color: #202122;
line-height: 1;
display: block;
}
}
| |||