mirror of
https://github.com/Digital-Naturalism-Laboratories/Mothbox.git
synced 2026-03-20 22:03:32 +00:00
25 lines
587 B
CSS
25 lines
587 B
CSS
---
|
|
---
|
|
{%- if site.color_scheme and site.color_scheme != "nil" -%}
|
|
{%- assign color_scheme = site.color_scheme -%}
|
|
{%- else -%}
|
|
{%- assign color_scheme = "light" -%}
|
|
{%- endif -%}
|
|
|
|
{%- capture newline %}
|
|
{% endcapture -%}
|
|
|
|
{%- capture scss -%}
|
|
{% include css/just-the-docs.scss.liquid color_scheme=color_scheme %}
|
|
.site-nav ul li a {
|
|
background-image: linear-gradient(
|
|
-90deg,
|
|
rgba($feedback-color, 1) 0%,
|
|
rgba($feedback-color, 0.8) 80%,
|
|
rgba($feedback-color, 0) 100%
|
|
);
|
|
}
|
|
{%- endcapture -%}
|
|
|
|
{{ scss | scssify | split: newline | slice: -3, 3 | join: newline }}
|