2024-04-27 21:10:24 +02:00
|
|
|
@font-face {
|
|
|
|
font-family: 'JetBrains Mono';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
font-display: swap;
|
|
|
|
src: url('fonts/JetBrainsMono-Regular.woff2') format('woff2');
|
|
|
|
}
|
|
|
|
|
|
|
|
:root {
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
|
|
--scheme: ;
|
|
|
|
--bgh: 240;
|
|
|
|
--bgs: 8%;
|
|
|
|
--bgl: 9%;
|
|
|
|
--bghs: var(--bgh), var(--bgs);
|
|
|
|
--cm: 1;
|
|
|
|
--tsm: 1;
|
|
|
|
|
|
|
|
--widget-gap: 25px;
|
|
|
|
--widget-content-vertical-padding: 15px;
|
|
|
|
--widget-content-horizontal-padding: 17px;
|
|
|
|
--widget-content-padding: var(--widget-content-vertical-padding) var(--widget-content-horizontal-padding);
|
|
|
|
--content-bounds-padding: 15px;
|
|
|
|
--border-radius: 5px;
|
|
|
|
--mobile-navigation-height: 50px;
|
|
|
|
|
|
|
|
--color-primary: hsl(43, 50%, 70%);
|
|
|
|
--color-positive: var(--color-primary);
|
|
|
|
--color-negative: hsl(0, 70%, 70%);
|
|
|
|
--color-background: hsl(var(--bghs), var(--bgl));
|
|
|
|
--color-widget-background-hsl-values: var(--bghs), calc(var(--bgl) + 1%);
|
|
|
|
--color-widget-background: hsl(var(--color-widget-background-hsl-values));
|
|
|
|
--color-separator: hsl(var(--bghs), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 4% * var(--cm))));
|
|
|
|
--color-widget-content-border: hsl(var(--bghs), calc(var(--scheme) (var(--scheme) var(--bgl) + 4%)));
|
2024-05-03 06:38:40 +02:00
|
|
|
--color-widget-background-highlight: hsl(var(--bghs), calc(var(--scheme) (var(--scheme) var(--bgl) + 4%)));
|
2024-08-20 14:29:44 +02:00
|
|
|
--color-popover-background: hsl(var(--bgh), calc(var(--bgs) + 3%), calc(var(--bgl) + 3%));
|
2024-08-23 00:11:45 +02:00
|
|
|
--color-popover-border: hsl(var(--bghs), calc(var(--scheme) (var(--scheme) var(--bgl) + 12%)));
|
|
|
|
|
|
|
|
--color-progress-bar-border: hsl(var(--bghs), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 10% * var(--cm))));
|
|
|
|
--color-progress-bar-background: hsl(var(--bgh), calc(var(--bgs) * var(--tsm)), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 27% * var(--cm))));
|
|
|
|
--color-graph-gridlines: hsl(var(--bghs), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 6% * var(--cm))));
|
2024-04-27 21:10:24 +02:00
|
|
|
|
|
|
|
--ths: var(--bgh), calc(var(--bgs) * var(--tsm));
|
|
|
|
--color-text-base: hsl(var(--ths), calc(var(--scheme) var(--cm) * 58%));
|
2024-05-21 18:28:30 +02:00
|
|
|
--color-text-base-muted: hsl(var(--ths), calc(var(--scheme) var(--cm) * 52%));
|
2024-04-27 21:10:24 +02:00
|
|
|
--color-text-highlight: hsl(var(--ths), calc(var(--scheme) var(--cm) * 85%));
|
|
|
|
--color-text-subdue: hsl(var(--ths), calc(var(--scheme) var(--cm) * 35%));
|
|
|
|
|
|
|
|
--font-size-h1: 1.7rem;
|
|
|
|
--font-size-h2: 1.6rem;
|
|
|
|
--font-size-h3: 1.5rem;
|
|
|
|
--font-size-h4: 1.4rem;
|
|
|
|
--font-size-base: 1.3rem;
|
|
|
|
--font-size-h5: 1.2rem;
|
|
|
|
--font-size-h6: 1.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.light-scheme {
|
|
|
|
--scheme: 100% -;
|
|
|
|
}
|
|
|
|
|
2024-08-05 13:15:55 +02:00
|
|
|
.page {
|
|
|
|
height: 100%;
|
2024-08-05 23:49:48 +02:00
|
|
|
padding-block: var(--widget-gap);
|
2024-08-05 13:15:55 +02:00
|
|
|
}
|
|
|
|
|
2024-05-16 21:41:50 +02:00
|
|
|
.page-content, .page.content-ready .page-loading-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page.content-ready > .page-content {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2024-08-08 17:55:46 +02:00
|
|
|
.page-column-small .size-title-dynamic {
|
|
|
|
font-size: var(--font-size-h4);
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.page-column-full .size-title-dynamic {
|
|
|
|
font-size: var(--font-size-h3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-primary-if-not-visited:not(:visited) {
|
|
|
|
color: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
2024-09-05 00:02:16 +02:00
|
|
|
.text-truncate,
|
|
|
|
.single-line-titles .title
|
|
|
|
{
|
2024-04-27 21:10:24 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2024-09-05 00:02:16 +02:00
|
|
|
.single-line-titles .title {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2024-05-21 18:28:30 +02:00
|
|
|
.text-truncate-2-lines, .text-truncate-3-lines {
|
2024-04-27 21:10:24 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
2024-08-19 15:24:05 +02:00
|
|
|
.text-truncate-3-lines { line-clamp: 3; -webkit-line-clamp: 3; }
|
|
|
|
.text-truncate-2-lines { line-clamp: 2; -webkit-line-clamp: 2; }
|
2024-05-21 18:28:30 +02:00
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.visited-indicator:not(.text-truncate)::after,
|
|
|
|
.visited-indicator.text-truncate::before,
|
2024-05-03 06:38:40 +02:00
|
|
|
.bookmarks-link:not(.bookmarks-link-no-arrow)::after {
|
2024-04-27 21:10:24 +02:00
|
|
|
content: '↗';
|
|
|
|
margin-left: 0.5em;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
top: 0.15em;
|
|
|
|
color: var(--color-text-base);
|
|
|
|
}
|
|
|
|
|
|
|
|
.visited-indicator.text-truncate {
|
|
|
|
direction: rtl;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.visited-indicator:not(:visited)::before, .visited-indicator:not(:visited)::after {
|
|
|
|
color: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
2024-08-23 00:11:45 +02:00
|
|
|
.page-columns-transitioned .list-with-transition > * { animation: collapsibleItemReveal .25s backwards; }
|
|
|
|
.list-with-transition > *:nth-child(2) { animation-delay: 30ms; }
|
|
|
|
.list-with-transition > *:nth-child(3) { animation-delay: 60ms; }
|
|
|
|
.list-with-transition > *:nth-child(4) { animation-delay: 90ms; }
|
|
|
|
.list-with-transition > *:nth-child(5) { animation-delay: 120ms; }
|
|
|
|
.list-with-transition > *:nth-child(6) { animation-delay: 150ms; }
|
|
|
|
.list-with-transition > *:nth-child(7) { animation-delay: 180ms; }
|
|
|
|
.list-with-transition > *:nth-child(8) { animation-delay: 210ms; }
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.list > *:not(:first-child) {
|
2024-05-10 12:05:42 +02:00
|
|
|
margin-top: calc(var(--list-half-gap) * 2);
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
2024-08-31 19:37:08 +02:00
|
|
|
.list.list-with-separator > *:not(:first-child) {
|
2024-04-27 21:10:24 +02:00
|
|
|
margin-top: var(--list-half-gap);
|
|
|
|
border-top: 1px solid var(--color-separator);
|
|
|
|
padding-top: var(--list-half-gap);
|
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.collapsible-container:not(.container-expanded) > .collapsible-item {
|
2024-04-27 21:10:24 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.collapsible-item {
|
|
|
|
animation: collapsibleItemReveal .25s backwards;
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
@keyframes collapsibleItemReveal {
|
2024-04-27 21:10:24 +02:00
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(10px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.expand-toggle-button {
|
2024-05-16 21:41:50 +02:00
|
|
|
font: inherit;
|
|
|
|
border: 0;
|
2024-04-27 21:10:24 +02:00
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
2024-05-16 21:41:50 +02:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
color: var(--color-text-base);
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: var(--font-size-h4);
|
2024-04-27 21:10:24 +02:00
|
|
|
padding: var(--widget-content-vertical-padding) 0;
|
|
|
|
background: var(--color-widget-background);
|
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.expand-toggle-button.container-expanded {
|
2024-04-27 21:10:24 +02:00
|
|
|
position: sticky;
|
2024-05-17 13:15:44 +02:00
|
|
|
/* -1px to hide 1px gap on chrome */
|
|
|
|
bottom: -1px;
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.expand-toggle-button-icon {
|
2024-05-16 21:41:50 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-left: 1rem;
|
|
|
|
position: relative;
|
|
|
|
top: -.2rem;
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.expand-toggle-button-icon::before {
|
2024-04-27 21:10:24 +02:00
|
|
|
content: '';
|
|
|
|
font-size: 0.8rem;
|
|
|
|
transform: rotate(90deg);
|
|
|
|
line-height: 1;
|
2024-05-16 21:41:50 +02:00
|
|
|
display: inline-block;
|
2024-04-27 21:10:24 +02:00
|
|
|
transition: transform 0.3s;
|
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.expand-toggle-button.container-expanded .expand-toggle-button-icon::before {
|
2024-04-27 21:10:24 +02:00
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
|
2024-08-01 22:34:07 +02:00
|
|
|
.widget-group-header {
|
|
|
|
overflow-x: auto;
|
|
|
|
scrollbar-width: thin;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-group-title {
|
|
|
|
background: none;
|
|
|
|
font: inherit;
|
|
|
|
border: none;
|
|
|
|
text-transform: uppercase;
|
2024-09-06 21:32:20 +02:00
|
|
|
border-bottom: 1px dotted transparent;
|
2024-08-01 22:34:07 +02:00
|
|
|
cursor: pointer;
|
|
|
|
flex-shrink: 0;
|
|
|
|
transition: color .3s, border-color .3s;
|
2024-09-06 21:32:20 +02:00
|
|
|
color: var(--color-text-subdue);
|
|
|
|
line-height: calc(1.6em - 1px);
|
2024-08-01 22:34:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.widget-group-title:hover:not(.widget-group-title-current) {
|
2024-09-06 21:32:20 +02:00
|
|
|
color: var(--color-text-base);
|
2024-08-01 22:34:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.widget-group-title-current {
|
2024-09-06 21:32:20 +02:00
|
|
|
border-bottom-color: var(--color-text-base-muted);
|
|
|
|
color: var(--color-text-base);
|
2024-08-01 22:34:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.widget-group-content {
|
|
|
|
animation: widgetGroupContentEntrance .3s cubic-bezier(0.25, 1, 0.5, 1) backwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-group-content[data-direction="right"] {
|
|
|
|
--direction: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-group-content[data-direction="left"] {
|
|
|
|
--direction: -5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes widgetGroupContentEntrance {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateX(var(--direction));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-group-content:not(.widget-group-content-current) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.widget-content:has(.expand-toggle-button:last-child) {
|
2024-04-27 21:10:24 +02:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.cards-grid.collapsible-container + .expand-toggle-button {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
background-color: var(--color-background);
|
|
|
|
}
|
|
|
|
|
2024-05-21 18:28:30 +02:00
|
|
|
.attachments {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachments > * {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
padding: 0.1rem 0.5rem;
|
|
|
|
font-size: var(--font-size-h6);
|
|
|
|
background-color: var(--color-separator);
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
::selection {
|
|
|
|
background-color: hsl(var(--bghs), calc(var(--scheme) (var(--scheme) var(--bgl) + 20%)));
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
background: var(--color-text-subdue);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
background: var(--color-background);
|
|
|
|
height: 5px;
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
*, *::before, *::after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2024-05-06 17:53:13 +02:00
|
|
|
hr {
|
|
|
|
border: 0;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-separator);
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
img, svg {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-05-12 04:18:55 +02:00
|
|
|
img[loading=lazy].loaded:not(.finished-transition) {
|
|
|
|
transition: opacity .4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
img[loading=lazy].cached:not(.finished-transition) {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
img[loading=lazy]:not(.loaded, .cached) {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
html {
|
|
|
|
scrollbar-color: var(--color-text-subdue) transparent;
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
2024-08-05 13:00:20 +02:00
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
2024-06-11 02:16:39 +02:00
|
|
|
overflow-wrap: break-word;
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-family: 'JetBrains Mono', monospace;
|
|
|
|
font-variant-ligatures: none;
|
|
|
|
line-height: 1.6;
|
|
|
|
color: var(--color-text-base);
|
|
|
|
background-color: var(--color-background);
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-column-small {
|
|
|
|
width: 300px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-column-full {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-columns {
|
|
|
|
display: flex;
|
|
|
|
gap: var(--widget-gap);
|
|
|
|
animation: pageColumnsEntrance .3s cubic-bezier(0.25, 1, 0.5, 1) backwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pageColumnsEntrance {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(10px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-loading-container {
|
2024-08-05 13:15:55 +02:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2024-04-27 21:10:24 +02:00
|
|
|
animation: loadingContainerEntrance 200ms backwards;
|
|
|
|
animation-delay: 150ms;
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
2024-08-06 00:16:32 +02:00
|
|
|
.page-loading-container > .loading-icon {
|
|
|
|
translate: 0 -250%;
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
@keyframes loadingContainerEntrance {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-icon {
|
|
|
|
min-width: 1.5em;
|
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
border: 0.25em solid hsl(var(--bghs), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 12%)));
|
|
|
|
border-top-color: hsl(var(--bghs), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 40%)));
|
|
|
|
border-radius: 50%;
|
|
|
|
animation: loadingIconSpin 800ms infinite linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes loadingIconSpin {
|
|
|
|
to {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-icon {
|
|
|
|
width: 0.7rem;
|
|
|
|
height: 0.7rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-icon-major {
|
|
|
|
background: var(--color-negative);
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-icon-minor {
|
|
|
|
border: 1px solid var(--color-negative);
|
|
|
|
}
|
|
|
|
|
2024-05-25 04:58:11 +02:00
|
|
|
kbd {
|
|
|
|
font: inherit;
|
|
|
|
padding: 0.1rem 0.8rem;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
border: 2px solid var(--color-widget-background-highlight);
|
|
|
|
box-shadow: 0 2px 0 var(--color-widget-background-highlight);
|
|
|
|
user-select: none;
|
|
|
|
transition: transform .1s, box-shadow .1s;
|
|
|
|
font-size: var(--font-size-h5);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd:active {
|
|
|
|
transform: translateY(2px);
|
|
|
|
box-shadow: 0 0 0 0 var(--color-widget-background-highlight);
|
|
|
|
}
|
|
|
|
|
2024-08-19 03:15:22 +02:00
|
|
|
.popover-container, [data-popover-html] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-container {
|
|
|
|
--triangle-size: 10px;
|
|
|
|
--triangle-offset: 50%;
|
2024-08-20 14:29:44 +02:00
|
|
|
--triangle-margin: calc(var(--triangle-size) + 3px);
|
|
|
|
--entrance-y-offset: 8px;
|
|
|
|
--entrance-direction: calc(var(--entrance-y-offset) * -1);
|
|
|
|
|
2024-08-19 03:15:22 +02:00
|
|
|
z-index: 20;
|
|
|
|
position: absolute;
|
2024-08-20 14:29:44 +02:00
|
|
|
padding-top: var(--triangle-margin);
|
2024-08-19 03:15:22 +02:00
|
|
|
padding-inline: var(--content-bounds-padding);
|
|
|
|
}
|
|
|
|
|
2024-08-20 14:29:44 +02:00
|
|
|
.popover-container.position-above {
|
|
|
|
--entrance-direction: var(--entrance-y-offset);
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: var(--triangle-margin);
|
|
|
|
}
|
|
|
|
|
2024-08-19 03:15:22 +02:00
|
|
|
.popover-frame {
|
2024-08-20 14:29:44 +02:00
|
|
|
--shadow-properties: 0 15px 20px -10px;
|
|
|
|
--shadow-color: hsla(var(--bghs), calc(var(--bgl) * 0.2), 0.5);
|
2024-08-19 03:15:22 +02:00
|
|
|
position: relative;
|
|
|
|
padding: 10px;
|
|
|
|
background: var(--color-popover-background);
|
|
|
|
border: 1px solid var(--color-popover-border);
|
|
|
|
border-radius: 5px;
|
|
|
|
animation: popoverFrameEntrance 0.3s backwards cubic-bezier(0.16, 1, 0.3, 1);
|
2024-08-20 14:29:44 +02:00
|
|
|
box-shadow: var(--shadow-properties) var(--shadow-color);
|
2024-08-19 03:15:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.popover-frame::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: var(--triangle-size);
|
|
|
|
height: var(--triangle-size);
|
|
|
|
transform: rotate(45deg);
|
|
|
|
background-color: var(--color-popover-background);
|
2024-08-20 14:29:44 +02:00
|
|
|
border-top-left-radius: 2px;
|
2024-08-19 03:15:22 +02:00
|
|
|
border-left: 1px solid var(--color-popover-border);
|
|
|
|
border-top: 1px solid var(--color-popover-border);
|
|
|
|
left: calc(var(--triangle-offset) - (var(--triangle-size) / 2));
|
|
|
|
top: calc(var(--triangle-size) / 2 * -1 - 1px);
|
|
|
|
}
|
|
|
|
|
2024-08-20 14:29:44 +02:00
|
|
|
.popover-container.position-above .popover-frame::before {
|
|
|
|
transform: rotate(-135deg);
|
|
|
|
top: auto;
|
|
|
|
bottom: calc(var(--triangle-size) / 2 * -1 - 1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-container.position-above .popover-frame {
|
|
|
|
--shadow-properties: 0 10px 20px -10px;
|
|
|
|
}
|
|
|
|
|
2024-08-19 03:15:22 +02:00
|
|
|
@keyframes popoverFrameEntrance {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
2024-08-20 14:29:44 +02:00
|
|
|
transform: translateY(var(--entrance-direction));
|
2024-08-19 03:15:22 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-19 15:03:48 +02:00
|
|
|
.summary {
|
|
|
|
width: 100%;
|
|
|
|
cursor: pointer;
|
|
|
|
word-spacing: -0.18em;
|
|
|
|
user-select: none;
|
|
|
|
list-style: none;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.details[open] .summary {
|
|
|
|
margin-bottom: .8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.summary::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
inset: -.3rem -.8rem;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
background-color: var(--color-widget-background-highlight);
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.2s;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.details[open] .summary::before, .summary:hover::before {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.summary::after {
|
|
|
|
content: "◀";
|
|
|
|
font-size: 1.2em;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
line-height: 1.3em;
|
|
|
|
right: 0;
|
|
|
|
transition: rotate .5s cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
details[open] .summary::after {
|
|
|
|
rotate: -90deg;
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.content-bounds {
|
|
|
|
max-width: 1600px;
|
2024-08-05 13:00:20 +02:00
|
|
|
width: 100%;
|
2024-04-27 21:10:24 +02:00
|
|
|
margin-inline: auto;
|
|
|
|
padding: 0 var(--content-bounds-padding);
|
|
|
|
}
|
|
|
|
|
2024-08-05 00:40:46 +02:00
|
|
|
.page-width-wide .content-bounds {
|
|
|
|
max-width: 1920px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-width-slim .content-bounds {
|
|
|
|
max-width: 1100px;
|
|
|
|
}
|
|
|
|
|
2024-08-31 18:35:38 +02:00
|
|
|
.page-center-vertically .page {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2024-08-31 19:37:08 +02:00
|
|
|
/* TODO: refactor, otherwise I hope I never have to change dynamic columns again */
|
2024-05-12 23:07:58 +02:00
|
|
|
.dynamic-columns {
|
2024-08-31 19:37:08 +02:00
|
|
|
--list-half-gap: 0.5rem;
|
|
|
|
gap: var(--widget-content-vertical-padding) var(--widget-content-horizontal-padding);
|
2024-05-12 23:07:58 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(var(--columns-per-row), 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamic-columns > * {
|
2024-08-31 19:37:08 +02:00
|
|
|
padding-left: var(--widget-content-horizontal-padding);
|
|
|
|
border-left: 1px solid var(--color-separator);
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamic-columns > *:first-child {
|
|
|
|
padding-top: 0;
|
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
2024-05-12 23:07:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.dynamic-columns:has(> :nth-child(1)) { --columns-per-row: 1; }
|
|
|
|
.dynamic-columns:has(> :nth-child(2)) { --columns-per-row: 2; }
|
|
|
|
.dynamic-columns:has(> :nth-child(3)) { --columns-per-row: 3; }
|
|
|
|
.dynamic-columns:has(> :nth-child(4)) { --columns-per-row: 4; }
|
|
|
|
.dynamic-columns:has(> :nth-child(5)) { --columns-per-row: 5; }
|
|
|
|
|
2024-08-31 19:37:08 +02:00
|
|
|
@container widget (max-width: 599px) {
|
|
|
|
.dynamic-columns { gap: 0; }
|
2024-05-12 23:07:58 +02:00
|
|
|
.dynamic-columns:has(> :nth-child(1)) { --columns-per-row: 1; }
|
2024-08-31 19:37:08 +02:00
|
|
|
.dynamic-columns > * {
|
|
|
|
border-left: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.dynamic-columns > *:not(:first-child) {
|
|
|
|
margin-top: calc(var(--list-half-gap) * 2);
|
|
|
|
}
|
|
|
|
.dynamic-columns.list-with-separator > *:not(:first-child) {
|
|
|
|
margin-top: var(--list-half-gap);
|
|
|
|
border-top: 1px solid var(--color-separator);
|
|
|
|
padding-top: var(--list-half-gap);
|
|
|
|
}
|
2024-05-12 23:07:58 +02:00
|
|
|
}
|
2024-08-31 19:37:08 +02:00
|
|
|
@container widget (min-width: 600px) and (max-width: 849px) {
|
2024-05-12 23:07:58 +02:00
|
|
|
.dynamic-columns:has(> :nth-child(2)) { --columns-per-row: 2; }
|
2024-08-31 19:37:08 +02:00
|
|
|
.dynamic-columns > :nth-child(2n-1) {
|
|
|
|
border-left: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@container widget (min-width: 850px) and (max-width: 1249px) {
|
2024-05-12 23:07:58 +02:00
|
|
|
.dynamic-columns:has(> :nth-child(3)) { --columns-per-row: 3; }
|
2024-08-31 19:37:08 +02:00
|
|
|
.dynamic-columns > :nth-child(3n+1) {
|
|
|
|
border-left: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2024-05-12 23:07:58 +02:00
|
|
|
}
|
2024-08-31 19:37:08 +02:00
|
|
|
@container widget (min-width: 1250px) and (max-width: 1499px) {
|
|
|
|
.dynamic-columns:has(> :nth-child(4)) { --columns-per-row: 4; }
|
|
|
|
.dynamic-columns > :nth-child(4n+1) {
|
|
|
|
border-left: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2024-05-12 23:07:58 +02:00
|
|
|
}
|
2024-08-31 19:37:08 +02:00
|
|
|
@container widget (min-width: 1500px) {
|
|
|
|
.dynamic-columns:has(> :nth-child(5)) { --columns-per-row: 5; }
|
|
|
|
.dynamic-columns > :nth-child(5n+1) {
|
|
|
|
border-left: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2024-05-12 23:07:58 +02:00
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.cards-vertical {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cards-horizontal {
|
|
|
|
--cards-per-row: 6.5;
|
|
|
|
}
|
|
|
|
|
2024-05-10 08:41:11 +02:00
|
|
|
.cards-horizontal, .cards-vertical {
|
2024-04-27 21:10:24 +02:00
|
|
|
--cards-gap: calc(var(--widget-content-vertical-padding) * 0.7);
|
|
|
|
display: flex;
|
|
|
|
gap: var(--cards-gap);
|
|
|
|
}
|
|
|
|
|
2024-05-10 08:41:11 +02:00
|
|
|
.card {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cards-horizontal .card {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: calc(100% / var(--cards-per-row) - var(--cards-gap) * (var(--cards-per-row) - 1) / var(--cards-per-row));
|
|
|
|
}
|
|
|
|
|
|
|
|
.cards-grid .card {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.cards-horizontal {
|
|
|
|
overflow-x: auto;
|
2024-08-08 17:00:41 +02:00
|
|
|
scrollbar-width: thin;
|
2024-04-27 21:10:24 +02:00
|
|
|
padding-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cards-grid {
|
2024-05-10 08:41:11 +02:00
|
|
|
--cards-per-row: 6;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(var(--cards-per-row), 1fr);
|
|
|
|
gap: calc(var(--widget-content-vertical-padding) * 0.7);
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@container widget (max-width: 1300px) { .cards-horizontal { --cards-per-row: 5.5; } }
|
|
|
|
@container widget (max-width: 1100px) { .cards-horizontal { --cards-per-row: 4.5; } }
|
|
|
|
@container widget (max-width: 850px) { .cards-horizontal { --cards-per-row: 3.5; } }
|
|
|
|
@container widget (max-width: 750px) { .cards-horizontal { --cards-per-row: 3.5; } }
|
2024-05-09 05:46:22 +02:00
|
|
|
@container widget (max-width: 650px) { .cards-horizontal { --cards-per-row: 2.5; } }
|
|
|
|
@container widget (max-width: 450px) { .cards-horizontal { --cards-per-row: 2.3; } }
|
2024-04-27 21:10:24 +02:00
|
|
|
|
|
|
|
@container widget (max-width: 1300px) { .cards-grid { --cards-per-row: 5; } }
|
|
|
|
@container widget (max-width: 1100px) { .cards-grid { --cards-per-row: 4; } }
|
|
|
|
@container widget (max-width: 850px) { .cards-grid { --cards-per-row: 3; } }
|
|
|
|
@container widget (max-width: 750px) { .cards-grid { --cards-per-row: 3; } }
|
|
|
|
@container widget (max-width: 650px) { .cards-grid { --cards-per-row: 2; } }
|
|
|
|
|
2024-08-23 00:11:45 +02:00
|
|
|
.widget-small-content-bounds {
|
|
|
|
max-width: 350px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2024-04-27 21:10:24 +02:00
|
|
|
|
|
|
|
.widget-error-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 1.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-error-header::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset: calc(0rem - (var(--widget-content-vertical-padding) / 2)) calc(0rem - (var(--widget-content-horizontal-padding) / 2));
|
|
|
|
background: var(--color-negative);
|
|
|
|
opacity: 0.05;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-error-icon {
|
|
|
|
width: 2.4rem;
|
|
|
|
height: 2.4rem;
|
|
|
|
border: 0.2rem solid var(--color-negative);
|
|
|
|
border-radius: 50%;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 2rem;
|
|
|
|
flex-shrink: 0;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-error-icon::before {
|
|
|
|
content: '!';
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-content {
|
|
|
|
container-type: inline-size;
|
|
|
|
container-name: widget;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-content:not(.widget-content-frameless) {
|
|
|
|
padding: var(--widget-content-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-content:not(.widget-content-frameless), .widget-content-frame {
|
|
|
|
background: var(--color-widget-background);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
border: 1px solid var(--color-widget-content-border);
|
|
|
|
box-shadow: 0px 3px 0px 0px hsl(var(--bghs), calc(var(--scheme) (var(--scheme) var(--bgl)) - 0.5%));
|
|
|
|
}
|
|
|
|
|
|
|
|
.padding-widget {
|
|
|
|
padding: var(--widget-content-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.margin-bottom-widget {
|
|
|
|
margin-bottom: var(--widget-content-vertical-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.padding-block-widget {
|
|
|
|
padding-block: var(--widget-content-vertical-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.padding-inline-widget {
|
|
|
|
padding-inline: var(--widget-content-horizontal-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-header {
|
|
|
|
padding: 0 calc(var(--widget-content-horizontal-padding) + 1px);
|
|
|
|
font-size: var(--font-size-h4);
|
2024-08-09 12:25:11 +02:00
|
|
|
margin-bottom: 0.9rem;
|
2024-04-27 21:10:24 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget + .widget {
|
|
|
|
margin-top: var(--widget-gap);
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-horizontal-text {
|
|
|
|
display: flex;
|
|
|
|
list-style: none;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-horizontal-text > *:not(:last-child)::after {
|
|
|
|
content: '•';
|
|
|
|
color: var(--color-text-subdue);
|
|
|
|
margin: 0 0.5rem;
|
|
|
|
position: relative;
|
|
|
|
top: 0.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-container {
|
|
|
|
margin-top: calc(var(--widget-gap) / 2);
|
|
|
|
--header-height: 45px;
|
|
|
|
--header-items-gap: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
display: flex;
|
|
|
|
height: var(--header-height);
|
|
|
|
gap: var(--header-items-gap);
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
height: 100%;
|
|
|
|
line-height: var(--header-height);
|
|
|
|
font-size: 2rem;
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
border-right: 1px solid var(--color-widget-content-border);
|
|
|
|
padding-right: var(--widget-content-horizontal-padding);
|
|
|
|
}
|
|
|
|
|
2024-08-10 20:43:50 +02:00
|
|
|
.logo:has(img) {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo img {
|
2024-08-27 01:14:31 +02:00
|
|
|
max-height: 2.7rem;
|
2024-08-10 20:43:50 +02:00
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.nav {
|
|
|
|
height: 100%;
|
|
|
|
gap: var(--header-items-gap);
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav .nav-item {
|
|
|
|
line-height: var(--header-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
2024-08-05 23:49:48 +02:00
|
|
|
padding-bottom: calc(var(--widget-gap) * 1.5);
|
|
|
|
padding-top: calc(var(--widget-gap) / 2);
|
2024-04-27 21:10:24 +02:00
|
|
|
animation: loadingContainerEntrance 200ms backwards;
|
|
|
|
animation-delay: 150ms;
|
|
|
|
}
|
|
|
|
|
2024-05-08 02:21:55 +02:00
|
|
|
.mobile-navigation, .mobile-reachability-header {
|
2024-04-27 21:10:24 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-item {
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
transition: color .3s, border-color .3s;
|
|
|
|
font-size: var(--font-size-h3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-item:not(.nav-item-current):hover {
|
|
|
|
border-bottom-color: var(--color-text-subdue);
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-item.nav-item-current {
|
|
|
|
border-bottom-color: var(--color-primary);
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
}
|
|
|
|
|
2024-08-27 04:26:16 +02:00
|
|
|
.release-source-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
flex-shrink: 0;
|
2024-08-27 18:17:41 +02:00
|
|
|
opacity: 0.4;
|
2024-08-27 04:26:16 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 19:01:26 +02:00
|
|
|
.market-chart {
|
2024-04-27 21:10:24 +02:00
|
|
|
margin-left: auto;
|
|
|
|
width: 6.5rem;
|
2024-08-31 19:37:08 +02:00
|
|
|
flex-shrink: 0;
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 19:01:26 +02:00
|
|
|
.market-chart svg {
|
2024-05-12 05:13:38 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-05-28 19:01:26 +02:00
|
|
|
.market-values {
|
2024-04-27 21:10:24 +02:00
|
|
|
min-width: 8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-container::before, .carousel-container::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: 2rem;
|
|
|
|
top: 0;
|
|
|
|
bottom: 1rem;
|
|
|
|
z-index: 10;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition-duration: 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-container::before {
|
|
|
|
left: 0;
|
|
|
|
background: linear-gradient(to right, var(--color-background), transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-container::after {
|
|
|
|
right: 0;
|
|
|
|
background: linear-gradient(to left, var(--color-background), transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-container.show-left-cutoff::before, .carousel-container.show-right-cutoff::after {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-thumbnail {
|
|
|
|
width: 100%;
|
2024-05-10 09:26:55 +02:00
|
|
|
aspect-ratio: 16 / 8.9;
|
2024-04-27 21:10:24 +02:00
|
|
|
object-fit: cover;
|
|
|
|
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-title {
|
|
|
|
margin-bottom: auto;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
text-overflow: ellipsis;
|
2024-08-19 15:24:05 +02:00
|
|
|
line-clamp: 2;
|
2024-04-27 21:10:24 +02:00
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
2024-05-25 04:58:11 +02:00
|
|
|
.search-icon {
|
|
|
|
width: 2.3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-icon-container {
|
|
|
|
position: relative;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* gives a wider hit area for the 3 people that will notice the animation : ) */
|
|
|
|
.search-icon-container::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset: -1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-icon-container:hover > .search-icon {
|
|
|
|
animation: searchIconHover 2.9s forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes searchIconHover {
|
|
|
|
0%, 39% { translate: 0 0; }
|
|
|
|
20% { scale: 1.3; }
|
|
|
|
40% { scale: 1; }
|
|
|
|
50% { translate: -30% 30%; }
|
|
|
|
70% { translate: 30% -30%; }
|
|
|
|
90% { translate: -30% -30%; }
|
|
|
|
100% { translate: 0 0; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
transition: border-color .2s;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search:hover {
|
|
|
|
border-color: var(--color-text-subdue);
|
|
|
|
}
|
|
|
|
|
|
|
|
.search:focus-within {
|
|
|
|
border-color: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-input {
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
width: 100%;
|
|
|
|
height: 6rem;
|
|
|
|
font: inherit;
|
|
|
|
outline: none;
|
2024-06-11 01:35:26 +02:00
|
|
|
color: var(--color-text-highlight);
|
2024-05-25 04:58:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-input::placeholder {
|
|
|
|
color: var(--color-text-base-muted);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-bangs { display: none; }
|
|
|
|
|
|
|
|
.search-bang {
|
|
|
|
border-radius: calc(var(--border-radius) * 2);
|
|
|
|
background: var(--color-widget-background-highlight);
|
|
|
|
padding: 0.3rem 1rem;
|
|
|
|
flex-shrink: 0;
|
|
|
|
font-size: var(--font-size-h5);
|
|
|
|
animation: searchBangsEntrance .3s cubic-bezier(0.25, 1, 0.5, 1) backwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes searchBangsEntrance {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateX(-10px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-bang:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-05-02 01:34:25 +02:00
|
|
|
.forum-post-list-item {
|
|
|
|
display: flex;
|
|
|
|
gap: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.forum-post-list-thumbnail {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 6rem;
|
2024-05-03 06:43:08 +02:00
|
|
|
height: 4.1rem;
|
2024-05-02 01:34:25 +02:00
|
|
|
border-radius: var(--border-radius);
|
|
|
|
object-fit: cover;
|
|
|
|
border: 1px solid var(--color-separator);
|
2024-05-03 06:43:08 +02:00
|
|
|
margin-top: 0.1rem;
|
2024-05-02 01:34:25 +02:00
|
|
|
}
|
|
|
|
|
2024-06-02 19:44:17 +02:00
|
|
|
.forum-post-tags-container {
|
|
|
|
transform: translateY(-0.15rem);
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.bookmarks-group {
|
|
|
|
--bookmarks-group-color: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmarks-group-title {
|
|
|
|
color: var(--bookmarks-group-color);
|
|
|
|
}
|
|
|
|
|
2024-05-03 06:38:40 +02:00
|
|
|
.bookmarks-group .bookmarks-link::after {
|
2024-04-27 21:10:24 +02:00
|
|
|
color: var(--bookmarks-group-color);
|
|
|
|
}
|
|
|
|
|
2024-05-03 06:38:40 +02:00
|
|
|
.bookmarks-icon-container {
|
|
|
|
margin-block: 0.1rem;
|
|
|
|
background-color: var(--color-widget-background-highlight);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
padding: 0.5rem;
|
2024-08-27 18:17:41 +02:00
|
|
|
opacity: 0.7;
|
2024-05-03 06:38:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.bookmarks-icon {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root:not(.light-scheme) .simple-icon {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.calendar-day {
|
|
|
|
width: calc(100% / 7);
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.6rem 0;
|
|
|
|
}
|
|
|
|
|
2024-08-23 00:11:45 +02:00
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.calendar-day-today {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
background-color: hsl(var(--bghs), calc(var(--scheme) (var(--scheme) (var(--bgl)) + 6%)));
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
}
|
|
|
|
|
2024-08-23 00:11:45 +02:00
|
|
|
.dns-stats-totals {
|
|
|
|
transition: opacity .3s;
|
|
|
|
transition-delay: 50ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats:has(.dns-stats-graph .popover-active) .dns-stats-totals {
|
|
|
|
opacity: 0.1;
|
|
|
|
transition-delay: 0s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph {
|
|
|
|
--graph-height: 70px;
|
|
|
|
height: var(--graph-height);
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-gridlines-container {
|
|
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
|
|
|
inset: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-gridlines {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-columns {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-column {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
width: calc(100% / 8);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-column::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset: 1px 0;
|
|
|
|
z-index: -1;
|
|
|
|
opacity: 0;
|
|
|
|
background: var(--color-text-base);
|
|
|
|
transition: opacity .2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-column:hover::before {
|
|
|
|
opacity: 0.05;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-bar {
|
|
|
|
width: 14px;
|
|
|
|
height: calc((var(--bar-height) / 100) * var(--graph-height));
|
|
|
|
border: 1px solid var(--color-progress-bar-border);
|
|
|
|
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
|
|
|
display: flex;
|
|
|
|
background: var(--color-widget-background);
|
|
|
|
padding: 2px 2px 0 2px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 2px;
|
|
|
|
transition: border-color .2s;
|
|
|
|
min-height: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-column.popover-active .dns-stats-graph-bar {
|
|
|
|
border-color: var(--color-text-subdue);
|
|
|
|
border-bottom-color: var(--color-progress-bar-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-bar > * {
|
|
|
|
border-radius: 2px;
|
|
|
|
background: var(--color-progress-bar-background);
|
|
|
|
min-height: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-bar > .queries {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-bar > *:last-child {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-bar > .blocked {
|
|
|
|
background-color: var(--color-negative);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-column:nth-child(even) .dns-stats-graph-time {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-time, .dns-stats-graph-columns:hover .dns-stats-graph-time {
|
|
|
|
position: absolute;
|
|
|
|
font-size: var(--font-size-h6);
|
|
|
|
inset-inline: 0;
|
|
|
|
text-align: center;
|
|
|
|
height: 2.5rem;
|
|
|
|
line-height: 2.5rem;
|
|
|
|
top: 100%;
|
|
|
|
user-select: none;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-0.5rem);
|
|
|
|
transition: opacity .2s, transform .2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-column:hover .dns-stats-graph-time {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dns-stats-graph-columns:hover .dns-stats-graph-column:not(:hover) .dns-stats-graph-time {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.weather-column {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: end;
|
|
|
|
flex-direction: column;
|
|
|
|
width: calc(100% / 12);
|
|
|
|
padding-top: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-value, .weather-columns:hover .weather-column-value {
|
|
|
|
font-size: 13px;
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
letter-spacing: -0.1rem;
|
|
|
|
margin-right: 0.1rem;
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 0.3rem;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(0.5rem);
|
|
|
|
transition: opacity .2s, transform .2s;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-current .weather-column-value, .weather-column:hover .weather-column-value {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-value::after {
|
|
|
|
position: absolute;
|
|
|
|
content: '°';
|
|
|
|
left: 100%;
|
|
|
|
color: var(--color-text-subdue);
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-value.weather-column-value-negative::before {
|
|
|
|
position: absolute;
|
|
|
|
content: '-';
|
|
|
|
right: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-bar, .weather-columns:hover .weather-bar {
|
|
|
|
height: calc(20px + var(--weather-bar-height) * 40px);
|
|
|
|
width: 6px;
|
|
|
|
background-color: hsl(var(--ths), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 18%)));
|
|
|
|
border: 1px solid hsl(var(--ths), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 24%)));
|
|
|
|
border-bottom: 0;
|
|
|
|
border-radius: 6px 6px 0 0;
|
|
|
|
mask-image: linear-gradient(0deg, transparent 0, #000 10px);
|
|
|
|
-webkit-mask-image: linear-gradient(0deg, transparent 0, #000 10px);
|
|
|
|
transition: background-color .2s, border-color .2s, width .2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-current .weather-bar, .weather-column:hover .weather-bar {
|
|
|
|
width: 10px;
|
|
|
|
background-color: hsl(var(--ths), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 40%)));
|
|
|
|
border: 1px solid hsl(var(--ths), calc(var(--scheme) ((var(--scheme) var(--bgl)) + 50%)));
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-rain {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
bottom: 20%;
|
|
|
|
overflow: hidden;
|
|
|
|
mask-image: linear-gradient(0deg, transparent 40%, #000);
|
|
|
|
-webkit-mask-image: linear-gradient(0deg, transparent 40%, #000);
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-rain::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
/* TODO: figure out a way to make it look continuous between columns, right now
|
|
|
|
depending on the width of the page the rain inside two columns next to each other
|
|
|
|
can overlap and look bad */
|
|
|
|
background: radial-gradient(circle at 4px 4px, hsl(200, 90%, 70%, 0.4) 1px, transparent 0);
|
|
|
|
background-size: 8px 8px;
|
|
|
|
transform: rotate(45deg) translate(-50%, 25%);
|
|
|
|
height: 130%;
|
|
|
|
aspect-ratio: 1;
|
|
|
|
left: 55%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column:nth-child(3) .weather-column-time,
|
|
|
|
.weather-column:nth-child(7) .weather-column-time,
|
|
|
|
.weather-column:nth-child(11) .weather-column-time {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-time, .weather-columns:hover .weather-column-time {
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
font-size: var(--font-size-h6);
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-0.5rem);
|
|
|
|
transition: opacity .2s, transform .2s;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column:hover .weather-column-time {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-daylight {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
background: linear-gradient(0deg, transparent 30px, hsl(50, 50%, 30%, 0.2));
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-daylight-sunrise {
|
|
|
|
border-radius: 20px 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-column-daylight-sunset {
|
|
|
|
border-radius: 0 20px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.location-icon {
|
|
|
|
width: 0.8em;
|
|
|
|
height: 0.8em;
|
|
|
|
border-radius: 0 50% 50% 50%;
|
|
|
|
background-color: currentColor;
|
|
|
|
transform: rotate(225deg) translate(.1em, .1em);
|
|
|
|
position: relative;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.location-icon::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
width: .4em;
|
|
|
|
height: .4em;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--color-widget-background);
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
2024-05-25 03:28:45 +02:00
|
|
|
.clock-time span {
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.monitor-site-icon {
|
|
|
|
display: block;
|
|
|
|
opacity: 0.8;
|
|
|
|
filter: grayscale(0.4);
|
|
|
|
object-fit: contain;
|
|
|
|
aspect-ratio: 1 / 1;
|
|
|
|
width: 3.2rem;
|
|
|
|
position: relative;
|
|
|
|
top: -0.1rem;
|
|
|
|
transition: filter 0.3s, opacity 0.3s;
|
|
|
|
}
|
|
|
|
|
2024-08-27 18:17:41 +02:00
|
|
|
.monitor-site-icon.simple-icon {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.monitor-site:hover .monitor-site-icon {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2024-08-31 19:51:59 +02:00
|
|
|
.monitor-site:hover .monitor-site-icon:not(.simple-icon) {
|
|
|
|
filter: grayscale(0);
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.monitor-site-status-icon {
|
2024-05-12 23:07:58 +02:00
|
|
|
flex-shrink: 0;
|
2024-04-27 21:10:24 +02:00
|
|
|
margin-left: auto;
|
|
|
|
width: 2rem;
|
|
|
|
height: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail {
|
|
|
|
filter: grayscale(0.2) contrast(0.9);
|
|
|
|
opacity: 0.8;
|
2024-05-17 14:19:14 +02:00
|
|
|
transition: filter 0.2s, opacity .2s;
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
2024-05-21 18:28:30 +02:00
|
|
|
.thumbnail-container {
|
|
|
|
flex-shrink: 0;
|
|
|
|
border: 1px solid var(--color-separator);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-container > * {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-parent:hover .thumbnail {
|
2024-04-27 21:10:24 +02:00
|
|
|
opacity: 1;
|
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rss-card-image {
|
2024-05-09 07:01:16 +02:00
|
|
|
height: var(--rss-thumbnail-height, 10rem);
|
2024-04-27 21:10:24 +02:00
|
|
|
object-fit: cover;
|
|
|
|
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
|
|
|
}
|
|
|
|
|
2024-05-10 11:10:13 +02:00
|
|
|
.rss-card-2 {
|
|
|
|
position: relative;
|
|
|
|
height: var(--rss-card-height, 27rem);
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rss-card-2::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
background-image: linear-gradient(
|
|
|
|
0deg,
|
|
|
|
var(--color-widget-background),
|
|
|
|
hsla(var(--color-widget-background-hsl-values), 0.8) 6rem, transparent 14rem
|
|
|
|
);
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rss-card-2-image {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
/* +1px is required to fix some weird graphical bug where the image overflows on the bottom in firefox */
|
|
|
|
border-radius: calc(var(--border-radius) + 1px);
|
|
|
|
opacity: 0.9;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rss-card-2-content {
|
|
|
|
position: absolute;
|
|
|
|
inset-inline: 0;
|
|
|
|
bottom: var(--widget-content-vertical-padding);
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
|
2024-05-21 18:28:30 +02:00
|
|
|
.rss-detailed-description {
|
|
|
|
max-width: 55rem;
|
|
|
|
color: var(--color-text-base-muted);
|
|
|
|
}
|
|
|
|
|
|
|
|
.rss-detailed-thumbnail {
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rss-detailed-thumbnail > * {
|
|
|
|
aspect-ratio: 3 / 2;
|
|
|
|
height: 8.7rem;
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.twitch-category-thumbnail {
|
|
|
|
width: 5rem;
|
2024-05-25 19:35:50 +02:00
|
|
|
aspect-ratio: 3 / 4;
|
2024-04-27 21:10:24 +02:00
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.twitch-channel-avatar {
|
|
|
|
aspect-ratio: 1;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twitch-channel-avatar-container {
|
|
|
|
width: 4.4rem;
|
|
|
|
height: 4.4rem;
|
|
|
|
border: 2px solid var(--color-text-subdue);
|
|
|
|
padding: 2px;
|
|
|
|
border-radius: 50%;
|
|
|
|
position: relative;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twitch-channel-live .twitch-channel-avatar-container {
|
|
|
|
border: 2px solid var(--color-positive);
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twitch-channel-live .twitch-channel-avatar-container::after {
|
|
|
|
content: 'LIVE';
|
|
|
|
position: absolute;
|
|
|
|
background: var(--color-positive);
|
|
|
|
color: var(--color-widget-background);
|
|
|
|
font-size: var(--font-size-h6);
|
|
|
|
left: 50%;
|
|
|
|
bottom: -35%;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
padding-inline: 0.3rem;
|
|
|
|
transform: translate(-50%);
|
|
|
|
border: 2px solid var(--color-widget-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
.reddit-card-thumbnail {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
object-position: 0% 20%;
|
|
|
|
opacity: 0.15;
|
|
|
|
filter: blur(1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.reddit-card-thumbnail-container {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.reddit-card-thumbnail-container::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
background: linear-gradient(0deg, var(--color-widget-background) 10%, transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1190px) {
|
|
|
|
.header-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-08-08 17:55:46 +02:00
|
|
|
.page-column-small .size-title-dynamic {
|
2024-04-27 21:10:24 +02:00
|
|
|
font-size: var(--font-size-h3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-column-small {
|
|
|
|
width: 100%;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-column {
|
|
|
|
display: none;
|
2024-05-18 19:42:23 +02:00
|
|
|
animation: columnEntrance .0s cubic-bezier(0.25, 1, 0.5, 1) backwards;
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
2024-05-18 19:42:23 +02:00
|
|
|
.page-columns-transitioned .page-column {
|
2024-04-27 21:10:24 +02:00
|
|
|
animation-duration: .3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes columnEntrance {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scaleX(0.95);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-05 13:00:20 +02:00
|
|
|
.mobile-navigation-offset {
|
|
|
|
height: var(--mobile-navigation-height);
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:10:24 +02:00
|
|
|
.mobile-navigation {
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
transform: translateY(calc(100% - var(--mobile-navigation-height)));
|
|
|
|
left: var(--content-bounds-padding);
|
|
|
|
right: var(--content-bounds-padding);
|
|
|
|
z-index: 10;
|
|
|
|
background-color: var(--color-widget-background);
|
|
|
|
border: 1px solid var(--color-widget-content-border);
|
|
|
|
border-bottom: 0;
|
|
|
|
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
|
|
|
transition: transform .3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation:has(.mobile-navigation-page-links-input:checked) .hamburger-icon {
|
|
|
|
--spacing: 7px;
|
|
|
|
color: var(--color-primary);
|
|
|
|
height: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation:has(.mobile-navigation-page-links-input:checked) {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation-page-links {
|
|
|
|
border-top: 1px solid var(--color-widget-content-border);
|
|
|
|
padding: 15px var(--content-bounds-padding);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-08-05 12:12:25 +02:00
|
|
|
overflow-x: auto;
|
2024-08-08 17:00:41 +02:00
|
|
|
scrollbar-width: thin;
|
2024-04-27 21:10:24 +02:00
|
|
|
gap: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation-icons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
body:has(.mobile-navigation-input[value="0"]:checked) .page-columns > :nth-child(1),
|
|
|
|
body:has(.mobile-navigation-input[value="1"]:checked) .page-columns > :nth-child(2),
|
|
|
|
body:has(.mobile-navigation-input[value="2"]:checked) .page-columns > :nth-child(3) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation-label {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
max-width: 50px;
|
|
|
|
height: var(--mobile-navigation-height);
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: var(--mobile-navigation-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation-pill {
|
|
|
|
display: block;
|
|
|
|
background: var(--color-text-base);
|
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
transition: width .3s, background-color .3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation-label:hover > .mobile-navigation-pill {
|
|
|
|
background-color: var(--color-text-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation-label:hover {
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation-input:checked + .mobile-navigation-pill {
|
|
|
|
background: var(--color-primary);
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation-input, .mobile-navigation-page-links-input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger-icon {
|
|
|
|
--spacing: 4px;
|
|
|
|
width: 1em;
|
|
|
|
height: 1px;
|
|
|
|
background-color: currentColor;
|
|
|
|
transition: color .3s, box-shadow .3s;
|
|
|
|
box-shadow: 0 calc(var(--spacing) * -1) 0 0 currentColor, 0 var(--spacing) 0 0 currentColor;
|
|
|
|
}
|
|
|
|
|
2024-05-17 13:15:44 +02:00
|
|
|
.expand-toggle-button.container-expanded {
|
2024-04-27 21:10:24 +02:00
|
|
|
bottom: var(--mobile-navigation-height);
|
|
|
|
}
|
2024-05-17 14:14:48 +02:00
|
|
|
|
|
|
|
.cards-grid + .expand-toggle-button.container-expanded {
|
2024-05-17 13:15:44 +02:00
|
|
|
/* hides content that peeks through the rounded borders of the mobile navigation */
|
|
|
|
box-shadow: 0 var(--border-radius) 0 0 var(--color-background);
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
2024-05-24 06:23:44 +02:00
|
|
|
|
|
|
|
.weather-column-rain::before {
|
|
|
|
background-size: 7px 7px;
|
|
|
|
}
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
2024-05-12 15:20:10 +02:00
|
|
|
@media (max-width: 1190px) and (display-mode: standalone) {
|
2024-04-27 21:10:24 +02:00
|
|
|
:root {
|
2024-05-12 15:20:10 +02:00
|
|
|
--safe-area-inset-bottom: env(safe-area-inset-bottom, 0);
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
2024-05-02 01:34:25 +02:00
|
|
|
|
2024-05-12 15:45:13 +02:00
|
|
|
.list-collapsible-label:has(.list-collapsible-input:checked) {
|
|
|
|
bottom: calc(var(--mobile-navigation-height) + var(--safe-area-inset-bottom));
|
|
|
|
}
|
|
|
|
|
2024-05-12 15:20:10 +02:00
|
|
|
.mobile-navigation {
|
|
|
|
transform: translateY(calc(100% - var(--mobile-navigation-height) - var(--safe-area-inset-bottom)));
|
|
|
|
padding-bottom: var(--safe-area-inset-bottom);
|
2024-05-02 01:34:25 +02:00
|
|
|
}
|
|
|
|
|
2024-05-12 15:20:10 +02:00
|
|
|
.mobile-navigation-icons {
|
|
|
|
padding-bottom: var(--safe-area-inset-bottom);
|
|
|
|
transition: padding-bottom .3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-navigation-icons:has(.mobile-navigation-page-links-input:checked) {
|
|
|
|
padding-bottom: 0;
|
2024-05-02 01:34:25 +02:00
|
|
|
}
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
2024-05-09 00:51:04 +02:00
|
|
|
@media (display-mode: standalone) {
|
2024-05-11 03:54:43 +02:00
|
|
|
body {
|
|
|
|
padding-top: env(safe-area-inset-top, 0);
|
|
|
|
}
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 550px) {
|
|
|
|
:root {
|
|
|
|
font-size: 9px;
|
|
|
|
--widget-gap: 15px;
|
|
|
|
--widget-content-vertical-padding: 10px;
|
|
|
|
--widget-content-horizontal-padding: 10px;
|
|
|
|
--content-bounds-padding: 10px;
|
|
|
|
}
|
2024-05-02 01:34:25 +02:00
|
|
|
|
2024-05-12 23:07:58 +02:00
|
|
|
.dynamic-columns:has(> :nth-child(1)) { --columns-per-row: 1; }
|
|
|
|
|
2024-05-21 18:28:30 +02:00
|
|
|
.row-reverse-on-mobile {
|
|
|
|
flex-direction: row-reverse;
|
2024-05-02 01:34:25 +02:00
|
|
|
}
|
|
|
|
|
2024-05-21 18:28:30 +02:00
|
|
|
.hide-on-mobile, .thumbnail-container:has(> .hide-on-mobile) {
|
2024-05-02 01:34:25 +02:00
|
|
|
display: none
|
|
|
|
}
|
2024-05-08 02:21:55 +02:00
|
|
|
|
|
|
|
.mobile-reachability-header {
|
|
|
|
display: block;
|
|
|
|
font-size: 3rem;
|
2024-05-14 07:28:42 +02:00
|
|
|
padding: 10vh 1rem;
|
2024-05-08 02:21:55 +02:00
|
|
|
text-align: center;
|
|
|
|
color: var(--color-text-highlight);
|
|
|
|
animation: pageColumnsEntrance .3s cubic-bezier(0.25, 1, 0.5, 1) backwards;
|
|
|
|
}
|
2024-05-21 18:28:30 +02:00
|
|
|
|
|
|
|
.rss-detailed-thumbnail > * {
|
|
|
|
height: 6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rss-detailed-description {
|
2024-08-19 15:24:05 +02:00
|
|
|
line-clamp: 3;
|
2024-05-21 18:28:30 +02:00
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
}
|
2024-04-27 21:10:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.size-h1 { font-size: var(--font-size-h1); }
|
|
|
|
.size-h2 { font-size: var(--font-size-h2); }
|
|
|
|
.size-h3 { font-size: var(--font-size-h3); }
|
|
|
|
.size-h4 { font-size: var(--font-size-h4); }
|
|
|
|
.size-base { font-size: var(--font-size-base); }
|
|
|
|
.size-h5 { font-size: var(--font-size-h5); }
|
|
|
|
.size-h6 { font-size: var(--font-size-h6); }
|
|
|
|
|
|
|
|
.color-highlight { color: var(--color-text-highlight); }
|
|
|
|
.color-base { color: var(--color-text-base); }
|
|
|
|
.color-subdue { color: var(--color-text-subdue); }
|
|
|
|
.color-negative { color: var(--color-negative); }
|
|
|
|
.color-positive { color: var(--color-positive); }
|
|
|
|
.color-primary { color: var(--color-primary); }
|
|
|
|
|
2024-08-23 00:11:45 +02:00
|
|
|
.cursor-help { cursor: help; }
|
2024-04-27 21:10:24 +02:00
|
|
|
.break-all { word-break: break-all; }
|
|
|
|
.text-left { text-align: left; }
|
|
|
|
.text-right { text-align: right; }
|
|
|
|
.text-center { text-align: center; }
|
2024-05-06 17:53:13 +02:00
|
|
|
.text-elevate { margin-top: -0.2em; }
|
2024-05-10 12:05:42 +02:00
|
|
|
.text-compact { word-spacing: -0.18em; }
|
2024-04-27 21:10:24 +02:00
|
|
|
.rtl { direction: rtl; }
|
|
|
|
.shrink { flex-shrink: 1; }
|
|
|
|
.shrink-0 { flex-shrink: 0; }
|
|
|
|
.min-width-0 { min-width: 0; }
|
2024-05-19 17:52:13 +02:00
|
|
|
.max-width-100 { max-width: 100%; }
|
2024-08-05 13:00:20 +02:00
|
|
|
.height-100 { height: 100%; }
|
2024-04-27 21:10:24 +02:00
|
|
|
.block { display: block; }
|
2024-06-02 19:44:17 +02:00
|
|
|
.inline-block { display: inline-block; }
|
2024-04-27 21:10:24 +02:00
|
|
|
.overflow-hidden { overflow: hidden; }
|
|
|
|
.relative { position: relative; }
|
|
|
|
.flex { display: flex; }
|
|
|
|
.flex-wrap { flex-wrap: wrap; }
|
|
|
|
.flex-nowrap { flex-wrap: nowrap; }
|
|
|
|
.justify-between { justify-content: space-between; }
|
|
|
|
.justify-stretch { justify-content: stretch; }
|
2024-05-28 18:33:50 +02:00
|
|
|
.justify-evenly { justify-content: space-evenly; }
|
2024-04-27 21:10:24 +02:00
|
|
|
.justify-center { justify-content: center; }
|
|
|
|
.justify-end { justify-content: end; }
|
|
|
|
.uppercase { text-transform: uppercase; }
|
2024-05-02 00:47:14 +02:00
|
|
|
.grow { flex-grow: 1; }
|
2024-04-27 21:10:24 +02:00
|
|
|
.flex-column { flex-direction: column; }
|
|
|
|
.items-center { align-items: center; }
|
|
|
|
.items-start { align-items: start; }
|
|
|
|
.gap-5 { gap: 0.5rem; }
|
|
|
|
.gap-7 { gap: 0.7rem; }
|
|
|
|
.gap-10 { gap: 1rem; }
|
|
|
|
.gap-15 { gap: 1.5rem; }
|
2024-08-01 22:34:07 +02:00
|
|
|
.gap-20 { gap: 2rem; }
|
2024-05-24 06:23:00 +02:00
|
|
|
.gap-25 { gap: 2.5rem; }
|
|
|
|
.gap-35 { gap: 3.5rem; }
|
|
|
|
.gap-45 { gap: 4.5rem; }
|
|
|
|
.gap-55 { gap: 5.5rem; }
|
2024-04-27 21:10:24 +02:00
|
|
|
.margin-top-3 { margin-top: 0.3rem; }
|
|
|
|
.margin-top-5 { margin-top: 0.5rem; }
|
|
|
|
.margin-top-7 { margin-top: 0.7rem; }
|
|
|
|
.margin-top-10 { margin-top: 1rem; }
|
|
|
|
.margin-top-15 { margin-top: 1.5rem; }
|
2024-08-18 19:26:56 +02:00
|
|
|
.margin-top-20 { margin-top: 2rem; }
|
|
|
|
.margin-top-25 { margin-top: 2.5rem; }
|
2024-08-23 00:11:45 +02:00
|
|
|
.margin-top-35 { margin-top: 3.5rem; }
|
|
|
|
.margin-top-40 { margin-top: 4rem; }
|
2024-08-05 13:00:20 +02:00
|
|
|
.margin-top-auto { margin-top: auto; }
|
2024-05-06 17:53:13 +02:00
|
|
|
.margin-block-3 { margin-block: 0.3rem; }
|
|
|
|
.margin-block-5 { margin-block: 0.5rem; }
|
|
|
|
.margin-block-7 { margin-block: 0.7rem; }
|
|
|
|
.margin-block-10 { margin-block: 1rem; }
|
|
|
|
.margin-block-15 { margin-block: 1.5rem; }
|
2024-04-27 21:10:24 +02:00
|
|
|
.margin-bottom-3 { margin-bottom: 0.3rem; }
|
|
|
|
.margin-bottom-5 { margin-bottom: 0.5rem; }
|
|
|
|
.margin-bottom-7 { margin-bottom: 0.7rem; }
|
|
|
|
.margin-bottom-10 { margin-bottom: 1rem; }
|
|
|
|
.margin-bottom-15 { margin-bottom: 1.5rem; }
|
2024-05-19 18:51:59 +02:00
|
|
|
.margin-bottom-auto { margin-bottom: auto; }
|
2024-08-29 22:14:50 +02:00
|
|
|
.padding-block-5 { padding-block: 0.5rem; }
|
2024-05-21 18:28:30 +02:00
|
|
|
.scale-half { transform: scale(0.5); }
|
2024-08-31 19:37:08 +02:00
|
|
|
.list { --list-half-gap: 0rem; }
|
|
|
|
.list-gap-2 { --list-half-gap: 0.1rem; }
|
|
|
|
.list-gap-4 { --list-half-gap: 0.2rem; }
|
|
|
|
.list-gap-10 { --list-half-gap: 0.5rem; }
|
|
|
|
.list-gap-14 { --list-half-gap: 0.7rem; }
|
|
|
|
.list-gap-20 { --list-half-gap: 1rem; }
|
|
|
|
.list-gap-24 { --list-half-gap: 1.2rem; }
|
|
|
|
.list-gap-34 { --list-half-gap: 1.7rem; }
|