diff --git a/.gitignore b/.gitignore index 46f5006..501a56b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ public/* +resources/* diff --git a/assets/auto-theme.css b/assets/auto-theme.css deleted file mode 100644 index 37a5355..0000000 --- a/assets/auto-theme.css +++ /dev/null @@ -1,156 +0,0 @@ -:root { - --size: 0.96rem; - --spacing: calc(var(--size) * 2); -} - -body { - font-family: "Nunito", "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", - Helvetica, Arial, sans-serif; - font-size: calc(var(--size) * 1.6); - line-height: 1.45; - padding: 0 2.8rem 2.8rem; -} - -header, -main, -footer { - max-width: 66ch; -} - -header, -footer { - position: relative; -} - -.mesh-wrap { - position: relative; - left: 50%; - width: 100vw; - transform: translateX(-50%); - pointer-events: none; - overflow: hidden; -} - -.mesh-image { - display: block; - width: auto; - height: auto; - max-width: none; - position: absolute; - left: 50%; - transform: translateX(-50%); -} - -.mesh-wrap-top { - height: 100px; - margin-bottom: 0.6rem; -} - -.mesh-image-top { - top: 0; -} - -.footer-copy { - padding-top: 0.5rem; -} - -h1, -h2, -h3, -h4 { - font-weight: 600; -} - -h1 { - font-size: calc(var(--size) * 3.4); -} - -h2 { - font-size: calc(var(--size) * 2.8); -} - -.title h1 { - font-size: calc(var(--size) * 2.9); -} - -nav a, -a.blog-tags { - margin-right: calc(var(--spacing) / 2.8); -} - -a { - text-decoration: none; -} - -a:hover, -a:focus-visible { - text-decoration: underline; -} - -ul.blog-posts li { - margin-bottom: 0.2rem; -} - -li { - margin-block-start: calc(var(--spacing) / 2.8); -} - -@media (prefers-color-scheme: light) { - body { - background-color: #ffffff; - color: #1f2328; - } - - h1, - h2, - h3, - h4, - h5, - h6, - strong, - b { - color: #111827; - } - - a { - color: #0969da; - } - - a:visited, - ul.blog-posts li a:visited { - color: #8250df; - } - - textarea, - input { - background-color: #f6f8fa; - color: #1f2328; - border: 1px solid #d0d7de; - } - - table, - th, - td { - border-color: #d0d7de; - } - - code { - color: #24292f; - background-color: #f6f8fa; - } - - pre code { - background-color: #f6f8fa; - } - - blockquote { - border-left-color: #8c959f; - color: #57606a; - } - - figcaption > p, - .helptext { - color: #57606a; - } - -} diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index 833cae1..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ define "main" }} - - {{ .Content }} - -

My most recent posts

- - -

All posts →

- -
-{{ end }} diff --git a/layouts/page/presentation.html b/layouts/page/presentation.html deleted file mode 100644 index 9eda755..0000000 --- a/layouts/page/presentation.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html deleted file mode 100644 index 74a4f70..0000000 --- a/layouts/partials/custom_head.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ $autoTheme := resources.Get "auto-theme.css" | minify }} - diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html deleted file mode 100644 index e0d702a..0000000 --- a/layouts/partials/footer.html +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index 804be55..0000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1,6 +0,0 @@ - - -

{{ .Site.Title }}

- diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html deleted file mode 100644 index 5a7ea58..0000000 --- a/layouts/partials/nav.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ range .Site.Menus.main.ByWeight }} - {{ .Name }} -{{ end }} -RSS diff --git a/layouts/shortcodes/code.html b/layouts/shortcodes/code.html deleted file mode 100644 index 47be546..0000000 --- a/layouts/shortcodes/code.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ .Page.Store.Set "hasCodeBlock" true }} -{{ $lang := .Get "language" | default "" }} -{{ with .Get "title" }} -

{{ . }}

-{{ end }} -{{ highlight (trim .Inner "\r\n") $lang "" }} diff --git a/layouts/shortcodes/fontawesome.html b/layouts/shortcodes/fontawesome.html deleted file mode 100644 index 7e68a9c..0000000 --- a/layouts/shortcodes/fontawesome.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html deleted file mode 100644 index 86148b3..0000000 --- a/layouts/shortcodes/img.html +++ /dev/null @@ -1,6 +0,0 @@ -
- -
diff --git a/layouts/shortcodes/presentations.html b/layouts/shortcodes/presentations.html deleted file mode 100644 index 9e7e7d8..0000000 --- a/layouts/shortcodes/presentations.html +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/layouts/shortcodes/publications.html b/layouts/shortcodes/publications.html deleted file mode 100644 index ce11be6..0000000 --- a/layouts/shortcodes/publications.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/layouts/shortcodes/recent-articles.html b/layouts/shortcodes/recent-articles.html deleted file mode 100644 index e69de29..0000000 diff --git a/themes/hugo-bearcub b/themes/hugo-bearcub index 1d12a76..ef8f417 160000 --- a/themes/hugo-bearcub +++ b/themes/hugo-bearcub @@ -1 +1 @@ -Subproject commit 1d12a76549445b767fa02902caf30cec7ceaecf9 +Subproject commit ef8f417c6c8f62702df76293ebe0bbccb424c16d