Skip to content
Snippets Groups Projects
Commit aba12c6e authored by Kevin Lin's avatar Kevin Lin :sparkles:
Browse files

Migrate module heading to content

parent 1862e7a1
No related branches found
No related tags found
No related merge requests found
<div class="module"> <div class="module">
<h2 id="{{ page.title | slugify }}">{{ page.title }}</h2>
{{ content }} {{ content }}
</div> </div>
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
title: Introduction to Java title: Introduction to Java
--- ---
## Introduction to Java
{: .text-gamma }
Sep 28 Sep 28
: [Java & Git](#) : [Java & Git](#)
: [1.1](#) : [1.1](#)
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
title: Basic Data Structures title: Basic Data Structures
--- ---
## Basic Data Structures
{: .text-gamma }
Oct 5 Oct 5
: [Linked Lists & Encapsulation](#) : [Linked Lists & Encapsulation](#)
: [3.1](#), [2.2](#), [2.3](#) : [3.1](#), [2.2](#), [2.3](#)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-width: 0; min-width: 0;
padding: $sp-2 $sp-4 0; padding: 0 $sp-4;
position: relative; position: relative;
word-wrap: break-word; word-wrap: break-word;
......
...@@ -2,8 +2,15 @@ ...@@ -2,8 +2,15 @@
.module { .module {
@extend %card; @extend %card;
h1, h2 { h1,
@extend .text-gamma; h2,
h3,
h4,
h5,
h6 {
&:first-child {
margin-top: $sp-4;
}
} }
>dl { >dl {
...@@ -13,6 +20,10 @@ ...@@ -13,6 +20,10 @@
grid-template-columns: max-content 1fr; grid-template-columns: max-content 1fr;
margin: $sp-2 (-$sp-4); margin: $sp-2 (-$sp-4);
&:first-child {
margin-top: 0;
}
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment