diff --git a/_layouts/module.html b/_layouts/module.html index 490feed63794c99071dcc75aa92e845f83c9de09..16c0fd16cb03da29235b8ba05436b900e7aa2b7e 100644 --- a/_layouts/module.html +++ b/_layouts/module.html @@ -1,4 +1,3 @@ <div class="module"> - <h2 id="{{ page.title | slugify }}">{{ page.title }}</h2> {{ content }} </div> diff --git a/_modules/week-01.md b/_modules/week-01.md index 9af2bd488ce46b372efb98a7293eafb96b7d30f4..fd6d99162aa9ffc9432d1f3d94a35b7911081213 100644 --- a/_modules/week-01.md +++ b/_modules/week-01.md @@ -2,6 +2,9 @@ title: Introduction to Java --- +## Introduction to Java +{: .text-gamma } + Sep 28 : [Java & Git](#) : [1.1](#) diff --git a/_modules/week-02.md b/_modules/week-02.md index 86b8eb35053c0453e3d60eff44d06b8815aa0c5f..e1ea22a566fae69f2c5674b365c2d59182d8bc80 100644 --- a/_modules/week-02.md +++ b/_modules/week-02.md @@ -2,6 +2,9 @@ title: Basic Data Structures --- +## Basic Data Structures +{: .text-gamma } + Oct 5 : [Linked Lists & Encapsulation](#) : [3.1](#), [2.2](#), [2.3](#) diff --git a/_sass/custom/card.scss b/_sass/custom/card.scss index 919164e84074caf336022cb0bba40e580500c108..7d3b6d633dbfa3b4406b2e3d8037eb1bc73c045a 100644 --- a/_sass/custom/card.scss +++ b/_sass/custom/card.scss @@ -13,7 +13,7 @@ display: flex; flex-direction: column; min-width: 0; - padding: $sp-2 $sp-4 0; + padding: 0 $sp-4; position: relative; word-wrap: break-word; diff --git a/_sass/custom/module.scss b/_sass/custom/module.scss index fcb7b0e17b7672408fcdc09acf7ea7a2998efba3..6c1ab68d0983b6cdc115bfa4bb80386b3eaa6d1a 100644 --- a/_sass/custom/module.scss +++ b/_sass/custom/module.scss @@ -2,8 +2,15 @@ .module { @extend %card; - h1, h2 { - @extend .text-gamma; + h1, + h2, + h3, + h4, + h5, + h6 { + &:first-child { + margin-top: $sp-4; + } } >dl { @@ -13,6 +20,10 @@ grid-template-columns: max-content 1fr; margin: $sp-2 (-$sp-4); + &:first-child { + margin-top: 0; + } + &:last-child { margin-bottom: 0; }