{% for item in update_list %} {% assign index = item | split: "::" | last | plus: 0 %} diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index faae717..0729239 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -216,10 +216,8 @@ img[data-src] { } #panel-wrapper { - h4 { - @include panel-label; - - font-family: inherit; + .panel-heading { // the headings + @include label(inherit); } .post-tag { diff --git a/_sass/addon/module.scss b/_sass/addon/module.scss index 45d57bc..7e25531 100644 --- a/_sass/addon/module.scss +++ b/_sass/addon/module.scss @@ -124,18 +124,6 @@ font-weight: $font-weight; } -@mixin panel-label { - @include label(inherit); - - display: block; - line-height: 1.2; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - margin-top: 0; - margin-bottom: 0; - letter-spacing: -0.02em; -} - @mixin align-center { position: relative; left: 50%; diff --git a/_sass/layout/post.scss b/_sass/layout/post.scss index bcb811f..4d09f23 100644 --- a/_sass/layout/post.scss +++ b/_sass/layout/post.scss @@ -150,9 +150,6 @@ img.preview-img { top: 6rem; } - > span { - @include panel-label; - } } #toc li a {