diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..475406f --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,20 @@ + + + +{{ partial "head" .}} + + + + {{ partial "header" .}} +
+
+ {{ .Content}} + {{ range .Pages }} + {{partial "item" .}} + {{ end }} +
+
+ {{ partial "footer" .}} + + + \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..4d1f2d8 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,13 @@ + + + +{{ partial "head" .}} + + + {{ partial "header" .}} +
+ {{ .Content}} +
+ + + \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..aef80e2 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,15 @@ + + +{{ partial "head" .}} + + {{ partial "header" .}} +
+
+ {{ .Content}} +
+
+ {{partial "footer" .}} + + + + \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..f893ae1 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..1d0e18b --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,6 @@ + + + {{.Title}} + + + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..eb8d840 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,6 @@ +
+ +

{{.Site.Title}}

+

{{.Description}}

+ {{ partial "nav" .}} +
\ No newline at end of file diff --git a/layouts/partials/item.html b/layouts/partials/item.html new file mode 100644 index 0000000..e02df4a --- /dev/null +++ b/layouts/partials/item.html @@ -0,0 +1,6 @@ +
+ +

{{.Title}}

+
+ {{.Params.description}} +
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..53d55c3 --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,8 @@ + + \ No newline at end of file diff --git a/static/css/theme.css b/static/css/theme.css new file mode 100644 index 0000000..9b17e99 --- /dev/null +++ b/static/css/theme.css @@ -0,0 +1,103 @@ +body{ + --primary-color:black; + --secondary-color:white; + --accent-color:rgb(3, 58, 3); + --accent-color2:rgb(139, 72, 21); + display:flex; + flex-direction: column; + align-items: center; + margin:0; + background-color: var(--secondary-color); + color:var(--primary-color); + font-size:22px; + background-size:cover; + background-position: center; +} + +a{ + color:var(--accent-color); + font-weight: bolder; +} + + +header,footer{ + background-color:var(--accent-color); + color:var(--secondary-color); + width:100vw; + display:flex; + flex-direction: row; + flex-wrap: wrap; + align-items: center; + justify-content: space-evenly; +} +header{ + margin-bottom: 1rem; +} +footer{ + margin-top:1rem; +} +nav { + display:flex; + flex-direction: row; + align-items: center; +} +nav>*{ + margin:1rem; +} +header a, +footer a{ + color:var(--secondary-color); +} +main{ + min-height: 80vh; + max-width:100vw; + border-radius:3rem; + padding:3rem; + padding-left:0; + padding-right:0; + +} +table{ + border-spacing: 0; +} +th,td{ + border:2px solid var(--accent-color2); + padding:5px; + margin:0; +} +hr{ + width:100%; + color:var(--accent-color2); +} +article{ + max-width: 100%; + display:flex; + flex-direction: column; + align-items: center; + background-color: var(--secondary-color); + border-radius: 2.5rem; + padding:5rem; + padding-top:0.25rem; +} + +code{ + font-family: monospace; + color:var(--accent-color); + font-weight: bolder; +} + + +.item{ + display:flex; + flex-direction: column; + align-items: center; +} + +main p, +main h3, +main h4, +main table, +main ol, +main ul{ + width:100%; +} \ No newline at end of file diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..943ec60 --- /dev/null +++ b/theme.toml @@ -0,0 +1,3 @@ +name = "hearth" +liscense = "" +description = "hearth"