diff --git a/_layouts/module.html b/_layouts/module.html index ecb39698fc80a00aa7bc5335ea34a425c19b85ac..835e882a8a09993e92a23a135aaff8dabe06e34b 100644 --- a/_layouts/module.html +++ b/_layouts/module.html @@ -1,5 +1,5 @@ <div class="module"> - <h3 class="module-header"><strong class="module-week">{{ page.week }}</strong> {{ page.title }}</h3> + <h3 class="module-header"><strong class="module-meta">{{ page.week }}</strong> {{ page.title }}</h3> {% if page.days %} <dl class="module-days"> {% for day in page.days %} diff --git a/_sass/custom/card.scss b/_sass/custom/card.scss index 8d67cb081dbbbcc97c6f617215f4c5eaa86d776d..35e7c290930bedd783b90ee6aebca9c28e400bff 100644 --- a/_sass/custom/card.scss +++ b/_sass/custom/card.scss @@ -23,3 +23,9 @@ .card-body { flex: 1 1 auto; } + +.card-meta { + @extend .label; + border-radius: $border-radius; + padding-bottom: 0; +} diff --git a/_sass/custom/module.scss b/_sass/custom/module.scss index d87dd8abc272decf74262fcbc948f3d3889d0efa..1f57c4a3e3dfb1c548aadf22029cdbc1073423b0 100644 --- a/_sass/custom/module.scss +++ b/_sass/custom/module.scss @@ -60,9 +60,8 @@ } .label { - border-radius: $border-radius; + @extend .card-meta; margin-left: 0; - padding-bottom: 0; &.label-hw-out { @extend .label-yellow; @@ -79,9 +78,8 @@ } } -.module-week { - @extend .label, .text-grey-dk-100, .bg-grey-lt-200; - border-radius: $border-radius; +.module-meta { + @extend .card-meta, .text-grey-dk-100, .bg-grey-lt-200; } .module-header {