Commit graph

745 commits

Author SHA1 Message Date
Fredrik Jonsson
e40112df72 Box shadow on button active. 2023-03-25 16:04:48 +01:00
Fredrik Jonsson
2034707d32 Box shadow on button hover. 2023-03-25 15:03:39 +01:00
Fredrik Jonsson
ce9d9ff8cc Fix bug with unit in spacing mixin. 2023-03-24 14:45:02 +01:00
Fredrik Jonsson
17d3ac7f81 Fix: debug should be false by default. 2023-03-24 14:13:05 +01:00
Fredrik Jonsson
f8f7981f4b Make use of css variables in responsive-video component. 2023-03-23 19:11:04 +01:00
Fredrik Jonsson
fce6597ea1 Add missing tags component. 2023-03-18 07:30:06 +01:00
Fredrik Jonsson
c9526d5de0 Remove button from base/forms. 2023-03-17 20:30:38 +01:00
Fredrik Jonsson
5cffb74b65 Do not set max line with on h1. 2023-03-17 20:26:42 +01:00
Fredrik Jonsson
9a8fc75e1f Make use of partialCached for cookiconsent and math. 2023-03-17 20:07:13 +01:00
Fredrik Jonsson
eee22b08f5 Adjustments to the katex integration, part 2. 2023-03-17 16:44:50 +01:00
Fredrik Jonsson
5033f3a277 Adjustments to the katex integration. 2023-03-17 14:14:19 +01:00
Jason Li
1b82c48add
Add math typesetting support with KaTex (#80)
* add math typesetting support with KaTex
* Simplified the syntax for checking "math" property
* save katex files to local
* use local katex file to render math typesetting
* revert changes in scripts.html and styles.html
* Save math.js as a file, not inline script.
* move it into "assets/js" folder
* Load all necessary scripts and styles in math.html
2023-03-17 13:50:57 +01:00
Fredrik Jonsson
1d6e50708a Move some styles fron zen to base. Add margin-top and margin bottom classes for all spacing levels. Add footer component. 2023-03-15 15:46:09 +01:00
Fredrik Jonsson
881ab104d8 Readd debug mixin. 2023-03-15 15:07:45 +01:00
Fredrik Jonsson
b1ea700304 Add a footer-bg colour. 2023-03-15 15:06:56 +01:00
Fredrik Jonsson
ef541b998e Split sass reset dir in to reset file and base dir. 2023-03-15 15:06:45 +01:00
Fredrik Jonsson
c81317e0ca Adjust font sizes. 2023-03-13 09:18:53 +01:00
Fredrik Jonsson
8b433b36ec Update to FlexSearch.js v0.7.31. 2023-03-13 09:18:32 +01:00
Fredrik Jonsson
afbc914417 Remove unused our outdated js libs. 2023-03-13 08:07:52 +01:00
Fredrik Jonsson
308e9d961b Make use of :focus-visible when needed. 2023-03-08 08:18:25 +01:00
Fredrik Jonsson
44a15013b5 Add description to archetypes. 2023-03-08 08:18:03 +01:00
Fredrik Jonsson
0cbd21753b Move third party js to a assets/vendor dir. 2023-03-02 08:19:28 +01:00
Fredrik Jonsson
a0794b7c59 Use dvh with vh fallback for page min-height. 2023-03-01 09:46:39 +01:00
Fredrik Jonsson
52fcea72aa Adjustments to the mobile menu, part 2. 2023-02-27 14:32:22 +01:00
Fredrik Jonsson
37218ed069 Adjustments to the mobile menu. 2023-02-27 13:47:14 +01:00
Fredrik Jonsson
bdbf3b595d Fixing help text in the set_up_new_site script. 2023-02-27 08:25:07 +01:00
Fredrik Jonsson
cc537ae55e Add draft input to cloudcannon conf example. 2023-02-25 16:44:23 +01:00
Fredrik Jonsson
1e233af325 Add remove_extra_inputs and instance_value settings to cloudcannon conf. 2023-02-24 21:25:26 +01:00
Fredrik Jonsson
66debf54cf Simplify _zen.scss by using componets classes. 2023-02-24 15:55:11 +01:00
Fredrik Jonsson
6f2f3cd067 Default to site.Author.name for post author. 2023-02-24 15:51:30 +01:00
Fredrik Jonsson
f8857ed623 Fix issue where logo and mobil menu button touch targets overlap. 2023-02-24 10:43:41 +01:00
Fredrik Jonsson
97e5eb3bd7 Add param logoHeight. 2023-02-24 10:42:49 +01:00
Fredrik Jonsson
338d1e8264 Link elements with hreflang should be absolute. 2023-02-24 08:39:49 +01:00
Daniel F. Dickinson
c3af9d404a
Fixes for README.md (#78)
* Fix copyright param in README example

As it was, Hugo threw an error because the link text Markdown was outside the quoted string.

* Fix typo in README introduction

* Fix Markdown syntax to fix the copyright param

The previous fix was only partial; for the Markdown link to be properly rendered there close square bracket and the open parenthesis need to be adjacent instead of separated by spaces.
2023-02-21 08:39:27 +01:00
Fredrik Jonsson
676afcec69 Update alpinejs lib. 2023-02-20 18:22:05 +01:00
Fredrik Jonsson
4974cd515e More clear comments in extra and custom scss files. 2023-02-19 13:13:12 +01:00
Fredrik Jonsson
4bd4af3931 Update go.mod. 2023-02-19 13:06:25 +01:00
Fredrik Jonsson
fde6bc5a7e Update the REDME. 2023-02-19 13:03:00 +01:00
Fredrik Jonsson
6af068d8b3 Add example cloudcannon config for shortcodes etc. 2023-02-13 13:20:00 +01:00
Fredrik Jonsson
73e12f4d8b Lint fixes. 2023-02-12 15:03:20 +01:00
Fredrik Jonsson
b3f422f806 Reorder the README a bit. 2023-02-12 14:54:47 +01:00
Fredrik Jonsson
2d3e4cf1f3 README update. 2023-02-12 11:00:06 +01:00
Fredrik Jonsson
c598cb6dca Only apply fw-headings to elements that are bold be default. 2023-02-12 10:44:55 +01:00
Fredrik Jonsson
702f7f39e3 Default to system-ui font stack. Set colour on heading and code. Set font weight on headings. 2023-02-11 21:23:34 +01:00
Fredrik Jonsson
d81780b409 Add base size to srcset in render image example. 2023-02-02 18:54:22 +01:00
Fredrik Jonsson
5ef856b8c8 Add center and grid stack components. 2023-02-01 10:33:48 +01:00
Fredrik Jonsson
747bec3cc6 Switch cards component to grid from flex. 2023-02-01 10:33:48 +01:00
Fredrik Jonsson
bc949a581c Add Upgrade to 3.x section to README. 2023-02-01 10:33:48 +01:00
Fredrik Jonsson
45e970953c Add icon-inline component, update render-heading.html.example and add render-image.html.example. 2023-02-01 10:33:48 +01:00
Fredrik Jonsson
9fd4c4a868 Spelling fix in code comment. 2023-02-01 10:33:48 +01:00