Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Commit f17f397

Browse files
Merge pull request #725 from lucperkins/lperkins/blog-css
Blog CSS adjustment
2 parents e69015a + e0e6568 commit f17f397

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

_sass/base/_common.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,16 @@
3636
.toc {
3737
border-left: 2px solid $light-gray;
3838
display: none !important;
39-
padding: 0;
39+
padding: .75rem;
4040

4141
@media (min-width: 768px) {
4242
display: block !important;
4343
}
4444

45+
.toc-title {
46+
margin-bottom: 1rem;
47+
}
48+
4549
ul {
4650
list-style-type: none !important;
4751
padding-left: 10px;

blog/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767

6868
<div id="blogtoc" class="toc col-sm-3">
69-
<p>All blog posts:</p>
69+
<h5 class="toc-title">All blog posts</h5>
7070
<ul>
7171
{% for post in site.posts %}
7272
<li>

0 commit comments

Comments
 (0)