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">
<h2 id="{{ page.title | slugify }}">{{ page.title }}</h2>
{{ content }}
</div>
......@@ -2,6 +2,9 @@
title: Introduction to Java
---
## Introduction to Java
{: .text-gamma }
Sep 28
: [Java & Git](#)
: [1.1](#)
......
......@@ -2,6 +2,9 @@
title: Basic Data Structures
---
## Basic Data Structures
{: .text-gamma }
Oct 5
: [Linked Lists & Encapsulation](#)
: [3.1](#), [2.2](#), [2.3](#)
......
......@@ -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;
......
......@@ -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;
}
......
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