2025-01-13 10:48:23 -06:00
|
|
|
.rewind-logo {
|
|
|
|
|
height: 40px;
|
|
|
|
|
|
|
|
|
|
&.-light {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.-dark {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2025-01-13 11:52:21 -06:00
|
|
|
&.-light {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.-dark {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@if is-dark-color-scheme() {
|
2025-01-13 10:48:23 -06:00
|
|
|
&.-dark {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-03-17 12:03:35 +01:00
|
|
|
|
2025-01-13 10:48:23 -06:00
|
|
|
&.-light {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rewind__header {
|
|
|
|
|
padding: 1em 0 1em 1em;
|
2025-11-18 09:03:41 -05:00
|
|
|
background-color: #fbf8e4;
|
|
|
|
|
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 168.7 52.42"><path d="m0 0 49.67 52.42h23.8L23.81 0z" style="fill:%23d0222b"/><path d="m23.81 0 49.66 52.42h23.81L47.62 0z" style="fill:%23f15f25"/><path d="m47.62 0 49.66 52.42h23.81L71.42 0z" style="fill:%23fcf6b2"/><path d="m71.42 0 49.67 52.42h23.8L95.23 0z" style="fill:%2310a94d"/><path d="m95.23 0 49.66 52.42h23.81L119.04 0z" style="fill:%2329abe2"/></svg>');
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-position: 150px;
|
2025-01-13 10:48:23 -06:00
|
|
|
top: 0;
|
2025-11-18 09:03:41 -05:00
|
|
|
position: sticky;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
color: var(--rewind-black);
|
2025-03-17 12:03:35 +01:00
|
|
|
|
2025-01-13 10:48:23 -06:00
|
|
|
.rewind-logo {
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
|
}
|
2025-11-18 09:03:41 -05:00
|
|
|
|
|
|
|
|
&-logo {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-areas: "logo rewind" "logo year";
|
|
|
|
|
width: 7em;
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
grid-area: logo;
|
|
|
|
|
width: 2.5em;
|
|
|
|
|
height: 2.5em;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-title {
|
|
|
|
|
grid-area: rewind;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
transform: skewX(15deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-year {
|
|
|
|
|
line-height: 1;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 1.5em;
|
|
|
|
|
}
|
2025-01-13 10:48:23 -06:00
|
|
|
}
|
2025-01-13 13:14:33 -06:00
|
|
|
|
|
|
|
|
.rewind-notification-active #toggle-current-user::after {
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: -4px;
|
|
|
|
|
top: -4px;
|
|
|
|
|
content: "";
|
2025-01-13 22:17:28 +01:00
|
|
|
background-image: absolute-image-url(
|
|
|
|
|
"/plugins/discourse-rewind/images/rewind-avatar-2-shimmer.gif"
|
|
|
|
|
);
|
2025-01-13 13:14:33 -06:00
|
|
|
display: block;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
}
|