2021-05-27 14:57:20 +00:00
|
|
|
figure,
|
|
|
|
.thumb {
|
2022-11-16 23:06:23 +00:00
|
|
|
margin: var( --space-md ) 0;
|
2021-05-27 14:57:20 +00:00
|
|
|
|
|
|
|
.thumbinner {
|
2022-06-07 23:06:06 +00:00
|
|
|
overflow: hidden; // needed for center to work
|
2021-05-27 14:57:20 +00:00
|
|
|
max-width: 100%;
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
|
|
a {
|
|
|
|
&.image {
|
|
|
|
max-width: inherit;
|
|
|
|
border-radius: var( --border-radius--small );
|
2022-09-28 21:02:56 +00:00
|
|
|
margin-right: 2px; // Counter the 2px space added by core
|
2021-05-27 14:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
display: block;
|
2022-11-16 23:25:02 +00:00
|
|
|
padding: var( --space-sm );
|
2022-06-07 23:06:06 +00:00
|
|
|
background-color: var( --color-surface-3 );
|
2022-05-01 23:14:17 +00:00
|
|
|
transition: @transition-background, @transition-color;
|
2021-05-27 14:57:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption,
|
|
|
|
.thumbcaption {
|
2022-11-16 23:06:23 +00:00
|
|
|
margin: var( --space-xs ) 0;
|
2021-05-27 14:57:20 +00:00
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|