diff --git a/_layouts/home.html b/_layouts/home.html index bec1494..8cc7673 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -3,6 +3,7 @@ layout: default home: true --- +{% include anchor_headings.html html=content anchorClass="anchor-head" beforeHeading=true h_min=1 h_max=4 %} {%- if site.length > 0 -%}

Recent Posts

{%- endif -%} diff --git a/_sass/klise/_miscellaneous.scss b/_sass/klise/_miscellaneous.scss index 0c96da6..5b72f98 100644 --- a/_sass/klise/_miscellaneous.scss +++ b/_sass/klise/_miscellaneous.scss @@ -39,3 +39,22 @@ position: absolute; } } + +// Codersrank +codersrank-activity { + --bg-color-0: #f5f5f5; + --bg-color-1: #{lighten(#660000, 60%)}; + --bg-color-2: #{lighten(#660000, 40%)}; + --bg-color-3: #{lighten(#660000, 20%)}; + --bg-color-4: #{lighten(#660000, 00%)}; +} + +body[data-theme="dark"] { + codersrank-activity { + --bg-color-4: #{lighten(#660000, 60%)}; + --bg-color-3: #{lighten(#660000, 40%)}; + --bg-color-2: #{lighten(#660000, 20%)}; + --bg-color-1: #{lighten(#660000, 00%)}; + --bg-color-0: #{ darken(#660000, 20%)}; + } +} diff --git a/index.md b/index.md index bf0c84b..3046549 100644 --- a/index.md +++ b/index.md @@ -1,3 +1,6 @@ --- layout: home ---- \ No newline at end of file +--- + + +