4 margin: 0 0 -20px -20px;
8 background-color: var(--wcfContentBackground);
9 border-radius: var(--wcfBorderRadius);
11 0 0 3px rgba(0, 0, 0, 0.12),
12 0 1px 2px rgba(0, 0, 0, 0.24);
14 flex-direction: column;
15 margin: 0 0 20px 20px;
20 .contentItemSingleColumn {
21 /* The `flex` shorthand fails in IE11 if `calc()` is used. */
24 flex-basis: calc(100% - 20px);
27 .contentItemMultiColumn {
28 /* The `flex` shorthand fails in IE11 if `calc()` is used. */
31 flex-basis: calc(50% - 20px);
38 .contentItemTitleLink {
56 /* Deprecated: use contentItemTitleLink instead. */
57 .contentItemLinkShadow {
69 .contentItemContentTruncate {
75 background-image: linear-gradient(
77 var(--wcfContentBackground),
78 rgba(var(--wcfContentBackground-rgb) / 0)
87 /* The `top` value is important, because it prevents the last line from being affected
88 when the content isn't too long. */
94 background-position: center;
95 background-repeat: no-repeat;
96 background-size: cover;
101 .contentItemImageSmall {
104 .contentItemImageElement {
109 .contentItemImageLarge {
112 .contentItemImageElement {
117 .contentItemImageElement {
118 margin: -10px -10px -10px -10px;
120 object-position: center;
122 // The `100% + 20px` are the result of the negative margins.
123 max-width: calc(100% + 20px);
127 .contentItemOptions {
128 align-items: flex-start;
130 flex-direction: column;
133 .contentItemImageElement + .contentItemBadges {
140 .contentItemOptions {
151 &:not(:first-child) {
157 border: 1px solid currentColor;
160 .contentItemOption.button {
162 0 0 3px rgba(0, 0, 0, 0.12),
163 0 1px 2px rgba(0, 0, 0, 0.24);
170 .contentItemCategory {
171 color: var(--wcfContentDimmedText);
173 @include wcfFontSmall;
177 color: var(--wcfContentHeadlineLink);
179 @include wcfFontHeadline;
180 @include wcfFontBold;
183 color: var(--wcfContentHeadlineLinkActive);
187 .contentItemDescription {
188 color: var(--wcfContentDimmedText);
192 height: auto !important;
197 .contentItemContentLinks {
198 padding: 0 10px 10px 10px;
203 border-top: 1px solid var(--wcfContentBorderInner);
204 color: var(--wcfContentDimmedText);
215 .contentItemMetaImage {
220 .contentItemMetaContent {
225 .contentItemMetaAuthor {
226 color: var(--wcfContentText);
234 .contentItemMetaIcons {
240 @include wcfFontSmall;
243 .contentItemMetaIcon {
246 &:not(:first-child) {
260 .contentItemImagePreview {
261 border-radius: var(--wcfBorderRadius);
263 0 0 3px rgba(0, 0, 0, 0.12),
264 0 1px 2px rgba(0, 0, 0, 0.24);
269 .contentItemImagePreviewButtons {
286 /* There are no sidebars, use a three column layout. */
287 .content:first-child:last-child,
290 .contentItemMultiColumn {
291 /* The `flex` shorthand fails in IE11 if `calc()` is used. */
294 flex-basis: calc(100% / 3 - 20px);
300 /* The sidebar, if any, is not adjacent to the content, use a three column layout. */
301 .contentItemMultiColumn {
302 /* The `flex` shorthand fails in IE11 if `calc()` is used. */
305 flex-basis: calc(100% / 3 - 20px);
310 /* There is not enough space to fit two columns. */
315 .contentItemMultiColumn {