From 30b5defb5896f54f986af0efacce5e17d6e29597 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 16 Oct 2023 00:11:31 +0200 Subject: Anchors on headings --- assets/scss/style.scss | 70 ++++++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 33 deletions(-) (limited to 'assets') diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 49fc481..3115609 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -1,6 +1,10 @@ @import "tachyons/css/tachyons"; @import "syntax"; +html { + scroll-behavior: smooth; +} + .header ul { clear: both; max-height: 0; @@ -69,72 +73,72 @@ } .w3-theme-l5 { - color: #000 !important; - background-color: #f7fcf5 !important; + color: #000; + background-color: #f7fcf5; } .w3-theme-l4 { - color: #000 !important; - background-color: #e4f4dc !important; + color: #000; + background-color: #e4f4dc; } .w3-theme-l3 { - color: #000 !important; - background-color: #c9e9ba !important; + color: #000; + background-color: #c9e9ba; } .w3-theme-l2 { - color: #000 !important; - background-color: #aedd97 !important; + color: #000; + background-color: #aedd97; } .w3-theme-l1 { - color: #000 !important; - background-color: #94d274 !important; + color: #000; + background-color: #94d274; } .w3-theme-d1 { - color: #fff !important; - background-color: #69bf3e !important; + color: #fff; + background-color: #69bf3e; } .w3-theme-d2 { - color: #fff !important; - background-color: #5da937 !important; + color: #fff; + background-color: #5da937; } .w3-theme-d3 { - color: #fff !important; - background-color: #519430 !important; + color: #fff; + background-color: #519430; } .w3-theme-d4 { - color: #fff !important; - background-color: #467f29 !important; + color: #fff; + background-color: #467f29; } .w3-theme-d5 { - color: #fff !important; - background-color: #3a6a22 !important; + color: #fff; + background-color: #3a6a22; } .w3-theme-light { - color: #000 !important; - background-color: #f7fcf5 !important; + color: #000; + background-color: #f7fcf5; } .w3-theme-dark { - color: #fff !important; - background-color: #3a6a22 !important; + color: #fff; + background-color: #3a6a22; } .w3-theme-action { - color: #fff !important; - background-color: #3a6a22 !important; + color: #fff; + background-color: #3a6a22; } .w3-theme { - color: #fff !important; - background-color: #79c753 !important; + color: #fff; + background-color: #79c753; } .w3-text-theme { - color: #79c753 !important; + color: #79c753; } .w3-theme-border { - border-color: #79c753 !important; + border-color: #79c753; } .w3-hover-theme:hover { - color: #fff !important; - background-color: #79c753 !important; + color: #fff; + background-color: #79c753; } // Extra sizes .mw-20 { @@ -153,7 +157,7 @@ // POSTS .main-content { a { - @extend .link, .near-black, .ph1, .br2, .w3-text-theme; + @extend .link, .ph1, .w3-text-theme; } p code { -- cgit v1.2.3