Add Codersrank activity
This commit is contained in:
@@ -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 -%}
|
||||
<h3 class="posts-item-note" aria-label="Recent Posts">Recent Posts</h3>
|
||||
{%- endif -%}
|
||||
|
||||
@@ -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%)};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user