diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d70ebaa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public \ No newline at end of file diff --git a/config.yml b/config.yml index 83b38c4..f3b75a9 100644 --- a/config.yml +++ b/config.yml @@ -21,9 +21,12 @@ params: description: Emergent complexity for thoughtful games github: "https://github.com/Leafwing-Studios" dateFormat: "2006-01-02" + homeInfoParams: + title: This is the blog + content: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque imperdiet venenatis urna eu pellentesque. In et eleifend nibh, et tincidunt orci. Nulla maximus sem nec lorem sollicitudin ultrices. Pellentesque mattis ex nibh, vitae posuere justo ultricies gravida. Aenean quis pretium turpis, vitae hendrerit arcu. Vivamus eu lorem nisl. Nullam faucibus quam eu ipsum tristique, at volutpat sem molestie. Nulla tincidunt porta pellentesque. Nulla sed orci arcu. Sed nisi tellus, sodales in posuere sed, egestas quis velit. Etiam viverra fringilla vehicula. Praesent vel luctus erat. Ut fringilla, nisi ac efficitur placerat, diam est commodo metus, sit amet hendrerit tortor augue eget tellus. Integer sit amet magna vitae quam rhoncus mollis at ac orci. Sed vitae sagittis diam. permalinks: - post: "/:year/:month/:day/:filename/" + post: "/post/:filename/" menu: main: diff --git a/static/favicons/browserconfig.xml b/static/favicons/browserconfig.xml new file mode 100644 index 0000000..068581e --- /dev/null +++ b/static/favicons/browserconfig.xml @@ -0,0 +1,11 @@ + + + + + + + + #FFFFFF + + + \ No newline at end of file diff --git a/static/favicons/favicon-114.png b/static/favicons/favicon-114.png new file mode 100644 index 0000000..88bac47 Binary files /dev/null and b/static/favicons/favicon-114.png differ diff --git a/static/favicons/favicon-120.png b/static/favicons/favicon-120.png new file mode 100644 index 0000000..a94d475 Binary files /dev/null and b/static/favicons/favicon-120.png differ diff --git a/static/favicons/favicon-144.png b/static/favicons/favicon-144.png new file mode 100644 index 0000000..f66cf88 Binary files /dev/null and b/static/favicons/favicon-144.png differ diff --git a/static/favicons/favicon-150.png b/static/favicons/favicon-150.png new file mode 100644 index 0000000..cd79984 Binary files /dev/null and b/static/favicons/favicon-150.png differ diff --git a/static/favicons/favicon-152.png b/static/favicons/favicon-152.png new file mode 100644 index 0000000..758342d Binary files /dev/null and b/static/favicons/favicon-152.png differ diff --git a/static/favicons/favicon-16.png b/static/favicons/favicon-16.png new file mode 100644 index 0000000..5c83dbf Binary files /dev/null and b/static/favicons/favicon-16.png differ diff --git a/static/favicons/favicon-160.png b/static/favicons/favicon-160.png new file mode 100644 index 0000000..da63bd3 Binary files /dev/null and b/static/favicons/favicon-160.png differ diff --git a/static/favicons/favicon-180.png b/static/favicons/favicon-180.png new file mode 100644 index 0000000..c4a5a99 Binary files /dev/null and b/static/favicons/favicon-180.png differ diff --git a/static/favicons/favicon-192.png b/static/favicons/favicon-192.png new file mode 100644 index 0000000..76b600f Binary files /dev/null and b/static/favicons/favicon-192.png differ diff --git a/static/favicons/favicon-310.png b/static/favicons/favicon-310.png new file mode 100644 index 0000000..3aca639 Binary files /dev/null and b/static/favicons/favicon-310.png differ diff --git a/static/favicons/favicon-32.png b/static/favicons/favicon-32.png new file mode 100644 index 0000000..c060f74 Binary files /dev/null and b/static/favicons/favicon-32.png differ diff --git a/static/favicons/favicon-57.png b/static/favicons/favicon-57.png new file mode 100644 index 0000000..712863d Binary files /dev/null and b/static/favicons/favicon-57.png differ diff --git a/static/favicons/favicon-60.png b/static/favicons/favicon-60.png new file mode 100644 index 0000000..d3706f6 Binary files /dev/null and b/static/favicons/favicon-60.png differ diff --git a/static/favicons/favicon-64.png b/static/favicons/favicon-64.png new file mode 100644 index 0000000..36336c3 Binary files /dev/null and b/static/favicons/favicon-64.png differ diff --git a/static/favicons/favicon-70.png b/static/favicons/favicon-70.png new file mode 100644 index 0000000..b657309 Binary files /dev/null and b/static/favicons/favicon-70.png differ diff --git a/static/favicons/favicon-72.png b/static/favicons/favicon-72.png new file mode 100644 index 0000000..3d5c176 Binary files /dev/null and b/static/favicons/favicon-72.png differ diff --git a/static/favicons/favicon-76.png b/static/favicons/favicon-76.png new file mode 100644 index 0000000..1f97a27 Binary files /dev/null and b/static/favicons/favicon-76.png differ diff --git a/static/favicons/favicon-96.png b/static/favicons/favicon-96.png new file mode 100644 index 0000000..f61fecc Binary files /dev/null and b/static/favicons/favicon-96.png differ diff --git a/static/favicons/favicon.ico b/static/favicons/favicon.ico new file mode 100644 index 0000000..4081bd5 Binary files /dev/null and b/static/favicons/favicon.ico differ diff --git a/themes/leafwing/assets/css/common/post-entry.css b/themes/leafwing/assets/css/common/post-entry.css index 21ec6ab..efa4fa8 100644 --- a/themes/leafwing/assets/css/common/post-entry.css +++ b/themes/leafwing/assets/css/common/post-entry.css @@ -4,7 +4,7 @@ flex-direction: column; justify-content: center; min-height: 320px; - margin: var(--gap) 0 calc(var(--gap) * 2) 0 + margin: 24px 0 24px 0 } .first-entry .entry-header { diff --git a/themes/leafwing/assets/css/common/post-single.css b/themes/leafwing/assets/css/common/post-single.css index b4307e2..abd5d83 100644 --- a/themes/leafwing/assets/css/common/post-single.css +++ b/themes/leafwing/assets/css/common/post-single.css @@ -9,8 +9,9 @@ } .post-description { - margin-top: 10px; + margin-top: 8px; margin-bottom: 5px; + font-size: 20px; } .post-meta, @@ -69,15 +70,9 @@ font-size: 12px } -.post-content a, -.toc a:hover { - box-shadow: 0 1px 0 -} - -.post-content a code { - margin: auto 0; - border-radius: 0; - box-shadow: 0 -1px 0 var(--primary) inset +.post-content a{ + text-decoration: underline; + color: var(--highlight); } .post-content del { diff --git a/themes/leafwing/assets/css/core/reset.css b/themes/leafwing/assets/css/core/reset.css index ee8e77b..675151b 100644 --- a/themes/leafwing/assets/css/core/reset.css +++ b/themes/leafwing/assets/css/core/reset.css @@ -23,7 +23,7 @@ h6 { body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; - font-size: 18px; + font-size: 16px; line-height: 1.6; word-break: break-word; background: var(--theme) diff --git a/themes/leafwing/assets/css/core/theme-vars.css b/themes/leafwing/assets/css/core/theme-vars.css index bda1f31..4389a18 100644 --- a/themes/leafwing/assets/css/core/theme-vars.css +++ b/themes/leafwing/assets/css/core/theme-vars.css @@ -1,38 +1,40 @@ :root { - --gap: 24px; - --content-gap: 20px; - --nav-width: 1024px; - --main-width: 720px; - --header-height: 60px; - --footer-height: 60px; - --radius: 8px; - --theme: #fff; - --entry: #fff; - --primary: rgba(0, 0, 0, 0.88); - --secondary: rgba(0, 0, 0, 0.56); - --tertiary: rgba(0, 0, 0, 0.16); - --content: rgba(0, 0, 0, 0.88); - --hljs-bg: #1c1d21; - --code-bg: #f5f5f5; - --border: #eee; + --gap: 24px; + --content-gap: 20px; + --nav-width: 1124px; + --main-width: 820px; + --header-height: 60px; + --footer-height: 60px; + --radius: 8px; + --theme: #fff; + --entry: #fff; + --primary: rgba(0, 0, 0, 0.88); + --secondary: rgba(0, 0, 0, 0.56); + --tertiary: rgba(0, 0, 0, 0.16); + --content: rgba(0, 0, 0, 0.88); + --hljs-bg: #1c1d21; + --code-bg: #f5f5f5; + --border: #eee; + --highlight: #24b358; } .dark { - --theme: #1d1e20; - --entry: #2e2e33; - --primary: rgba(255, 255, 255, 0.84); - --secondary: rgba(255, 255, 255, 0.56); - --tertiary: rgba(255, 255, 255, 0.16); - --content: rgba(255, 255, 255, 0.74); - --hljs-bg: #2e2e33; - --code-bg: #37383e; - --border: #333; + --theme: #1d1e20; + --entry: #2e2e33; + --primary: rgba(255, 255, 255, 0.84); + --secondary: rgba(255, 255, 255, 0.56); + --tertiary: rgba(255, 255, 255, 0.16); + --content: rgba(255, 255, 255, 0.74); + --hljs-bg: #2e2e33; + --code-bg: #37383e; + --border: #333; + --highlight: #63db8f; } .list { - background: var(--code-bg); + background: var(--code-bg); } .dark.list { - background: var(--theme); + background: var(--theme); } diff --git a/themes/leafwing/layouts/partials/head.html b/themes/leafwing/layouts/partials/head.html index 4b016ed..97b16da 100644 --- a/themes/leafwing/layouts/partials/head.html +++ b/themes/leafwing/layouts/partials/head.html @@ -10,6 +10,28 @@ {{- /* Title */}} {{ if .IsHome }}{{ else }}{{ if .Title }}{{ .Title }} | {{ end }}{{ end }}{{ .Site.Title }} +{{- /* Favicons */}} + + + + + + + + + + + + + + + + + + + + + {{- /* Meta */}} - - - - - - - {{- /* Generator */}} {{ hugo.Generator }} diff --git a/themes/leafwing/layouts/partials/home_info.html b/themes/leafwing/layouts/partials/home_info.html index ce6df1d..5738035 100644 --- a/themes/leafwing/layouts/partials/home_info.html +++ b/themes/leafwing/layouts/partials/home_info.html @@ -1,10 +1,10 @@ {{- with $.Site.Params.homeInfoParams }}
-

{{ .Title | markdownify }}

+

{{ .title | markdownify }}

-

{{ .Content | markdownify }}

+

{{ .content | markdownify }}

{{- end -}} \ No newline at end of file