Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions app/themes/laszlo/assets/css/03-component/ui/prose.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,24 +81,22 @@
font-style: italic;
}

.prose .footnote-ref,
.prose .footnote-backref {
--link-color: var(--color-on-tertiary-fixed);

padding: var(--spacing-1) var(--spacing-2);
transition: all ease-in-out 0.1s;
.prose .footnote-ref {
text-decoration: none;
border-radius: var(--spacing-4);
background-color: var(--color-tertiary-fixed);
font: var(--typography-label-small);

&:hover {
--link-color: var(--color-on-tertiary);
&::before {
content: "[";
}

background-color: var(--color-tertiary);
&::after {
content: "]";
}
}

.prose .footnote-backref {
text-decoration: none;
}

.prose .footnotes {
--link-text-decoration-thickness: 1px;

Expand Down
8 changes: 4 additions & 4 deletions app/themes/laszlo/assets/css/03-component/ui/tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

position: absolute;
width: 100%;
max-width: 360px;
max-width: 420px;
padding: var(--spacing-4);
color: var(--color-on-background);
border: 1px solid var(--color-outline-variant);
border-radius: var(--spacing-1);
border-radius: var(--spacing-3);
background: color-mix(in sRGB, var(--color-background), transparent);
box-shadow:
rgb(0 0 0 / 0.1) 0 20px 25px -5px,
rgb(0 0 0 / 0.04) 0 10px 10px -5px;
rgb(0 0 0 / 0.08) 0 12px 24px -4px,
rgb(0 0 0 / 0.04) 0 8px 16px -4px;
font: var(--typography-body-medium);
backdrop-filter: blur(20px);
}
Expand Down