Skip to content

Commit 1f8369a

Browse files
committed
A bit of rearranging to attempt to have a component-structure
1 parent 741f4ee commit 1f8369a

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.eleventyignore

-1
This file was deleted.

src/_description.html src/_includes/partials/description.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<section class="py-10 px-2 md:px-4 prose prose-xl mx-auto" id="description">
1+
<section class="kdl-section" id="description">
22
<p>
33
kdl is a document language, mostly based on
44
<a href="https://sdlang.org/">SDLang</a>, with xml-like semantics that looks

src/_design-and-discussion.html src/_includes/partials/design-and-discussion.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<section class="py-10 px-2 md:px-4 prose prose-xl mx-auto" id="design-and-discussion">
1+
<section class="kdl-section" id="design-and-discussion">
22
<h2>Design and discussion</h2>
33
<p>
44
kdl is still extremely new, and discussion about the format should happen

src/index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ <h1 class="text-4xl text-center">kdl - Kat's Document Language</h1>
88
</header>
99

1010

11-
{% include ./_description.html %}
12-
{% include ./_design-and-discussion.html %}
13-
11+
{% include partials/description.html %}
12+
{% include partials/design-and-discussion.html %}

src/styles/global.css

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
@tailwind base;
22
@tailwind components;
33
@tailwind utilities;
4+
5+
.kdl-section {
6+
@apply py-10 px-2 md:px-4 prose prose-xl mx-auto;
7+
}

0 commit comments

Comments
 (0)