diff --git a/assets/scss/colors.scss b/assets/scss/colors.scss new file mode 100644 index 0000000..f6eb6de --- /dev/null +++ b/assets/scss/colors.scss @@ -0,0 +1,23 @@ +$backgroundcolor: #ffe7d6; +$foregroundcolor: #73464c; +$linkcolor: #ab5675; +$active: #72dcbb; + +body { + background-color: $backgroundcolor; + color: $foregroundcolor; +} + +a { + background-color: $linkcolor; + color: $backgroundcolor; +} + +a.footer-nav-item.active{ + color: $linkcolor; +} + +footer, footer a{ + background-color: $foregroundcolor; + color: $backgroundcolor; +} diff --git a/assets/scss/font.scss b/assets/scss/font.scss new file mode 100644 index 0000000..ad8dc1c --- /dev/null +++ b/assets/scss/font.scss @@ -0,0 +1,18 @@ +@font-face { + font-family: CaskaydiaCove; + src: url(/font/CaskaydiaCove.ttf); +} + +* { + font-family: CaskaydiaCove; + font-size: 16pt; + } +h1 {font-size: 42pt;} + +a { + text-decoration: none; +} + +footer { + font-size: 20pt; +} diff --git a/assets/scss/layout.scss b/assets/scss/layout.scss new file mode 100644 index 0000000..8b1958e --- /dev/null +++ b/assets/scss/layout.scss @@ -0,0 +1,30 @@ +html, body { + height: 100%; + flex: auto; +} + +footer { + height: 10%; + min-height: 24pt; + position: sticky; + display: flex; + align-items: center; + justify-content: center; +} + +#footer-content{ + width: 100%; +} + +#content { + min-height:90%; +} + +#footer-right{ + justify-self: right; +} + +* { + padding: 0; + margin: 0; +} diff --git a/assets/scss/main.scss b/assets/scss/main.scss index d1d2644..8460cc3 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -1 +1,3 @@ -*{color:red;} +@import "./colors"; +@import "./font"; +@import "./layout"; diff --git a/external/palette(cc-29-1x).png b/external/palette(cc-29-1x).png new file mode 100644 index 0000000..9f45736 Binary files /dev/null and b/external/palette(cc-29-1x).png differ diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e69de29..a4fad0b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -0,0 +1,19 @@ +{{ define "main" }} +
+
+
+

List - {{.Title}}

+
+ + {{.Content}} +
+ +
+{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e69de29..33d01d7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -0,0 +1,38 @@ +{{ define "main" }} +
+

Single Page {{ .Title }}

+
+
+ {{ .Content }} +
+
+
+ +{{ end }} diff --git a/layouts/index.html b/layouts/index.html index b3868ae..aa3ebdb 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,4 +2,9 @@

{{ .Site.Title }}

+
+

+ {{ .Content }} +

+
{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e69de29..71467e2 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -0,0 +1,13 @@ + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index abade11..6d95d85 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,4 +5,5 @@ {{ $css := resources.Get "scss/main.scss" }} {{ $css = $css | toCSS }} + diff --git a/static/font/CaskaydiaCove.ttf b/static/font/CaskaydiaCove.ttf new file mode 100644 index 0000000..357a160 Binary files /dev/null and b/static/font/CaskaydiaCove.ttf differ diff --git a/static/font/CaskaydiaCoveMono.ttf b/static/font/CaskaydiaCoveMono.ttf new file mode 100644 index 0000000..9334ec7 Binary files /dev/null and b/static/font/CaskaydiaCoveMono.ttf differ diff --git a/static/svg/favicon.svg b/static/svg/favicon.svg new file mode 100644 index 0000000..4c2e61c --- /dev/null +++ b/static/svg/favicon.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + head + + + + + + +