Fredrik Jonsson
94a6dc0af3
Make search work for all languages when contentDir is set. ( #106 )
2023-10-25 08:40:18 +02:00
Fredrik Jonsson
372d458be8
Better bullet for straight-left lists.
2023-10-20 19:51:07 +02:00
Fredrik Jonsson
112ba4d267
Fix bug in spacing mixin.
2023-10-16 17:52:06 +02:00
Fredrik Jonsson
4d54f7877a
Add a fit-content variant to box component.
2023-10-12 11:06:49 +02:00
Fredrik Jonsson
58f7451e14
Use brand colours as default for links and button colour for zen menu items.
2023-10-03 14:58:19 +02:00
Fredrik Jonsson
be3ac7b1f9
flex-direction is already dir aware, no need to manually add it.
2023-10-01 10:21:27 +02:00
Fredrik Jonsson
97ab01cb96
Set once: true for all addEventListener in contact.js so not to waste CPU cycels.
2023-09-29 09:24:24 +02:00
Fredrik Jonsson
cf0c43760c
Add clearcookieconsent link/button option.
2023-07-17 11:00:46 +02:00
Fredrik Jonsson
31f67a58b0
Remove obsolute form-submit and form-error.
2023-07-16 07:40:56 +02:00
Fredrik Jonsson
c0c1273880
Add text-wrap: balance; for headings.
2023-06-27 14:08:11 +02:00
Fredrik Jonsson
f44fd9da55
h1 only on top of page so different margins.
2023-06-03 22:38:03 +02:00
Fredrik Jonsson
be68250151
Use em to set header margins for better text rythm.
2023-06-01 19:30:24 +02:00
Fredrik Jonsson
93728f1e9e
Make use of aria-current as selector and remove use of active class.
2023-05-30 08:57:59 +02:00
Fredrik Jonsson
012c465927
Add %button--shadow to zen styles.
2023-05-08 19:21:19 +02:00
Fredrik Jonsson
06479083fb
Fix some bugs with mobile toggle and reuse button and link classes for mobile menu.
2023-05-08 15:49:49 +02:00
Fredrik Jonsson
79ad438b19
Do not set colour for code with syntax highlighting.
2023-05-07 15:44:11 +02:00
Fredrik Jonsson
0459743880
Message highlight.
2023-04-26 14:24:53 +02:00
Fredrik Jonsson
205f7e7834
Make sure headings etc. also gets inverted in boxes. Add classes or extend handlers to some components missing them.
2023-04-26 13:09:04 +02:00
Fredrik Jonsson
33c9642116
Remove use of :has() from js as well.
2023-04-24 14:25:36 +02:00
Fredrik Jonsson
25e792dd22
Adjust padding and gap in the tables componets styles.
2023-04-24 09:33:26 +02:00
Fredrik Jonsson
a54b27a9a7
Code style and code comments fixes.
2023-04-24 09:20:48 +02:00
Fredrik Jonsson
3bf7c9ad3a
Rework the tables componets styles to work for all browsers, :has() support is limited.
2023-04-24 09:20:25 +02:00
Fredrik Jonsson
52fd600814
More use of start/end for paddings and margins.
2023-04-23 18:24:51 +02:00
Fredrik Jonsson
a5e759d988
Add style components for zebra-tables and responsive-tables.
2023-04-23 16:47:57 +02:00
Fredrik Jonsson
8ca27a65c3
Use start/end for text-align and padding to handle rtl etc. better.
2023-04-23 16:47:14 +02:00
Fredrik Jonsson
3012cad52e
Add colours for odd/even rows and row headers.
2023-04-23 16:44:15 +02:00
Fredrik Jonsson
9e025a2b53
Adjust how max line width is set on lists and headings.
2023-04-03 14:51:12 +02:00
Fredrik Jonsson
4ec8920b90
Style adjustments for forms.
2023-03-27 11:36:05 +02:00
Fredrik Jonsson
a5a71c126f
Improve comments for variables.
2023-03-27 11:35:46 +02:00
Fredrik Jonsson
516dff348e
Rename assets/vendor to assets/libs to make it work with go modules.
2023-03-26 14:21:12 +02:00
Fredrik Jonsson
d7fe991e4c
Added margin-block classes as e.g. mtb--m.
2023-03-26 11:40:50 +02:00
Fredrik Jonsson
37b0a700af
Fix linting issue.
2023-03-25 20:59:21 +01:00
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
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