diff --git a/content/posts/cad-shootout-onshape.md b/content/posts/cad-shootout-onshape.md index 60e3581..677264c 100644 --- a/content/posts/cad-shootout-onshape.md +++ b/content/posts/cad-shootout-onshape.md @@ -1,14 +1,13 @@ --- title: "Hobby CAD shootout: Onshape" -date: 2023-09-11T17:00:00+02:00 +date: 2023-09-11T19:00:00+02:00 toc: true +tldr: | + I explore Onshape for hobbyist use. + Onshape is an incredible application that is both powerful and intuitive. + The free tier gives you everything, provided you are ok with the non-commercial and non-private constraints however performance gets really sketchy with complex designs and the pricing is steep. --- -{{< tldr >}} -This article explores Onshape for hobbyist use. -Onshape is an incredible application that is both powerful and intuitive. -The free tier gives you everything, provided you are ok with the non-commercial and non-private constraints however performance gets really sketchy with complex designs and the pricing is steep. -{{< /tldr >}} Hello, I am a generic nobody armed with a caliper and a 3D printer! diff --git a/layouts/index.html b/layouts/index.html index 624ad48..485f92b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,9 +11,7 @@

Latest {{$pagename}}

{{- range ( $pages | first $limit ) }} -

-

{{ .Title }}

-

+
{{ .Title }}
{{ end }} {{ if (gt ($pages | len) $limit )}} See more… diff --git a/layouts/pages/list.html b/layouts/pages/list.html index 3de7f1c..e403fac 100644 --- a/layouts/pages/list.html +++ b/layouts/pages/list.html @@ -1,9 +1,11 @@ {{ define "main" }}

All pages

These documents are a personal dump of notes and may change at any time.

+
{{ range .Pages.ByPublishDate.Reverse }} -

-

{{ .Title }} (Last modified: )

-

+
+ {{ .Title }} (Last modified: ) +
{{ end }} +
{{ end }} \ No newline at end of file diff --git a/layouts/posts/list.html b/layouts/posts/list.html index d702785..0f6328d 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -1,9 +1,14 @@ {{ define "main" }}

Blog

Here is a list of my personal ranting from newest to oldest.

+
{{ range .Pages.ByPublishDate.Reverse }} -

-

{{ .Title }}

-

+
+ {{ .Title }} + {{ if .Params.tldr }} +
{{.Params.tldr|markdownify}}
+ {{ end }} +
{{ end }} +
{{ end }} diff --git a/static/media/freecad/construction.png b/static/media/freecad/construction.png new file mode 100644 index 0000000..4f09b38 Binary files /dev/null and b/static/media/freecad/construction.png differ diff --git a/static/media/freecad/customize.png b/static/media/freecad/customize.png new file mode 100644 index 0000000..737a46b Binary files /dev/null and b/static/media/freecad/customize.png differ diff --git a/static/media/freecad/radius.png b/static/media/freecad/radius.png new file mode 100644 index 0000000..50e17f4 Binary files /dev/null and b/static/media/freecad/radius.png differ diff --git a/static/media/freecad/toolbars.png b/static/media/freecad/toolbars.png new file mode 100644 index 0000000..af8dc7e Binary files /dev/null and b/static/media/freecad/toolbars.png differ diff --git a/static/media/freecad/tooltips.png b/static/media/freecad/tooltips.png new file mode 100644 index 0000000..6f324a7 Binary files /dev/null and b/static/media/freecad/tooltips.png differ diff --git a/themes/fesite/assets/scss/__var.scss b/themes/fesite/assets/scss/__var.scss index cba2254..53a3744 100644 --- a/themes/fesite/assets/scss/__var.scss +++ b/themes/fesite/assets/scss/__var.scss @@ -1,6 +1,7 @@ $inter: "Inter", "Gill Sans", "Gill Sans MT", "Segoe UI", sans-serif; $iosevka: "Iosevka Aile Web", "Courier New", Courier, monospace; -$text-small: 9pt; +$text-smaller: 9pt; +$text-small: 11pt; $screen-width: 50rem; $color-bg: #151515; $color-copy: #f3f3f3; diff --git a/themes/fesite/assets/scss/layout.scss b/themes/fesite/assets/scss/layout.scss index f60d203..b40f52e 100644 --- a/themes/fesite/assets/scss/layout.scss +++ b/themes/fesite/assets/scss/layout.scss @@ -7,7 +7,7 @@ $footer-border: 1px dotted $color-light-border; footer { border-top: $footer-border; padding: 10pt 0; - font-size: $text-small; + font-size: $text-smaller; font-family: $iosevka; line-height: 1.5; margin-top: 20pt; @@ -91,6 +91,21 @@ a.summary { font-size: 10pt; } +.post-list article { + font-family: $iosevka; + font-size: 14pt; + margin-bottom: 0.5rem; +} + +.summary { + font-family: $inter; + font-size: $text-small; + margin: 5pt 0 15pt 2pt; + line-height: 1.5; + border-left: 2px solid #5e5971; + padding-left: 6pt; +} + .lightbox { display: none; position: fixed; diff --git a/themes/fesite/assets/scss/post.scss b/themes/fesite/assets/scss/post.scss index 70b3b6f..4ff92a5 100644 --- a/themes/fesite/assets/scss/post.scss +++ b/themes/fesite/assets/scss/post.scss @@ -8,6 +8,9 @@ $toc-border: 1px solid #333; $toc-color: #d1e3e8; $toc-label-color: #96ccff; $caption-color: #bfb1bf; +$bold-color: #e7aeff; +$h2-color: #fffdca; +$h3-color: #d1c5f8; .meta { font-family: $iosevka; @@ -46,6 +49,15 @@ $caption-color: #bfb1bf; } .content { + h2 { + color: $h2-color; + } + h3 { + color: $h3-color; + } + strong { + color: $bold-color; + } table { border-collapse: collapse; background-color: $table-bg; @@ -64,6 +76,7 @@ $caption-color: #bfb1bf; } } figure { + text-align: center; margin: 0; padding-top: 1rem; } @@ -113,6 +126,9 @@ $caption-color: #bfb1bf; ul li ul li a { --link-color: #a991f5; } + ul li:last-child ul li::before { + content: "  ├─ "; + } ul li:last-child ul li:last-child::before { content: "  └─ "; } diff --git a/themes/fesite/layouts/_default/list.html b/themes/fesite/layouts/_default/list.html deleted file mode 100644 index 1477bfb..0000000 --- a/themes/fesite/layouts/_default/list.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ define "main" }} -

{{ .Title }}

-{{ range .Pages.ByPublishDate.Reverse }} -

-

{{ .Title }}

- -

{{ .Summary }}

-
-

-{{ end }} -{{ end }} \ No newline at end of file diff --git a/themes/fesite/layouts/_default/single.html b/themes/fesite/layouts/_default/single.html index 329ac2f..0664e13 100644 --- a/themes/fesite/layouts/_default/single.html +++ b/themes/fesite/layouts/_default/single.html @@ -4,8 +4,10 @@ Published on {{.Date | time.Format "2006-01-02" }} {{ if (gt .Lastmod .Date) }}| Last modified on {{.Lastmod | time.Format "2006-01-02" }} {{ end }}
-{{ if .Params.toc }} +{{ if .Params.tldr }} +
{{.Params.tldr|markdownify}}
+{{ end }} {{ if .Params.toc }}
-{{ end }} {{ .Content }} {{ end }} +{{ end }}{{ .Content }} {{ end }}