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
Sören Weber
36fefc833d
chore: update Mermaid to 9.4.3 #534
2023-05-23 15:17:23 +02:00
Sören Weber
da634d62c8
theme: allow to display tags below article #513
2023-05-19 20:44:19 +02:00
Sören Weber
5099b5b73c
tags: taxonomy layout with headings all on the left #530
...
and columned lists like in the terms page for a more concicse look
2023-05-19 12:59:06 +02:00
Sören Weber
53093085bd
tags: leverage space in terms layout #530
2023-05-19 10:15:20 +02:00
Sören Weber
55549897c5
tags: leverage space in taxonomy layout #530
2023-05-19 09:54:14 +02:00
Sören Weber
b19b9feaa7
variant: avoid leaking shadows in neon print style #524
2023-05-14 23:27:41 +02:00
Sören Weber
06d35bbbdb
openapi: replace implementation with swagger-ui #523
2023-05-14 23:05:07 +02:00
Sören Weber
b11969b3d0
menu: avoid hiding of expander on hover when active item has children #520
2023-05-04 21:19:11 +02:00
Sören Weber
cf589941a0
menu: showVisitedLinks not working for some theme variants #518
2023-05-04 20:57:53 +02:00
Sören Weber
fbec0ece8f
expand: don't handle expand as task list in bullet point list #508
2023-03-28 19:52:56 +02:00
Sören Weber
eaa4580500
menu: fix state for alwaysopen=false + collapsibleMenu=false #498
2023-03-03 20:27:47 +01:00
Sören Weber
2f2231ad8e
variant: make browser theme a css variable #494
...
missing files
2023-02-26 12:52:16 +01:00
Sören Weber
42fcbc3084
variant: make browser theme a css variable #494
2023-02-26 12:47:12 +01:00
Sören Weber
2c14c6106a
generator: fix setting of colors #494
2023-02-26 12:11:57 +01:00
Sören Weber
5129da50a3
variant: add relearn bright theme #493
2023-02-25 22:50:37 +01:00
Sören Weber
77e790885b
menu: fix minor padding of select boxes
2023-02-25 18:58:05 +01:00
Sören Weber
5f19b0f616
i18n: fix tooltip alignment after last change #492
2023-02-25 00:32:30 +01:00
Sören Weber
27bb276909
i18n: write code ltr even for rtl languages #492
2023-02-25 00:05:38 +01:00
Sören Weber
c0a1c9cbcb
menu: rebuild collapsible expander #466
...
because sizing and positioning was a mess;
the follwing things are fixed with this:
- resizes and positions correctly according to html elements font-size
- IE11 compatiblity is now given
- a11y: expander is now correctly given a focus outline
- chevron is now coded into html instead of a css content value, which makes it easier to change (was an issue in the past)
- the visited checkmark now breaks correctly on long lines and hides behind the text if necessary
- some more css classes were introduced to make further extensions (eg. nested shortcut links) easier
2023-02-24 23:29:33 +01:00
Sören Weber
68e89ca171
anchor: fix link in FF when served from filesystem #482
2023-02-20 13:54:45 +01:00
Sören Weber
bbd322bbf8
frontmatter: support VSCode Front Matter extension #481
2023-02-20 00:20:37 +01:00
Sören Weber
0e0b3bb2fb
shortcodes: don't break build and render for invalid parameters #480
2023-02-19 23:09:51 +01:00
Sören Weber
41118f0046
menu: further sizing adjustments #466
2023-02-17 15:07:57 +01:00
Sören Weber
f7d19ae4cc
auto-complete: always use light color for scrollbar #471
...
as long as the colors aren't configurable
2023-02-17 10:21:35 +01:00
Sören Weber
8b2380da2d
theme: fix content max width #466
2023-02-14 21:39:31 +01:00
Sören Weber
959ed155c4
auto-complete: switch to em units #466
2023-02-14 21:16:39 +01:00
Sören Weber
4b7409f31c
theme: switch layout and menu to rem units #466
2023-02-14 20:28:11 +01:00
Sören Weber
09e7aebcd8
nav: fix initial positioning on content pages #476
2023-02-12 14:10:55 +01:00
Sören Weber
a40e3685d4
theme: fix some sizing issues in content on small font sizes #466
2023-02-12 11:31:20 +01:00
Sören Weber
c7a819323a
nav: restore scroll position on browser back #476
2023-02-12 09:35:50 +01:00
Sören Weber
02e81b6e4b
scrollbar: remove debug log #471
2023-02-11 00:05:02 +01:00
Sören Weber
0cc5ff2db6
variant: set color for perfect scrollbar #471
2023-02-10 17:03:18 +01:00
Sören Weber
8e4b7cddc5
scrollbar: update in next frame
...
the high timeout caused glitches so we assume the width has been settled in the next animation frame + plus some surplus #470
2023-02-10 17:02:33 +01:00
Sören Weber
11e7df31a7
variant: set browser scrollbar color to dark for dark variants #471
2023-02-10 00:50:13 +01:00
Sören Weber
d62e2f7e0e
i18n: full support for RTL #470
2023-02-10 00:34:47 +01:00
Sören Weber
890d12ea92
i18n: move sidebar to the right in RTL #470
2023-02-09 08:31:38 +01:00
Sören Weber
09ea211204
expand: simplify RTL support
2023-02-09 01:02:06 +01:00
Sören Weber
381b74f837
i18n: add RTL support for nav bar and child items #470
2023-02-09 00:53:11 +01:00
Sören Weber
5d9e1b6d47
piratify: fix expand and tabs for Pirates RTL #469
2023-02-08 21:59:28 +01:00
Sören Weber
56bc99b79a
tabs: nested tabs content is not displayed #468
2023-02-07 18:06:34 +01:00
Sören Weber
fbdb71e6fa
responsive: switch to rem units for scalable sizing #466
2023-02-07 00:32:28 +01:00
Sören Weber
bc135b4b4c
generator: stop editing of Auto variant early to avoid console errors #445
2023-02-05 11:40:47 +01:00
Sören Weber
a046b9300f
mermaid: make zoom configurable #144
2023-02-05 11:13:03 +01:00
Sören Weber
5babf80537
lightbox: close on ESC #451
2023-02-04 23:12:40 +01:00
Sören Weber
6d90be3015
browser: fix broken inline clipboard buttons after IE11 refactor #452
2023-02-04 22:50:19 +01:00
Sören Weber
7de76ad337
browser: IE11 from hell #452
2023-02-04 16:53:05 +01:00
Sören Weber
9783b8af0f
browser: IE11 - you guess it #452
2023-02-04 16:48:43 +01:00
Sören Weber
bf79988c2c
browser: further IE11 patches #452
2023-02-04 16:29:55 +01:00
Sören Weber
4a1adeb79b
browser: further IE11 fixes #452
2023-02-04 16:17:19 +01:00
Sören Weber
5b9389fde2
browser: remove IE11 errors #452
2023-02-04 16:01:42 +01:00
Sören Weber
7722748432
swagger: avoid errors when using invalid rapi-doc fragment ids #465
2023-02-04 13:39:59 +01:00
Sören Weber
5f7df12b88
mermaid: remove jQuery #452
2023-02-04 01:54:13 +01:00
Sören Weber
03c2bf52a9
nav: fix nav on last project page and horizontal scrolling detection #452
2023-02-04 01:42:21 +01:00