Status card style changes
This commit is contained in:
parent
d54511aa10
commit
852f7090f6
|
@ -944,6 +944,10 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
||||||
}
|
}
|
||||||
.status-carousel .content-container .content:only-child {
|
.status-carousel .content-container .content:only-child {
|
||||||
font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0));
|
font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0));
|
||||||
|
|
||||||
|
&:has(.status-card) {
|
||||||
|
font-size: unset;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* .status-carousel
|
/* .status-carousel
|
||||||
.content-container[data-content-text-weight='1']
|
.content-container[data-content-text-weight='1']
|
||||||
|
|
|
@ -208,7 +208,7 @@
|
||||||
max-height: 160px !important;
|
max-height: 160px !important;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
}
|
}
|
||||||
.status.small:not(.status-carousel .status)
|
.status.small:not(.status-carousel .status, .status.large .status)
|
||||||
.status-card
|
.status-card
|
||||||
:is(.content, .poll, .media-container) {
|
:is(.content, .poll, .media-container) {
|
||||||
max-height: 80px !important;
|
max-height: 80px !important;
|
||||||
|
@ -959,6 +959,11 @@
|
||||||
height: auto;
|
height: auto;
|
||||||
max-height: 60vh;
|
max-height: 60vh;
|
||||||
}
|
}
|
||||||
|
.status.status-card .media-container.media-eq1 .media {
|
||||||
|
max-height: 160px;
|
||||||
|
width: auto;
|
||||||
|
max-width: min(var(--width), 100%);
|
||||||
|
}
|
||||||
/* Special media borders */
|
/* Special media borders */
|
||||||
.status .media-container.media-eq2 .media:first-of-type {
|
.status .media-container.media-eq2 .media:first-of-type {
|
||||||
border-radius: var(--media-radius) var(--media-radius-inner)
|
border-radius: var(--media-radius) var(--media-radius-inner)
|
||||||
|
|
Loading…
Reference in a new issue