From 4d0b6bdceb238383bcf43170ab0065bafc7ae4ef Mon Sep 17 00:00:00 2001 From: Daniel Orr Date: Fri, 10 Nov 2023 09:01:11 +0000 Subject: [PATCH] Enforce light mode, remove Twitter --- _config.yml | 2 +- _includes/sidebar.html | 2 +- _sass/addon/commons.scss | 10 +++++----- _sass/colors/typography-light.scss | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/_config.yml b/_config.yml index add954d5..3fb856a5 100644 --- a/_config.yml +++ b/_config.yml @@ -63,7 +63,7 @@ google_analytics: # light - Use the light color scheme # dark - Use the dark color scheme # -theme_mode: # [light|dark] +theme_mode: light # The CDN endpoint for images. # Notice that once it is assigned, the CDN url diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 9b757852..4181d9bd 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -61,7 +61,7 @@

{% for entry in site.data.contact %} {% case entry.type %} - {% when 'github', 'twitter' %} + {% when 'github' %} {%- capture url -%} https://{{ entry.type }}.com/{{ site[entry.type].username }} {%- endcapture -%} diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index a710fd65..fc615760 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -763,11 +763,11 @@ $btn-mb: 0.5rem; } .rainbow { - background-color: violet; /* For browsers that do not support gradients */ - background-image: -webkit-linear-gradient(60deg, purple, violet); /* For Safari 5.1 to 6.0 */ - background-image: -o-linear-gradient(60deg, purple, violet); /* For Opera 11.1 to 12.0 */ - background-image: -moz-linear-gradient(60deg, purple, violet); /* For Firefox 3.6 to 15 */ - background-image: linear-gradient(to 60deg, purple, violet); /* Standard syntax (must be last) */ + background-color: purple; /* For browsers that do not support gradients */ + background-image: -webkit-linear-gradient(100deg, violet, purple); /* For Safari 5.1 to 6.0 */ + background-image: -o-linear-gradient(100deg, violet, purple); /* For Opera 11.1 to 12.0 */ + background-image: -moz-linear-gradient(100deg, violet, purple); /* For Firefox 3.6 to 15 */ + background-image: linear-gradient(to 100deg, violet, purple); /* Standard syntax (must be last) */ background-clip: text; -webkit-background-clip: text; color: transparent; diff --git a/_sass/colors/typography-light.scss b/_sass/colors/typography-light.scss index e875aef0..7f48e17d 100644 --- a/_sass/colors/typography-light.scss +++ b/_sass/colors/typography-light.scss @@ -38,7 +38,7 @@ ); /* Sidebar */ - --site-title-color: rgb(113, 113, 113); + --site-title-color: rgb(59, 59, 59); --site-subtitle-color: #717171; --sidebar-bg: #f6f8fa; --sidebar-border-color: #efefef;