phanpy/src/pages/status.css
2023-03-08 17:17:23 +08:00

56 lines
1,014 B
CSS

.status-deck header h1 {
grid-column: 1 / 3;
}
.status-deck header {
white-space: nowrap;
}
.status-deck header h1 {
min-width: 0;
flex-grow: 1;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.status-deck header.inview h1 {
font-weight: bold;
}
.hero-heading {
font-size: var(--text-size);
display: inline-block;
}
.hero-heading .icon {
vertical-align: middle;
color: var(--text-insignificant-color);
}
.hero-heading .insignificant {
font-weight: normal;
}
.ancestors-indicator {
font-size: 70% !important;
}
.ancestors-indicator[hidden] {
opacity: 0;
pointer-events: none;
}
.post-status-banner {
position: sticky;
bottom: 16px;
bottom: max(16px, env(safe-area-inset-bottom));
font-size: 90%;
background-color: var(--bg-faded-color);
padding: 16px;
margin: 0 16px;
border-radius: 16px;
white-space: pre-wrap;
line-height: 1.2;
max-width: var(--main-width);
}
.post-status-banner > p:first-of-type {
margin-top: 0;
padding-top: 0;
}