mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-25 02:46:39 +07:00
added top gradient
This commit is contained in:
parent
93624c55f2
commit
509e2b9406
3 changed files with 30 additions and 1 deletions
|
@ -186,6 +186,15 @@ blockquote {
|
|||
--color-rating-5: #87deaa;
|
||||
--color-highlight-color: var(--color-text);
|
||||
--color-highlight-background: #254e50;
|
||||
|
||||
// top gradient
|
||||
$primary_dimmed: mix(#e84a72, #16161c, 70%);
|
||||
--top-gradient: linear-gradient(
|
||||
90deg,
|
||||
#{$primary_dimmed},
|
||||
#{adjust-hue($primary_dimmed, 120deg)},
|
||||
#{adjust-hue($primary_dimmed, 240deg)}
|
||||
);
|
||||
}
|
||||
|
||||
:root.light {
|
||||
|
@ -221,4 +230,13 @@ blockquote {
|
|||
--color-rating-5: #{adjust-hue($rating, -40deg)};
|
||||
--color-highlight-color: var(--color-text);
|
||||
--color-highlight-background: #fab795;
|
||||
|
||||
// top gradient
|
||||
$primary_dimmed: mix(#e84a72, #fce9e4, 70%);
|
||||
--top-gradient: linear-gradient(
|
||||
90deg,
|
||||
#{$primary_dimmed},
|
||||
#{adjust-hue($primary_dimmed, 120deg)},
|
||||
#{adjust-hue($primary_dimmed, 240deg)}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue