treewide: Add changes for guide progress table

This commit is contained in:
lifehackerhansol 2024-01-13 10:12:11 -08:00
parent f4d0b8c942
commit 5db4d71fae
No known key found for this signature in database
GPG key ID: 80FB184AFC0B3B0E
2 changed files with 27 additions and 0 deletions

View file

@ -1,3 +1,5 @@
<!-- hacks-guide change start: Implement progress table, replace existing sidebar -->
<!--
{% if page.author_profile or layout.author_profile or page.sidebar %} {% if page.author_profile or layout.author_profile or page.sidebar %}
<div class="sidebar sticky"> <div class="sidebar sticky">
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %} {% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
@ -17,3 +19,13 @@
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
-->
{% if page.sidebar %}
<div class="sidebar sticky" style="display: none;">
{% include nav_list %}
</div>
{% endif %}
<!-- hacks-guide change end-->

View file

@ -445,6 +445,21 @@
color: inherit; color: inherit;
} }
/* hacks-guide change start: Add progress table */
ol {
padding-left: 0.9rem;
}
li {
list-style: inherit;
}
.completed {
color: $gray;
text-decoration: line-through;
}
/* hacks-guide change end */
.active { .active {
margin-left: -0.5em; margin-left: -0.5em;
padding-left: 0.5em; padding-left: 0.5em;