Sören Weber
e2079297ba
highlight: show underline if inline code is contained in link #726
2023-11-19 01:32:00 +01:00
Sören Weber
f09c72acd8
menu: add outline to menu-controls on tab #726
2023-11-19 01:06:35 +01:00
Sören Weber
1b0e888861
tabs: remove active tab from tab order #726
2023-11-19 00:55:23 +01:00
Sören Weber
b5d8b1cc31
topbar: improve discovering links on keyboard navigation #726
...
the toc was navigatable by pressing <TAB> although the flyout was closed
2023-11-19 00:35:49 +01:00
Sören Weber
28d09d0b27
expand: improve discovering links on keyboard navigation #726
2023-11-19 00:34:59 +01:00
Sören Weber
529daea637
theme: improve discovering links on keyboard navigation #726
2023-11-18 23:56:57 +01:00
Sören Weber
32d5fd5d56
mermaid: fix zoom button #725
2023-11-18 23:19:35 +01:00
Sören Weber
1f7a2aa19a
variant: decrease chroma comment contrast #722
2023-11-17 00:59:17 +01:00
Sören Weber
fcb255caf7
theme: fix JS errors on hugo --minifiy #724
2023-11-16 23:53:06 +01:00
Sören Weber
0f6620a9ff
variant: increase contrast for light themes #722
2023-11-16 22:19:20 +01:00
Sören Weber
ba8ed7c6d4
docs: typo, adapt no adepts
2023-10-30 21:58:38 +01:00
Sören Weber
162554fd78
variant: fix typo in chroma-learn.css #708
2023-10-30 19:28:04 +01:00
Sören Weber
3a02431a60
taxonomy: avoid column break on multiline items #705
2023-10-30 00:20:12 +01:00
Sören Weber
1eb3bf3159
taxonomy: add configurable breadcrumbs to term page #705
2023-10-29 23:49:10 +01:00
Sören Weber
37ebcb6bb0
mermaid: update mermaid to 10.6.0 #703
2023-10-29 18:50:50 +01:00
Sören Weber
64d56dccce
openapi: update swagger-ui to 5.9.1 #702
2023-10-29 18:32:48 +01:00
Sören Weber
2245d8050a
mermaid: show zoom button on mobile only if zoomed #691
2023-10-27 00:55:48 +02:00
Sören Weber
03a268e318
theme: show anchor link and copy to clipboard button on mobile #697
2023-10-27 00:44:27 +02:00
Sören Weber
6cdb5c1dad
mermaid: show zoom reset button always on mobile #691
2023-10-27 00:30:30 +02:00
Sören Weber
93250ba2a7
variants: add more contrast for boxes and code blocks #692
2023-10-18 23:09:04 +02:00
Sören Weber
b0ab88b929
variants: add more contrast to neon #692
2023-10-18 22:59:58 +02:00
Sören Weber
3787cfccc5
mermaid: only show zoom reset button if zoomed #691
2023-10-18 22:43:30 +02:00
Sören Weber
292e261617
mermaid: reset zoom correctly #690
2023-10-18 22:11:33 +02:00
Sören Weber
87b51bb67f
menu: make width configurable #677
2023-10-05 14:59:27 +02:00
Sören Weber
38eefc1d19
theme: typo #676
2023-10-05 13:29:40 +02:00
Sören Weber
d2cfca4b2e
theme: fix mobile layout for width=48rem #676
...
clumsy solution as long as we still support IE11, otherwise we could have used
media query range syntax
2023-10-05 08:51:31 +02:00
Sören Weber
3c39bffe70
tabs: use color for link of inactive tabs #675
2023-10-05 08:13:20 +02:00
Sören Weber
93b115b7cb
taxonomy: add style and color parameter for tags #671
2023-10-03 22:49:49 +02:00
Sören Weber
b998bec84f
taxonomy: fix output for hugo --minify
#671
2023-10-03 20:27:09 +02:00
Sören Weber
15959fe60d
taxonomy: modularize term list generation #671
2023-10-03 13:20:20 +02:00
Sören Weber
977e4c5ab2
variant: fix sidebar-flyout borders color for zen #667
2023-10-02 10:37:12 +02:00
Sören Weber
1876463e7c
math: hide unrendered math #663
2023-10-01 21:24:17 +02:00
Sören Weber
00175972d9
tabs: improve a11y by removing duplicate hidden title #662
2023-10-01 21:06:39 +02:00
Sören Weber
9baa4b39bc
mermaid: #656
2023-10-01 13:57:58 +02:00
Sören Weber
032b2556de
clipboard: fix RTL location of tooltip #661
2023-10-01 13:48:56 +02:00
Sören Weber
9538593530
mermaid: improve button coloring #659
2023-10-01 12:24:35 +02:00
Sören Weber
67264dba47
clipboard: ignore RTL for code #660
2023-10-01 12:23:50 +02:00
Sören Weber
394ff3f7b2
mermaid: improve zoom UX #659
2023-10-01 12:21:29 +02:00
Sören Weber
5342161fed
mermaid: avoid graph bombing on hugo --minify #656
2023-09-30 21:41:31 +02:00
Sören Weber
bb77153860
mermaid: fix width for some graphs #655
2023-09-30 21:39:57 +02:00
Sören Weber
175b0c8806
mermaid: add pan&zoom reset #651
2023-09-26 22:22:52 +02:00
Sören Weber
4416ab4c7c
clipboard: fix malused Fontawesome style #649
2023-09-26 21:27:04 +02:00
Sören Weber
51adb4b430
menu: add missing top margin for topics #626
2023-09-24 01:00:53 +02:00
Sören Weber
38e0285061
markdown: add interlace color for tables #648
2023-09-24 00:59:25 +02:00
Sören Weber
7622913ac2
search: add breadcrumb to dedicated search results #647
2023-09-24 00:27:39 +02:00
Sören Weber
e18c213e8c
theme: avoid id collisions between headings and theme #646
2023-09-23 10:18:31 +02:00
Sören Weber
11c39da8e3
tabs: remove HTML validation errors #644
2023-09-21 21:39:27 +02:00
Sören Weber
e7eb9aa366
theme: remove HTML validation errors #644
2023-09-21 21:34:02 +02:00
Sören Weber
493e23ebe1
menu: optionally disable index pages for sections #642
2023-09-21 17:23:41 +02:00
Sören Weber
bb68b7b28a
breadcrumb: remove superflous whitespace between items #643
2023-09-21 00:26:42 +02:00
Sören Weber
e065239498
openapi: update to swagger 5.7.2 #641
2023-09-18 20:48:24 +02:00
Sören Weber
8bd202954d
topbar: make buttons configurable #639
2023-09-18 20:24:49 +02:00
Sören Weber
6cd5a93198
topbar: make button flyouts modular #639
2023-09-15 00:23:41 +02:00
Sören Weber
82ba045702
topbar: move sidebar- and toc-overlay into topbar #639
...
for better modularization by keeping their whole functionality DOMwise in one place
2023-09-13 23:25:47 +02:00
Sören Weber
9a5136d0be
topbar: switch to flex layout #639
2023-09-13 23:10:41 +02:00
Sören Weber
5d89ffcfd0
topbar: fix HTML validator errors #639
2023-09-12 23:18:49 +02:00
Sören Weber
626841a16c
topbar: modularize left sided buttons #639
2023-09-12 23:09:14 +02:00
Sören Weber
bef1accd20
topbar: modularize buttons #639
2023-09-12 00:10:03 +02:00
Sören Weber
196188b7f3
menu: fix footer padding #637
2023-09-05 23:09:35 +02:00
Sören Weber
e6b50128e4
theme: fix snyk code issues #633
2023-08-31 12:34:23 +02:00
Sören Weber
82d3a9aabf
images: apply image effects to lightbox images #631
2023-08-26 22:41:07 +02:00
Sören Weber
0dd4b34023
mermaid: lazy render graph if it is initially hidden #187
...
works now in initially collapsed expands and initially inactive tabs
2023-08-26 01:26:37 +02:00
Sören Weber
9de73221c4
images: ignore empty <p>s generated by Hugo #576
2023-08-25 23:51:18 +02:00
Sören Weber
250bacfdfc
images: make CSS less intrusive #576
2023-08-25 23:48:34 +02:00
Sören Weber
686ea66e67
image: streamline image border color #623
...
to code boxes or table grids
2023-08-25 19:33:59 +02:00
Sören Weber
151c31e142
images: allow option to apply image effects globally #623
2023-08-25 19:09:50 +02:00
Sören Weber
d94e7454e4
search: remove link underline on dedicated search page #627
2023-08-25 10:34:21 +02:00
Sören Weber
ed1715d467
theme: support for colored borders between menu and content #626
2023-08-25 03:14:09 +02:00
Sören Weber
5d0a1cff61
openapi: switch to light syntaxhighlightning where applicable #621
2023-08-17 17:57:02 +02:00
Sören Weber
4abf992c85
openapi: update to swagger 5.4.1 #620
2023-08-17 17:43:45 +02:00
Sören Weber
cbfe2076cf
variant: typos #617
2023-08-13 13:17:42 +02:00
Sören Weber
969839b52f
variant: wildspace #617
2023-08-13 13:15:04 +02:00
Sören Weber
319e7c6bc1
variant: minor adjustments to zen variants #617
2023-08-13 13:12:28 +02:00
Sören Weber
b6708d693c
variant: signal variant switch as event #614
2023-08-12 23:11:21 +02:00
Sören Weber
3dce59264e
variant: add zen variant in light and dark #613
2023-08-12 16:10:05 +02:00
Sören Weber
5bebb7edd8
mermaid: update to 10.3.1 #610
2023-08-11 19:56:12 +02:00
Sören Weber
e837822172
mermaid: fix broken zoom since update to v10 #608
2023-08-07 23:32:38 +02:00
Sören Weber
3dada8b058
mermaid: variant generator diagram does not respond to events #607
2023-08-07 22:37:05 +02:00
Sören Weber
b2e841caaa
Merge branch 'nexeck-main'
2023-08-05 14:35:18 +02:00
Sören Weber
b2b527756b
mermaid: in doubt, set variants mermaid theme into yaml #603 #601
2023-08-05 14:10:41 +02:00
Sören Weber
a718c05324
mermaid: formatting #601 #603
2023-08-05 14:06:57 +02:00
Sören Weber
c41edc86e1
mermaid: make yaml parsing more robust #603 #601
2023-08-05 14:05:52 +02:00
Marcel Beck
cbd8fa2006
fix: only render yaml/directive block when it is not empty
2023-08-04 15:19:45 +02:00
Marcel Beck
eec16d3abe
fix: set theme during rendering
...
Sankey diagram isn't using yaml/directive currently
2023-08-04 15:13:42 +02:00
Sören Weber
9a331d4378
print: avoid chroma leak for relearn-dark #605
2023-07-31 23:48:58 +02:00
Marcel Beck
6960d63ee0
style: fix style in theme.js
2023-07-28 21:21:06 +02:00
Marcel Beck
be45120c46
feat: use yaml instead of directive for new mermaid diagram types
...
mermaid is deprecating directives for new diagram types: https://github.com/mermaid-js/mermaid/issues/4630
2023-07-28 21:13:56 +02:00
Marcel Beck
88d03d4fc6
feat: update mermaid to 10.3.0
...
fixes : #601
2023-07-28 17:04:56 +02:00
Sören Weber
e44a96cb22
openapi: inherit RTL setting from Hugo content #600
2023-07-27 21:17:43 +02:00
Sören Weber
75d2bae3d6
highlight: fix position of copy-to-clipboard button in LTR #594
2023-07-26 22:40:54 +02:00
Alex Norell
80c1b4e04e
fix[openapi]: Exapnd to Expand
2023-07-26 21:48:48 +02:00
Sören Weber
9c72a05c17
button: fix focus and text decoration #577
2023-07-26 21:32:17 +02:00
Sören Weber
3fbf35add8
toc: add text decoration #577
2023-07-26 21:18:49 +02:00
Sören Weber
29dd162698
button: remove text decoration #577
2023-07-26 21:18:23 +02:00
Sören Weber
125fedf4b7
expand: no outline, a text decoration is enough #577
2023-07-26 21:04:38 +02:00
Sören Weber
914c2a9da4
#theme: fix links in nav and menu on hover #577
2023-06-28 23:45:00 +02:00
Sören Weber
82ef4ff5c5
mermaid: remove runtime styles for print #577
2023-06-28 23:43:20 +02:00
Sören Weber
3c0e4c0a12
expand: remove slide effect on hover and add outline #577
2023-06-28 23:11:35 +02:00
Sören Weber
1381995bac
button: fix visuals #577
2023-06-28 22:13:16 +02:00
Sören Weber
f88ed671eb
a11y: fix search button offset #581
2023-06-28 20:22:56 +02:00
Sören Weber
8fd3f79c9a
a11y: improve "clear search" button #581
2023-06-28 20:17:29 +02:00
Sören Weber
c69c5890a9
a11y: outline color for menu controls #581
2023-06-28 19:21:41 +02:00
Sören Weber
75cdd546e0
a11y: improve outline style for menu controls #581
2023-06-28 18:32:30 +02:00
Sören Weber
277340e491
theme: remove link underline in menu #577
2023-06-23 12:39:51 +02:00
Sören Weber
63928e5a91
theme: improve display of links #577
2023-06-23 11:50:29 +02:00
Sören Weber
29be027dbf
highlight: disable block code copy-to-clipboard button in print #574
2023-06-22 18:59:16 +02:00
Sören Weber
9d72658a43
highlight: make copy to clipboard only appear on hover #574
2023-06-22 18:42:43 +02:00
Sören Weber
83e403ea2e
highlight: add option for wrapping vs. scrolling #169
2023-06-22 01:22:08 +02:00
Sören Weber
73fdfb5ea6
highlight: to much simplification #169
2023-06-21 22:27:33 +02:00
Sören Weber
90db4823dc
highlight: simplify js implementation #169
2023-06-21 22:06:16 +02:00
Sören Weber
05e33f051b
syntaxhighlight: trim highlight color for relearn-light #569
2023-06-17 10:23:07 +02:00
Sören Weber
ca6965b843
syntaxhighlight: adjust highlighted line color #569
2023-06-17 00:37:44 +02:00
Sören Weber
2be07f6871
syntaxhiglight: adjust for background #569
2023-06-17 00:36:51 +02:00
Sören Weber
e1b2388a18
syntaxhighlight: fix table background on overflow #569
2023-06-16 22:53:18 +02:00
Sören Weber
74e31cae1a
syntaxhighlight: move everything closer together in highlight table lineno mode #569
2023-06-16 22:29:35 +02:00
Sören Weber
7a92d032e5
syntaxhighlight: allow for wrapping #569
...
- currently the only option until #169 is implemented
- also mandatory for printing
2023-06-16 21:13:59 +02:00
Sören Weber
d62e47ff90
theme: slightly separate 'More' caption from menu
2023-06-16 00:16:09 +02:00
Sören Weber
739f7fc02a
variant: reduce 'More' contrast to adjust with relearn-bright variant
2023-06-15 23:55:45 +02:00
Sören Weber
d319d92d98
syntaxhighlight: fix behavior for noClasses=true #569
2023-06-15 23:17:27 +02:00
Sören Weber
5218972b06
syntaxhighlight: fix borders using highlight shortcode #569
2023-06-15 21:57:08 +02:00
Sören Weber
c3015432e5
syntaxhighlight: improve if using highlight shortcode #569
2023-06-15 19:35:35 +02:00
Sören Weber
25a2358096
theme: revamp 404 page #566
2023-06-10 13:56:58 +02:00
Sören Weber
e77afd6b70
mermaid: allow for YAML frontmatter inside of graph #564
2023-06-09 21:45:57 +02:00
Sören Weber
59428415f2
Merge branch 'mermaid-front-matter-support' of https://github.com/takac/hugo-theme-relearn into takac-mermaid-front-matter-support
2023-06-09 20:36:28 +02:00
Tom Cammann
cb9cec76e3
Support yaml front matter in mermaid blocks
...
Mermaid diagrams can start with yaml front matter, e.g.
```
---
title: Example Diagram
---
graph LR
A --> B
```
Relearn injects an init directive
`%%{init: {"theme":"default"}}%%` at the top of a mermaid block to
support theming the mermaid diagram. However this will cause a syntax
parser error in mermaid if the init directive comes before the yaml
front matter.
Valid:
```
%%{init: {"theme":"default"}}%%
graph LR
A --> B
```
Invalid:
```
%%{init: {"theme":"default"}}%%
---
title: Example
---
graph LR
A --> B
```
To support yaml front matter, we detect if front matter is used, and
inject the init directive after the front matter.
```
---
title: Example
---
%%{init: {"theme":"default"}}%%
graph LR
A --> B
```
2023-06-09 11:52:23 +01:00
Sören Weber
5a2ffac7fc
tabs: fix false codify detection if only contained in subtabs #550
2023-06-08 16:45:30 +02:00
Sören Weber
efce383939
tabs: decrease contrast for tabs title #550
2023-06-08 15:23:55 +02:00
Sören Weber
d86973ae01
tabs: further tweaking of default color #550
2023-06-08 15:11:51 +02:00
Sören Weber
cef256eb40
tabs: allow codified tabs to be colored #550
2023-06-08 14:53:22 +02:00
Sören Weber
0a3662be61
tabs: increase contrast for non selected tab handles #550
...
and make default style darkish grey similar to other shortcodes
2023-06-08 14:36:28 +02:00
Sören Weber
310df3425f
icon: remove whitespace on start #560
2023-06-08 13:36:12 +02:00
Sören Weber
a5e6a30493
tabs: fix neon style #550
2023-06-07 20:17:17 +02:00
Sören Weber
25e39cfe34
tabs: fix style for indented code blocks #550
2023-06-07 20:16:59 +02:00
Sören Weber
822a913e83
tabs: fix borders for high dpi screens #550
2023-06-07 18:41:16 +02:00
Sören Weber
9952cfb2da
tabs: fix issues with FF :has() selector #551
2023-06-06 20:29:02 +02:00
Sören Weber
a79f81322a
tabs: add title and icon option #552
2023-06-06 19:54:12 +02:00
Sören Weber
f50c362c8e
tabs: adjust tab handle styling #550
2023-06-06 18:15:08 +02:00
Sören Weber
67fe76a99c
shortcodes: add style option to mimic code box color scheme #551
2023-06-06 17:44:06 +02:00
Sören Weber
aea9a54a08
tabs: colors for each tab in a set #550
2023-06-05 18:31:55 +02:00
Sören Weber
df37463789
expand: avoid superflous margin at start and end of content #558
2023-06-05 08:43:51 +02:00
Sören Weber
61776a070f
tabs: more visula clue for selected tab #550
2023-06-05 08:37:50 +02:00
Sören Weber
91fa8fc403
tabs: fix neon variant after revamp #550
2023-06-05 00:46:34 +02:00
Sören Weber
013dcc0ba7
variant: move color-dependend properties
2023-06-05 00:41:14 +02:00
Sören Weber
911ec6fa86
tabs: revamp for color options support #550
2023-06-05 00:27:51 +02:00
Sören Weber
5ca1c4c5f0
shortcodes: avoid superflous margin at start and end of content #558
2023-06-05 00:24:14 +02:00
Sören Weber
08697ef8b2
theme: update color values to rgba #544
2023-05-28 00:04:44 +02:00
Sören Weber
a135b2adb4
chore: update Mermaid to 10.2.0 #499
2023-05-24 20:25:13 +02:00
Sören Weber
7e92610184
tab: new shortcode to display single tab #538
2023-05-23 23:57:48 +02:00
Sören Weber
5178890342
expand: indent expanded content #536
2023-05-23 20:03:06 +02:00
Sören Weber
e362346834
notice: make boxes more prominent #535
2023-05-23 19:55:13 +02:00