diff --git a/content/_index.md b/content/_index.md index 99fe0df..024beaa 100644 --- a/content/_index.md +++ b/content/_index.md @@ -19,3 +19,4 @@ the wedsite of * 🔮 code alchemist. * ⭐ digital storyteller. * 💚 mestizo monster. + diff --git a/themes/corazon/assets/css/main.scss b/themes/corazon/assets/css/main.scss index 0b329ac..2e3f812 100644 --- a/themes/corazon/assets/css/main.scss +++ b/themes/corazon/assets/css/main.scss @@ -8,6 +8,7 @@ body { margin-left: auto; margin-right: auto; max-width: 768px; + padding: 0.5rem; } h1, h2, h3, h4, h5, h6, nav { @@ -15,6 +16,10 @@ h1, h2, h3, h4, h5, h6, nav { font-weight: 700; } +h1 { + text-align: center; +} + nav { ul { display: flex; @@ -25,10 +30,10 @@ nav { } li { font-size: 1.3rem; - margin: auto 3rem auto 3rem; flex-direction: column; list-style-type: none; border-bottom: 1px solid #a6dc68; + padding: 1rem; } } @@ -52,7 +57,6 @@ figure { } footer { - border-top: 1px solid #222; margin-top: 1rem; text-align: center; } @@ -62,9 +66,19 @@ a { text-decoration: none; } +h1 { + a { + color: #87a73d; + } +} + code { } +main { + padding: 1rem; +} + @media (prefers-color-scheme: light) { body { background: #eee; @@ -73,10 +87,8 @@ code { a { color: #63843e; } - h1 { - a { - color: #87a73d; - } + footer { + border-top: 1px solid #222; } } @@ -85,9 +97,10 @@ code { background: #291712; color: #eee; } - h1 { - a { - color: #87a73d; - } + header { + border-bottom: 1px solid #eee; + } + footer { + border-top: 1px solid #eee; } } diff --git a/themes/corazon/layouts/partials/footer.html b/themes/corazon/layouts/partials/footer.html index b5b4431..95eb1d3 100644 --- a/themes/corazon/layouts/partials/footer.html +++ b/themes/corazon/layouts/partials/footer.html @@ -1 +1,3 @@ +

mastodon / github / gitlab / linkedin / keyoxide

mestizo.monster © current year by taco is licensed under CC BY-NC 4.0.

+

this website is open source.

diff --git a/themes/corazon/layouts/partials/head.html b/themes/corazon/layouts/partials/head.html index 2bec8b4..a2b95b2 100644 --- a/themes/corazon/layouts/partials/head.html +++ b/themes/corazon/layouts/partials/head.html @@ -1,5 +1,5 @@ - + {{ if .IsHome }}home - {{ site.Title }}{{ else }}{{ printf "%s - %s" .Title site.Title }}{{ end }} {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }}