Commit graph

731 commits

Author SHA1 Message Date
Sören Weber
1b6c0e87e0
expander: improve whitespace between label and content #338 2022-10-07 21:04:40 +02:00
Sören Weber
9a6e8edacc
mermaid: remove W3C validator errors #337
remove old-styled alignment
2022-10-07 20:25:44 +02:00
Sören Weber
564efc5e09
a11y: tweaking menu expander click area #307 2022-10-07 12:43:14 +02:00
Sören Weber
e572214372
print: remove menu placeholder in Firefox #335 2022-10-07 12:02:28 +02:00
Sören Weber
f2338e63f1
swagger: improve print version II #333 2022-10-06 22:29:55 +02:00
Sören Weber
74f7ec4571
swagger: improve print version #333 2022-10-06 15:48:10 +02:00
Sören Weber
b9249493c4
a11y: label for submenu expander #307 2022-10-06 01:09:58 +02:00
Sören Weber
47fb99e08d
a11y: label for searbox #307 2022-10-04 21:53:55 +02:00
Sören Weber
c0f1f7fa60
theme: remove HTML validator errors #329 2022-10-02 22:32:51 +02:00
Sören Weber
48525d4a7b
print: chapter pages overwrite font-size #328 2022-09-12 19:51:03 +02:00
Sören Weber
1f7df3e37f
print: switch mermaid and swagger style before print #316 2022-07-29 21:55:06 +02:00
Sören Weber
9765837da0
menu: expand collapsed menus if search term is found in submenus #312 2022-07-27 00:31:08 +02:00
Sören Weber
d4724f50fa theme: fix chapter margins on big screens #315 2022-07-26 20:38:43 +02:00
Sören Weber
9f15ea397d
print: reset mermaid theme to light #313 2022-07-17 20:04:08 +02:00
Sören Weber
8f59c36e10
mermaid: remove console warnings in IE11 #308 2022-07-17 19:52:23 +02:00
Sören Weber
8f6e091a65
mermaid: header is showing up in FF #311 2022-07-17 19:42:07 +02:00
Sören Weber
775e5c0e9e
theme: remove most special cases for PRINT output format #308 2022-07-09 18:42:20 +02:00
Sören Weber
2cd1a27da6
ie11: no styles after rework of archetypes #306 2022-07-08 00:49:53 +02:00
Sören Weber
34f316d59e
theme: optimize loading of js and css #303 2022-07-08 00:10:17 +02:00
Sören Weber
3c53b59e08
chore: update RapiDoc 9.3.3 #301 2022-07-05 00:37:08 +02:00
Sören Weber
897e004e1a
archetypes: rethink rendering #300 2022-07-05 00:19:27 +02:00
Sören Weber
96aa7af4fb
history: don't reload page when history gets cleared #299 2022-07-03 15:40:32 +02:00
Sören Weber
3e83d03bce
code: show copy-to-clipboard marker for blocklevel code #298 2022-07-03 15:10:53 +02:00
Sören Weber
9e50ddd1ed
menu: make active expander visible on hover #297 2022-07-03 14:52:42 +02:00
Sören Weber
5173c02e8b
menu: replace expander by fontawesome chevrons #296 2022-07-03 14:49:29 +02:00
Sören Weber
d12227fbd5
print: disable arrow navigation #294 2022-07-03 13:31:08 +02:00
Sören Weber
7e09a0bf89
chore: update Mermaid 9.1.3 #293 2022-07-03 13:09:33 +02:00
Sören Weber
a995cdc6cd
print: add missing line break after index or section #292 2022-07-03 00:27:59 +02:00
Sören Weber
c0dc87b50b
print: content padding #290 2022-07-03 00:26:55 +02:00
Sören Weber
a4e562c17e
theme: fix size of chapter heading #289 2022-07-03 00:26:02 +02:00
Sören Weber
60e79c413e
theme: use more space on wide screens #291 2022-07-02 21:14:11 +02:00
Sören Weber
8ad4226d51
theme: further adjustment for content padding #290 2022-07-02 20:44:33 +02:00
Sören Weber
03628ec4b1
theme: align content with topbar icon limits #290 2022-07-02 20:29:24 +02:00
Sören Weber
b1547e945f
theme: docs wording 2022-07-02 14:01:24 +02:00
Sören Weber
01e14664ce
math: add mathjax rendering #235 2022-07-02 14:00:23 +02:00
Sören Weber
3b97db45e1
clipboard: move head styles to stylesheet #286
to keep it all in place and maybe later use caching for partials
2022-06-23 21:39:47 +02:00
Sören Weber
34701d6102
tabs: fix wrapping when having many tabs #272 2022-06-23 12:34:38 +02:00
Sören Weber
6e70ae0f93
swagger: avoid builtin syntax-highlightning #280 2022-06-23 00:08:07 +02:00
Sören Weber
5118f1982e
tabs: don't change tab selection if panel does not contain item #279 2022-06-22 22:16:22 +02:00
Sören Weber
b4c37fd525
notice: fix layout when content starts with heading #275 2022-06-18 18:48:57 +02:00
Sören Weber
666d4d3251
i18n: support multilang content #271 2022-06-12 19:24:27 +02:00
Sören Weber
b1444965f4
theme: avoid javascript errors if toc isn't present #268 2022-06-12 14:06:30 +02:00
Sören Weber
c7b2eee5a6
i18n: fix search for cyrillic #269 2022-06-12 14:05:01 +02:00
Sören Weber
1131c68aae
i18n: add lunr language support #269 2022-06-12 14:04:41 +02:00
Sören Weber
35143ca59b
i18n: update lunrjs to 2.3.9 2022-06-12 14:03:59 +02:00
Sören Weber
cc08c9f3df
theme: avoid initial scrolling in print #268 2022-06-07 20:24:53 +02:00
Sören Weber
f1ec2d2417
theme: add keyboard shortcuts for all header navigations #268 2022-06-07 01:35:54 +02:00
Sören Weber
ae3ad846cc
theme: improve keyboard navigation for scrolling #268 2022-06-06 23:58:00 +02:00
Sören Weber
ebe1d59a69
swagger: update rapidoc to 9.3.2 #266 2022-06-06 22:13:19 +02:00
Sören Weber
1214c6517b
mermaid: update to 9.1.1 #265 2022-06-06 22:08:14 +02:00
Sören Weber
bcd4b2694b
toc: add scrollbar #262 2022-06-06 00:44:04 +02:00
Sören Weber
c8cde4f9f0
theme: remove console warnings #242 2022-06-06 00:00:28 +02:00
Sören Weber
1e93e9b717
theme: make topbar sticky again #242 2022-06-05 13:51:20 +02:00
Sören Weber
4dbe1bfb1d
theme: let browser scroll page on CTRL+f #242 2022-05-30 15:10:35 +02:00
Sören Weber
0efceeb8c6
print: adjust button and tab size #259 2022-05-29 23:27:43 +02:00
Sören Weber
e3b5dfd0c0
tabs: remove side effects caused by button style #240 2022-05-29 23:22:15 +02:00
Sören Weber
74e908ecfa
button: IE color fallback #240 2022-05-29 22:48:51 +02:00
Sören Weber
b55d2f9c3c
button: add color option #240 2022-05-29 21:35:12 +02:00
Sören Weber
4da5114388
theme: remove nav hover underscore #256 2022-05-29 10:04:06 +02:00
Sören Weber
68b0ccfcf6
boxes: use introduces --VARIABLE-BOX-* variables 2022-05-29 09:38:16 +02:00
Sören Weber
141ec1578c
theme: fix link hover color #256 2022-05-29 00:46:13 +02:00
Sören Weber
2ecf39ba30
theme: fix link underline color in IE #256 2022-05-29 00:36:36 +02:00
Sören Weber
ea919b4045
theme: fix link underlines #256 2022-05-29 00:26:52 +02:00
Sören Weber
6bddf821db
theme: remove --MAIN-ANCHOR-color from stylesheet #256 2022-05-29 00:15:51 +02:00
Sören Weber
af3bd11bcd
theme: move default colors to own stylesheet
and only apply it to IE
This will help to simplify further develpment by relying only to variant.css for evergreen browsers
2022-05-28 22:58:55 +02:00
Sören Weber
513dccf564
variant: adjust neon primary color #239 2022-05-24 00:37:56 +02:00
Sören Weber
d7bc40253e
notice: support for brand colors #251 2022-05-24 00:37:03 +02:00
Sören Weber
d23058e369
theme: fix display of tooltip for heading anchor #241
broken in #224
2022-05-23 14:24:41 +02:00
Sören Weber
a9e665bf30
variant: DRY Relearn variants #239 2022-05-22 23:55:26 +02:00
Sören Weber
1900ddb589
variant: fix primary color and avoid sorting of stylesheet #239 2022-05-22 23:14:13 +02:00
Sören Weber
74c47913af
variant: add primary and secondary color variables #239 2022-05-22 23:11:10 +02:00
Sören Weber
e8226f4d0e
variant: tweaking some colors 2022-04-11 22:28:35 +02:00
Sören Weber
6fcb287e3b
theme: remove some unused styles
as proclaimed by Edge
2022-04-03 18:34:25 +02:00
Sören Weber
e6a0414c10
theme: even more JS IE11 fixing 2022-04-03 18:03:28 +02:00
Sören Weber
301f8812db
scrollbar: remove now unnecessary IE11 workaround 2022-04-03 15:59:00 +02:00
Sören Weber
ccb0cc1e5d
variant: fix false default swagger theme 2022-04-03 15:21:43 +02:00
Sören Weber
72739507c6
theme: fix breakage after IE11 compat 2022-04-03 15:20:46 +02:00
Sören Weber
1a7a1538df
theme: asure JS IE11 compatiblity 2022-04-03 14:36:19 +02:00
Sören Weber
48c7d6bc73
menu : expand/collapse menu items without navigation #231 2022-04-03 12:12:12 +02:00
Sören Weber
cadc808932
theme: scroll to heading on initial load #232 2022-04-02 15:30:43 +02:00
Sören Weber
0dd92e332b
print: add option to print whole chapter #230 2022-04-02 15:29:34 +02:00
Sören Weber
70b4143327
theme: apply user supplied content footer below content #229 2022-03-30 20:27:04 +02:00
Sören Weber
1b1d036534
variant: make variant switch work on slow networks #228 2022-03-28 11:56:51 +02:00
Sören Weber
ff8f9582a0
swagger: polishing #226
- print support
- use thems styles for swagger
- docs
2022-03-27 22:24:06 +02:00
Sören Weber
1823823321
theme: add CSS font variables #227 2022-03-27 22:20:30 +02:00
Sören Weber
f910477160
swagger: add support for oas/swagger documentation #226
basic swagger integration
2022-03-27 18:42:11 +02:00
Sören Weber
5376404039
print: show more than just the title page in IE #224 2022-03-25 15:56:35 +01:00
Sören Weber
8c7896af4c
clipboard: removed jquery #224
this was an unsuccessful attempt to fix #224 but as we want to get rid
of jQuery in the long run anyways, we keep this change
2022-03-25 15:35:19 +01:00
Sören Weber
e4e6e2d187
print: avoid empty pages in FF #224 2022-03-25 15:33:54 +01:00
Sören Weber
d81270564b
print: adjust chapter style #225 2022-03-25 14:21:45 +01:00
Sören Weber
198c25f451
print: fix minor inconsistencies #225 2022-03-25 14:09:30 +01:00
Sören Weber
23c858c99e
print: show more than just the title page #224 2022-03-25 14:06:30 +01:00
Sören Weber
ee80b251ef
theme: nuke unused nucleus styles 2022-03-25 14:01:58 +01:00
Sören Weber
45f0585f23
theme: align content scrollbar to the right on big screens #223 2022-03-25 13:19:25 +01:00
Sören Weber
938debb1d9
mermaid: support differing themes for color variant switch #219 2022-03-19 20:18:21 +01:00
Sören Weber
270027ab0c
mermaid: update to 8.14.0 #220 2022-03-19 20:16:48 +01:00
Sören Weber
5b216ebf82
mobile: better work with percentage #210
as it is unclear yet if vh is what we really need here
2022-03-15 20:15:44 +01:00
Sören Weber
bc018cbb0d
mobile: hide initial menu animation in landscape #210 2022-03-13 12:36:48 +01:00
Sören Weber
17964b9b8d
toc: animation improvements #209 2022-03-13 11:49:26 +01:00
Sören Weber
4e2a7f1248
theme: wildspace 2022-03-13 11:45:00 +01:00
Sören Weber
710713da25
theme: make storage of multiple Hugo sites on same server distinct #214 2022-03-07 18:26:20 +01:00
Sören Weber
05fa313e59
notice: allow for optional icon setting #212 2022-03-07 17:24:22 +01:00
Sören Weber
a847d8f7bc
variant: switch color in breadcrumb in Chrome #213 2022-03-07 17:24:22 +01:00
Sören Weber
44d56fa7ff
theme: remove Modernizr 2022-03-06 19:09:12 +01:00
Sören Weber
6ad4f1c4fd
search: don't let scrollbar hijack input event of search term#210 2022-03-06 11:45:33 +01:00
Sören Weber
5f76f6ce27
theme: don't use jquery in new code 2022-03-06 10:23:34 +01:00
Sören Weber
9732cc9aa9
theme: fix topbar radius and overlay color #210 2022-03-04 00:12:31 +01:00
Sören Weber
85090aa221
mobile: fix id-rename #210 2022-02-28 20:41:00 +01:00
Sören Weber
ea8b527f25
mobile: fix navigation UX #209 #210 2022-02-28 01:19:32 +01:00
Sören Weber
d2b1a6fdf7
theme: remove artifact #210 2022-02-27 10:39:24 +01:00
Sören Weber
9bc7fe86c2
theme: rename topbar div for consistency #210 2022-02-27 10:31:11 +01:00
Sören Weber
bf44b52dd1
theme: simplify DOM to introduce flex later #210 2022-02-27 10:27:12 +01:00
Sören Weber
a980b77491
theme: rename sidebar overlay #210
because we will introduce a second toc overlay soon
2022-02-27 09:59:38 +01:00
Sören Weber
7eee4a86d8
theme: make chapter a marker instead of a nested div #210
this makes styling easier as document has the same DOM for chapter and default
2022-02-27 09:53:33 +01:00
Sören Weber
fe67f0c630
theme: no need to resize flex sidebar #210 2022-02-26 13:08:19 +01:00
Sören Weber
1bca218955
theme: move code arround #210 2022-02-26 00:24:07 +01:00
Sören Weber
103f750670
theme: remove unused collapsable menu styles #210 2022-02-26 00:23:47 +01:00
Sören Weber
fb30e269e6
theme: code restructuring #210 2022-02-25 23:24:25 +01:00
Sören Weber
ac7a968be1
theme: remove search artifacts #210 2022-02-25 22:40:55 +01:00
Sören Weber
b0ded62b1f
chore: update perfect-scrollbar #210 2022-02-25 21:44:18 +01:00
Sören Weber
cc64579117
chore: upgrade perfect-scrollbar #210 2022-02-25 21:41:50 +01:00
Sören Weber
cd31de704d
mobile: remove breadcrumb ellipsis #211 2022-02-25 16:13:28 +01:00
Sören Weber
1abf01fe4e
variant: more glow to neon page title 2022-02-24 23:29:17 +01:00
Sören Weber
eab101eace
variant: fix occasional fail when resetting generator #208 2022-02-24 22:14:55 +01:00
Sören Weber
b895d0386b
variant: write stylesheet to console on download
...just to be save
2022-02-24 21:57:56 +01:00
Sören Weber
245923a91c
variant: more IE11 compliance 2022-02-24 21:54:05 +01:00
Sören Weber
577e298316
variant: avoid flash of menu header with neon variant #206 2022-02-24 19:42:25 +01:00
Sören Weber
c6f2572a1c
variant: avoid flash of menu header when non default variant is active #206 2022-02-24 19:38:49 +01:00
Sören Weber
4c50e5fe6b
variant: fix inconsistent color variable naming #200 2022-02-24 12:30:20 +01:00
Nuc1eoN
9ae86e576b theme: improve font loading 2022-02-24 00:27:38 +01:00
Sören Weber
71b32d13f6
variant: hide selector and footer in IE11 if it is the only footer item 2022-02-23 15:42:36 +01:00
Sören Weber
e42f711c23
variant: remove glow from children lists 2022-02-23 15:04:33 +01:00
Sören Weber
138e88205c
theme: revert fontawsome to version 5 for IE11 compat #191 2022-02-23 12:40:16 +01:00
Sören Weber
06d922574d
variant: no glow in neon print 2022-02-23 11:06:26 +01:00
Sören Weber
d5e2798fa2
variant: neon with glowing color boxes 2022-02-23 10:56:17 +01:00
Sören Weber
c48d564776
theme: add missing style for select box 2022-02-23 09:00:59 +01:00
Sören Weber
5683dd330e
menu: make neon select boxes glowing 2022-02-23 07:58:32 +01:00
Sören Weber
8ea21e44e5
theme: fix serach box color in IE11 #175 2022-02-23 00:10:25 +01:00
Sören Weber
318a09f75b
variant: more lights in neon 2022-02-22 23:10:04 +01:00
Sören Weber
8040adf8f2
variant: turn lights on in neon 2022-02-22 21:37:49 +01:00
Sören Weber
a58e331e9c
theme: adjust image shadows #175 2022-02-22 20:54:43 +01:00
Sören Weber
fc86c1e637
theme: wrong default color for IE11 #181 2022-02-22 20:51:04 +01:00
Sören Weber
81c1396f66
nav: remove sticky header print style #151 2022-02-22 20:41:48 +01:00
Sören Weber
48a56ddefd
theme: fix bottom margin for block code in FF #175 2022-02-22 20:38:09 +01:00
Sören Weber
d850ea528d
clipboard: remove trailing line break from copied text #175 2022-02-22 20:36:59 +01:00
Sören Weber
e4f0ed138c
variant: normalize whole color value #188 2022-02-22 20:34:15 +01:00
Sören Weber
bd7c307bce
variant: fix some fallbacks #188 2022-02-22 17:24:07 +01:00
Sören Weber
a845d40071
menu: fix footer in IE11 #177 2022-02-22 10:32:52 +01:00
Sören Weber
c2bed887db
search: remove additional X in filled out search box in IE11 #190 2022-02-22 09:01:31 +01:00
Sören Weber
c2f2c991e3
variant: don't switch theme if custom gets reset #188 2022-02-22 08:48:21 +01:00
Sören Weber
5f0168bc67
variant: reset custom generator styles correctly #188 2022-02-21 23:20:00 +01:00
Sören Weber
78abe914e0
variant: allow page browsing with custom theme #188 2022-02-21 23:11:04 +01:00
Sören Weber
f2b09e0980
variant: add reset functionality #188 2022-02-21 01:00:23 +01:00
Sören Weber
9f7a4b035d
variant: draw base color in correct group #188 2022-02-21 00:46:11 +01:00
Sören Weber
3b0e21949a
variant: show generator even if no themeVariant is configured #188 2022-02-21 00:35:50 +01:00
Sören Weber
442a4f4832
variant: move scripts to own file #188 2022-02-20 23:58:16 +01:00
Sören Weber
56c680d7a7
theme: make relearn color neutral 2022-02-20 17:32:37 +01:00
Sören Weber
3ff5aa9c82
theme: fix relearn-dark colored box style #188 2022-02-19 17:02:15 +01:00
Sören Weber
e9fa08dcf7
variant: build a color variant generator #188 2022-02-19 00:46:34 +01:00
Sören Weber
f81800ceaf
tags: fix hover #151 2022-02-18 07:55:16 +01:00
Sören Weber
9f174a71bb
tags: fix styling #175 2022-02-18 02:59:25 +01:00
Sören Weber
81d0b97965
#theme: neon adjustments #175 2022-02-18 02:25:02 +01:00
Sören Weber
1606a92689
theme: fixing tags for dark mode and revamped header #151 #175 2022-02-18 00:38:32 +01:00
Sören Weber
0e3553c3a8
theme: further neon color refinement #175
make it more distinct from the GoboLinux style
2022-02-18 00:19:12 +01:00
Sören Weber
6f35177349
theme: rework header UX #151 2022-02-18 00:09:06 +01:00
Sören Weber
d1cd818357
clipboard: i18n #186 2022-02-17 20:09:50 +01:00
Sören Weber
fb9f06d98e
clipboard: fix tooltip position for block code #175 2022-02-17 19:23:50 +01:00
Sören Weber
9f7308ca4c
clipboard: adjust line-breaking for inline code between code and button #175 2022-02-17 19:21:20 +01:00
Sören Weber
3ea718add5
theme: more search box contrast for relearn-light #175 2022-02-17 10:14:42 +01:00
Sören Weber
4294453e6b
print: dark mode adjustments #175 2022-02-17 08:47:04 +01:00
Sören Weber
7825d11d0e
theme: chroma docs #175 2022-02-17 08:17:54 +01:00
Sören Weber
9e019047e9
theme: neon color refinements #175
due to copyright constraints of the GoboLinux project
2022-02-17 01:32:05 +01:00
Sören Weber
0c3bb87aac
theme: even more neon refinements #175 2022-02-17 01:06:45 +01:00
Sören Weber
8f1f3c25d8
theme: neon refinement #175 2022-02-17 01:03:48 +01:00
Sören Weber
09edf834e7
theme: reverting #header-wrapper #175 2022-02-17 00:56:55 +01:00
Sören Weber
cbce5ecbba
theme: add neon style #175
shameless inspiration of the GoboLinux wiki style
2022-02-17 00:53:31 +01:00
Sören Weber
abfc79fa0f
docs: fix pirrrates notice box #175 2022-02-16 23:32:40 +01:00
Sören Weber
2f5ea664dd
fontawesome: only use version 6 references #151 2022-02-16 18:55:02 +01:00
Sören Weber
efc6c1cd52
theme: fix copy-to-clipboard hover and colors #175 2022-02-16 17:30:10 +01:00
Sören Weber
7c04fdc473
theme: fix copy-to-clipboard hove #175 2022-02-16 14:37:54 +01:00
Sören Weber
f053f5a4bf
print: hide sidebar on Mac #183 2022-02-16 13:53:24 +01:00
Sören Weber
269fd5ed95
theme: rework color boxes for dark mode #175 2022-02-16 01:38:44 +01:00
Sören Weber
46328c3bc0
theme: remove CSS vendor prefixes #175
according to latest caniuse data
2022-02-15 20:15:51 +01:00
Sören Weber
5e06e2e21a
theme: corner cases for dark mode #175 2022-02-15 20:00:00 +01:00
Sören Weber
9ce12d08a3
nav: avoid underlines for icon links in header #151 2022-02-15 09:13:18 +01:00
Sören Weber
b4582aed91
theme: fix underline color for links #175 2022-02-15 09:11:10 +01:00
Sören Weber
c16680cb5c
theme: provide syntax highlightning theme for old Learn variants #175
so theme switching also will switch the sh-theme
2022-02-15 08:38:12 +01:00
Sören Weber
4f28e6af83
menu: avoid menu animation on page load in IE #180 2022-02-15 01:25:08 +01:00
Sören Weber
797042dee9
theme: change default color for tags #181 2022-02-15 00:42:53 +01:00
Sören Weber
4d0240d3d7
chore: update fontawesome to 6.0.0 #151
to use the fa-edit icon style
2022-02-15 00:23:37 +01:00
Sören Weber
6f8239ca64
nav: some love for header buttons #151 2022-02-14 23:59:06 +01:00
Sören Weber
9eb44953d9
theme: change default colors to Relearn defaults #181 2022-02-14 22:19:38 +01:00
Sören Weber
a48a7f540b
menu: fix scrollbar height #180 2022-02-14 20:34:18 +01:00
Sören Weber
d0d359bc3d
theme: float clearing for select boxes #178 2022-02-14 19:46:10 +01:00
Sören Weber
ff72c495de
theme: remove superflous stuff from stylesheets 2022-02-13 17:01:53 +01:00
Sören Weber
fe78574f3b
theme: fix select box left margin in Chrome #178
FF shows additional space and it's unclear where this comes from
2022-02-13 12:56:30 +01:00
Sören Weber
5ff752e441
theme: IE11 compat for theme switch #178 2022-02-13 12:49:45 +01:00
Sören Weber
0c261fb314
theme: fix alignment of menu select boxes #178 2022-02-13 10:58:00 +01:00
Sören Weber
b1bb8e2290
theme: capitalize theme name in option for FF #178 2022-02-13 10:06:16 +01:00
Sören Weber
874e542222
theme: avoid flickering on page load #178 2022-02-13 02:11:27 +01:00
Sören Weber
8c1a7304f9
theme: add a theme selector #178 2022-02-13 01:53:23 +01:00
Sören Weber
a32646b5cb
menu: rework select box UX #177 2022-02-12 23:49:33 +01:00
Sören Weber
4fda7916ff
menu: set footer position at bottom of screen #177 2022-02-12 23:14:33 +01:00
Sören Weber
8be8992771
#theme: more fallbacks for lately changed CSS vars 2022-02-11 09:07:58 +01:00
Sören Weber
9ea06563be
theme: support for dark mode #175 2022-02-11 00:59:40 +01:00
Sören Weber
f32eb1af93
docs: mention chroma themes CSS --MAIN-CODE colors #174 2022-02-08 21:34:35 +01:00
Sören Weber
198c2d1a00
attachments: use title text color for default styling #173 2022-02-08 20:19:24 +01:00
Sören Weber
00025afdee
docs: use light syntax highlightning theme #174 2022-02-08 19:55:09 +01:00
Sören Weber
0b67c7fb0d
notice: tweak dull colors #173 2022-02-08 19:51:48 +01:00
Sören Weber
f16fcdd7fd
syntax highlight: fix comments for CSS colors 2022-02-08 08:38:09 +01:00
Sören Weber
e590a44cf0
auto-complete: document change #155 2021-11-19 22:18:36 +01:00
Sören Weber
c4acec0880
auto-complete: even stick box if site was already scrolled before open #155 2021-11-18 21:17:20 +01:00
Sören Weber
59412de591
menu: align long text properly #154
why having indention if we have padding?
if line breaks into multiple lines, two adjacent items are still distinguishable
because of slightly more spacing
2021-11-17 08:44:42 +01:00
Sören Weber
cba76c3f41
search: make dropdown stick to search field when scrolling #155 2021-11-16 01:16:31 +01:00
Sören Weber
26a697ffe5
auto-complete: patch library with PR46/75 #155
to allow for non body parent
2021-11-16 01:15:46 +01:00
Sören Weber
43c72b7b64
maximize auto-complete lib #155 2021-11-16 00:51:54 +01:00
Sören Weber
4ca21ef1bb
menu: bring active item in sight for large menus #149 2021-11-13 14:11:46 +01:00
Sören Weber
1d739a62c9
mermaid: remove visual hints for print #143 2021-11-09 21:36:14 +01:00
Sören Weber
ec7dc9d042
mermaid: let zoom reset to initial size #145 2021-11-09 21:14:34 +01:00
Sören Weber
de1cfc1a2d
mermaid: apply PR18 #145 2021-11-09 21:13:01 +01:00
Sören Weber
d673f413be
mermaid: add visual hints for pan/zoom #143 2021-11-09 21:07:22 +01:00
Sören Weber
abfe838db2
mermaid: style #143 2021-11-09 21:05:54 +01:00
Sören Weber
d0b8b60463
mermaid: remove whitespace from big graphs #143 2021-11-09 19:51:52 +01:00
Sören Weber
f3c067bf9b
mermaid: assert that window.mermaid is actually mermaid #136 2021-11-03 21:42:38 +01:00
Sören Weber
870d59a700
theme: remove font Novacento #83
as it wasn't fully latin compatible
2021-11-03 19:52:55 +01:00
Sören Weber
d3b0b9a6fe
theme: 0 has no unit #130 2021-10-31 10:34:32 +01:00
Sören Weber
3f18e50626
theme: reduce margin for children shortcode #130 2021-10-31 10:31:22 +01:00
Sören Weber
9e5f38f5ae
theme: make chapter heading smaller #129 2021-10-31 10:01:29 +01:00
Sören Weber
53c73c8f3d
chore: adjust font-size after font upgrade #83 2021-10-31 09:49:53 +01:00
Sören Weber
c13e9e49f1
chore: update WorkSans font to 2.010
improved support for viatnamese
2021-10-30 23:58:35 +02:00
Sören Weber
4c256e996c
theme: left-align h3 in chapters #129 2021-10-30 23:36:29 +02:00
Sören Weber
8f7c0da9e7
theme: remove unused fonts #83
because we only support IE11 and evergreen browsers, having woff and woff2 is enough
2021-10-30 23:10:57 +02:00
Sören Weber
4ab28261ae
theme: align copy link to clipboard #128
last change did not display notification on click correctly
2021-10-30 21:04:31 +02:00
Sören Weber
b26b1ce90e
theme: align copy link to clipboard #128 2021-10-30 20:54:45 +02:00
Sören Weber
227e9ccbf2
wildspace 2021-10-12 17:20:45 +02:00
Sören Weber
ce0b07cf65
theme: default color for code block fallback - fix 2021-10-12 17:15:56 +02:00
Sören Weber
e9cf2a8580
security: fix XSS for malicioius image URLs #117 2021-10-12 16:32:45 +02:00
Sören Weber
2117fefe62
security: fix XSS for malicioius URLs #114 2021-10-08 19:30:27 +02:00
Sören Weber
788823920c
syntax highlight: provide default colors for unknown languages #113 2021-10-08 19:18:05 +02:00
Sören Weber
e6e946bbdb
theme: remove runtime styles from print #111 2021-10-07 21:28:07 +02:00
Sören Weber
f04e13942e
theme: remove page padding from print #93 2021-10-06 20:36:23 +02:00
Sören Weber
02d463f43a
theme: better contrast for colored elements in print #93 2021-10-06 20:35:57 +02:00
Sören Weber
6f56470f35
theme: grid lines for table headings #92 2021-10-06 20:35:08 +02:00
Sören Weber
7e445ee200
theme: fix margins for images #92 2021-10-06 19:55:06 +02:00
Sören Weber
5ad6824912
theme: hide sticky breadcrumbs for printing #93 2021-10-06 19:53:33 +02:00
Sören Weber
dffc0cb230
theme: simplify stylesheet for color variants #107 2021-09-30 00:17:16 +02:00
Sören Weber
c879bc9db1
theme: adjust code font-size for printing #93 2021-09-29 23:24:16 +02:00
Sören Weber
3471aefa88
theme: adjust print style for horizontal rulers #93 2021-09-29 23:04:20 +02:00
Sören Weber
1a956aa5cf
theme: hide tags for printing #93 2021-09-29 22:49:24 +02:00
Sören Weber
85501d1ee7
theme: fix spacing for tag flyout in Firefox #92 2021-09-29 22:46:16 +02:00
Sören Weber
cbc75a99fa
theme: reorganize stylesheets #93
move print styles in own stylesheet to make it testable
remove hugo-themes.css and put it into theme.css to avoid confusion
2021-09-29 21:34:42 +02:00
Sören Weber
a632d4b505
theme: some love for headings #92 2021-09-29 01:12:29 +02:00
Sören Weber
80a3cb9756
theme: equal rights for h6 #92 2021-09-29 00:24:54 +02:00
Sören Weber
3e3a3d164f
theme: avoid scrollbar for long headings #92 2021-09-29 00:20:44 +02:00
Sören Weber
6ddb79481e
theme: box shadow for toc #92 2021-09-29 00:14:48 +02:00
Sören Weber
89dab09410
theme: streamline block margins #92 2021-09-29 00:08:26 +02:00
Sören Weber
fcf9b1586c
theme: remove unused styles #92 2021-09-29 00:00:44 +02:00
Sören Weber
a70697453a
children: remove indention for ul if headings are used #92 2021-09-28 22:35:38 +02:00
Sören Weber
6cedf2155c
theme: add more space between content and footer #92 2021-09-28 22:24:07 +02:00
Sören Weber
d443816df7
theme: limit width for wide screens #92 2021-09-28 22:17:24 +02:00
Sören Weber
9f2a97f358
chore: upgrade fontawesome to 5.15.4 #94 2021-09-28 22:02:06 +02:00
Sören Weber
3224bfb1a3
theme: fix sticky header to remove horizontal scrollbar #82
HTML5 solution; sorry IE11
2021-09-23 21:25:45 +02:00
Sören Weber
b5e90f03dd
theme: ensure IE11 compatiblity #89 2021-09-13 21:09:44 +02:00
Sören Weber
94fceae42d
theme: fix usage of <h3> in menu #88 2021-09-13 19:28:17 +02:00
Sören Weber
65cb38aec3
theme: use <main> #88 2021-09-13 19:28:16 +02:00
Sören Weber
2fcaac5d0b
theme: fix usage of <section> #88 2021-09-13 19:28:16 +02:00
Sören Weber
6d96713902
theme: fix usage of <section> in attachments #88 2021-09-13 19:28:15 +02:00
Sören Weber
a62c1ee500
theme: remove obvious HTML validator warnings 2021-09-12 01:32:19 +02:00
Sören Weber
87a86876e9
theme: use disabled anchor for last bread crumb #84
because otherwise Hugo will not generate a relative URL for the itemprop value
2021-09-10 01:08:39 +02:00
Sören Weber
f65bacd4cd
theme: switch from data-vocabulary to schema #84 2021-09-10 00:18:57 +02:00
Sören Weber
c5382e0bcc
theme: fix showVisitedLinks in case Hugo is configured to modify relative URLs #86 2021-09-09 21:03:37 +02:00
Sören Weber
b75b8572c5
menu: avoid console log on landing page #79 2021-09-05 23:40:20 +02:00
Sören Weber
d53fc18c2b
search: open expand if it contains search term #80 2021-09-04 12:05:15 +02:00
Sören Weber
1c6d9538a3
menu: scroll active item into view #79 2021-09-04 11:09:38 +02:00
Sören Weber
c969f3b13f
menu: always hide hidden sub pages #77 2021-09-04 00:17:47 +02:00
Helder Pereira
a8cb285899 Improve search logic 2021-08-29 16:13:07 +01:00
Helder Pereira
98ccdc2bd6 Improve search context preview 2021-08-29 16:12:02 +01:00
Helder Pereira
4e08a7b5a4 Make search pages lookup constant time 2021-08-29 16:11:11 +01:00
Helder Pereira
00e6ca63bc Format search.js 2021-08-29 16:03:04 +01:00
Sören Weber
3931faa1d5
include: add paramter to hide first heading #43 2021-08-28 10:08:10 +02:00
Sören Weber
a7a7d624e1
print: overall font-size reduced #35
acording to DIN the font-size should between 11pt and 12pt
2021-08-27 22:43:32 +02:00
Sören Weber
7da2073845
tabs: enhance styling #65 #64 #35 2021-08-27 22:23:58 +02:00
Sören Weber
2f0c8e091d
theme: give tables more contrast #64 2021-08-27 22:20:05 +02:00
Sören Weber
4874c19bcc
theme: remove unused CSS stuff #35 2021-08-27 22:17:19 +02:00
Sören Weber
0c6576bc24
theme: print table and notice box colors and leave code colors plain #35 2021-08-27 19:39:13 +02:00
Sören Weber
40a243deff
theme: adjust code print styles #35 2021-08-27 18:22:19 +02:00
Sören Weber
7059329c01
theme: adjust block margins #64 2021-08-27 18:21:12 +02:00
Sören Weber
de7f9ae0d6
theme: only style what's needed #64 2021-08-27 15:42:41 +02:00
Sören Weber
70fa937316
theme: more space between adjacent tables #64 2021-08-27 15:25:29 +02:00
Sören Weber
2e364fdb2b
arrow-nav: fix broken links on (and below) hidden pages #61
complete rewrite of logic
2021-08-27 14:11:29 +02:00
Sören Weber
d3f70bd846
menu: show hidden pages if accessed directly #60 2021-08-26 23:26:05 +02:00
Sören Weber
c81bf82ced
menu: allow empty ul
This simplyfies code, as of now it is only necessary to tag the ul with
classes and let the CSS do all the heavy lifting.

Care was taken, to not mess up layout when a ul ends up with all
its li hidden.
2021-08-26 22:19:52 +02:00
Helder Pereira
fa84d305f4 Register focus event in the search text input 2021-08-25 20:48:01 +01:00
Sören Weber
c575f9e95b
theme: increse readability of chapter archetypes #54
in case text is long
2021-08-25 14:49:15 +02:00
Sören Weber
223aa26ddd
Merge branch 'fix-relative-search' of git://github.com/helfper/hugo-theme-relearn into helfper-fix-relative-search 2021-08-25 09:55:43 +02:00
Helder Pereira
2edbf2645c Fix search with relativeURLs 2021-08-24 23:36:26 +01:00
Sören Weber
a69236d160
menu: control sub-menu expansion #49 2021-08-25 00:10:09 +02:00
Helder Pereira
37d314b676 Fix typos in exampleSite 2021-08-24 00:47:18 +01:00
Helder Pereira
c52ef52f2b Fix custom theme's variable typo in --MENU-HOME-LINK-HOVERED-color 2021-08-23 23:51:54 +01:00
Helder Pereira
52932bee67 Unstretch copy-to-clipboard icon, make code font size relative 2021-08-23 23:48:41 +01:00
Sören Weber
b29f1ce055
theme: adjust leading whitespace and superflous lines 2021-08-24 00:23:52 +02:00
Sören Weber
de7b3d8056
theme: remove typos and superflous whitespace 2021-08-23 23:51:52 +02:00
Sören Weber
8142c82cf0
Merge branch 'McShelby/issue413' into 2.0.0
# Conflicts:
#	static/css/theme.css
2021-07-26 12:05:42 +02:00
Sören Weber
5c667b3d07
code highligher: switch to standard hugo highlighter #32
Since a while, Hugo has its own mechanism for code highlightning.

We remove the old highlightning code provided by the client-side javascript library highlight.js and all its related files.

This also solves issues introduced by Hugos own highlightning because in our theme we are currently highlighting the code twice leading to unpredictiable results.

This will also fix an issue were light code highlightning themes weren't displayed correctly because our styles are overwriting color information.

Another advantage is the huge list of supported languages which by far exceeds our current list.

On the downside, this is a breaking change because our current color theme isn't supported by Hugo.
2021-07-26 11:50:34 +02:00
Sören Weber
6fb5852643
maintenance: upgrade jquery to 3.6.0 #30
Because of a jquery security vulnerability, we are upgrading to the latest version 3.6.0

https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/

Depending on the site content, there may be issues with self-closing tags that are allowed to have content like `div` or `span`. See https://jquery.com/upgrade-guide/3.5/
2021-07-25 22:33:18 +02:00
Sören Weber
541a634f6e
theme: adjust copy-to-clipboard #29
Copy to clipboard has a lot of smaller issues:

- contrast for inline code is bad in notice boxes
- bordering the icon does not work well with bordering of inline code
- hover color on inline code icon is blurred
- hover color on block code is statically set to link color of standard theme

And related to that:

- tooltip misses outline border, especially when displayed over dark background (like block code)
- inline code font size is sized by factor of parent font size, which is a hassle if you want to replicate the size for other elements
2021-07-25 22:09:45 +02:00
Sören Weber
798ae66da8
theme: adjust blockquote contrast #27
Make blockquote bar background transparent for nicer visual in notice box
2021-07-25 13:27:06 +02:00
Sören Weber
919c826f8c
attachments: align style with notice #28 2021-07-17 11:59:27 +02:00
Sören Weber
565cfbe03d
notice: align styles with attachments #28 2021-07-17 11:59:26 +02:00
Sören Weber
a9a081903a
expand: make expander more visible #24 2021-07-16 23:07:15 +02:00
Sören Weber
f66e1bf576
notice: increased contrast for box labels #19 2021-07-16 21:19:23 +02:00
Sören Weber
90c4fffe02
notice: fix contrast issues #19 2021-07-16 20:40:30 +02:00
Sören Weber
7564c6a5d6
notice: support i18n for box labels #16 2021-07-16 20:16:10 +02:00
Sören Weber
c718115da0
notice: make restyling of notice boxes more robust #20 2021-07-16 20:00:21 +02:00
Sören Weber
edbebe2ff3
notice: use distinct icons for notice box type #17 2021-07-16 19:55:23 +02:00
Sören Weber
510cd0b99c
notice: align box colors to common standards #18 2021-07-16 19:50:47 +02:00
Sören Weber
a0084ecf96
notice: support multiple blocks in one box #15 2021-07-16 19:48:48 +02:00
Sören Weber
1b06d27608
pan and zoom for mermaid graphs #9 2021-07-02 23:01:38 +02:00
Sören Weber
8a53387a81
upgrade mermaid to 8.10.2 and relocate #7 2021-07-02 22:24:44 +02:00
Sören Weber
6b7779dac5
merge theme js scripts into one file and fix mermaid init #5 2021-07-02 21:58:16 +02:00
Sören Weber
b52a263979
Only highlight text in HTML elements #10 2021-07-02 17:53:07 +02:00
Sören Weber
aad4bf26e1
Change mermaid initialization to support code fences #6 2021-07-02 17:38:58 +02:00
Sören Weber
146965c497
Reworking screenshots after rebranding 2021-07-01 16:25:08 +02:00
Sören Weber
e8340249df
Docs adjustments #1 2021-07-01 14:35:27 +02:00
Sören Weber
82bdb24f72
New logo #1 2021-07-01 13:35:12 +02:00
Sören Weber
4137b5d2c5 Iconic relearn color theme 2021-06-30 23:15:51 +02:00
Sören Weber
c108d677b4 Rebranding to new theme name
- Rename theme from "Learn" to "Relearn"
- also change URLs
- remove old references
- more removal of french and chinese
2021-06-30 14:56:06 +02:00
Sandro Gauci
d198cbe65f
fix potential XSS in search (#492)
mostly it looks like a self-XSS but still good to fix
2021-04-01 00:48:33 +01:00
Helder Pereira
f5f91e39fa
Fix TOC indentation (#479) 2021-03-16 17:28:19 +00:00
Swen Wenzel
0b5bb6e7b3
Implement tab views (#386)
Tab views from @swenzel
2021-03-16 17:21:57 +00:00
mirisbowring
6cfd61e0f6
Navigation home option (#381)
* enabled mermaid by default

* implemented logic to use internal oder cdn mermaid

* added english documentation

* added french translation for the mermaid options

* Removed useless test print

* Hugo does not use upper case letters in params

* fixed false sample link

* improved mermaid pages

* fixed always load mermaid if no frontmatter specified

* applied 3 new params to default config

* Implemented Home Button logic

* Applied default style

* applied same landingpage ref to logo partials

* added sample image, how the button will looks like

* added en documentation on how to configure the button

* translated home button configuration to french via deepl

* applied home button style to theme variants

* set button disabled by default

* fixed mermaid samples

* removed obsolete css files

* changed default version of mermaid cdn

* renamed mermaidURL to customMermaidURL and removed css link

* improved mermaid configuration description

Co-authored-by: Arthur Ferdinand Lindner <Arthur-Ferdinand.Lindner@Telekom.de>
Co-authored-by: Arthur Ferdinand Lindner <arthur.lindner@outlook.de>
2020-10-21 17:53:27 +01:00
Sören Weber
87ada591c5 Distinguish links from content on printout 2020-10-05 16:14:49 +02:00
Sören Weber
388439c321 Rework header and footer for printing
All changes only apply to printing:
- Remove stickiness from header to avoid it been printed on every page
- Print breadcrumbs to header regardless of width
- Header and footer are now divided by a horizontal line from content
- Hamburger menu, toc button and github button/text are now hidden from header
- if toc is displayed on hover in screen mode, hide it if switched to printing
2020-10-05 15:10:14 +02:00
Sören Weber
b713e50140 Remove margin between content and arrows
in print this will add additional ending space and may cause
to add unnecessary empty pages at the end

it also does not provide real value in screen mode
2020-10-05 12:22:23 +02:00
Sören Weber
1cad4cc2f6 Remove navigation arrows from print 2020-10-05 12:19:52 +02:00
mirisbowring
023fe7ef2b
Customize mermaid module (#362)
* enabled mermaid by default

* implemented logic to use internal oder cdn mermaid

* added english documentation

* added french translation for the mermaid options

* Removed useless test print

* Hugo does not use upper case letters in params

* fixed false sample link

* improved mermaid pages

* fixed always load mermaid if no frontmatter specified

* fixed mermaid samples

* removed obsolete css files

* changed default version of mermaid cdn

* renamed mermaidURL to customMermaidURL and removed css link

* improved mermaid configuration description

Co-authored-by: Arthur Ferdinand Lindner <Arthur-Ferdinand.Lindner@Telekom.de>
Co-authored-by: Arthur Ferdinand Lindner <arthur.lindner@outlook.de>
2020-09-11 14:57:25 +01:00
Adam Snyder
21a3f77b14
Remove code that adjusts navigation margin (#419) 2020-09-10 17:21:20 +01:00
Susan Potter
699c9fdf9f
Upgrade mermaid-js/mermaid @ 0918b97 (v8.8.0) (#443)
* Upgrade mermaid-js/mermaid @ 0918b97

* Update exampleSite with new mermaid graph (stateDiagram-v2) example

* Update content of mermaid.js with officially distributed v8.8.0 minified version
2020-09-10 17:12:32 +01:00
Nina Zakharenko
704648b6a7 Make copy to clipboard button lighter color, hover matches links 2020-09-10 15:10:56 +01:00
Matthew Taylor
8349d619a5 Apply updated highlight.js 10.0.3 (a4b1bd2d) 2020-06-01 14:59:19 +01:00
Jared Stehler
54b373f350 fix null pointer when no params on image url 2020-06-01 13:00:37 +01:00
Jian
3ea5bca755 Added flag to turn off image featherlight 2020-02-01 22:58:17 +00:00
ImgBotApp
bed0a6c0d0 [ImgBot] Optimize images
*Total -- 2,430.13kb -> 2,350.51kb (3.28%)

/exampleSite/static/images/showcase/inteliver_docs.png -- 108.40kb -> 78.86kb (27.25%)
/static/fonts/Novecentosanswide-Normal-webfont.svg -- 100.88kb -> 96.30kb (4.54%)
/static/fonts/Novecentosanswide-UltraLight-webfont.svg -- 93.99kb -> 89.81kb (4.44%)
/static/webfonts/fa-regular-400.svg -- 136.55kb -> 132.62kb (2.88%)
/static/webfonts/fa-solid-900.svg -- 775.44kb -> 753.61kb (2.82%)
/static/fonts/Work_Sans_500.svg -- 54.16kb -> 53.15kb (1.88%)
/static/fonts/Work_Sans_300.svg -- 54.52kb -> 53.50kb (1.87%)
/static/fonts/Work_Sans_200.svg -- 54.57kb -> 53.55kb (1.87%)
/static/fonts/Inconsolata.svg -- 61.54kb -> 60.54kb (1.63%)
/static/webfonts/fa-brands-400.svg -- 732.17kb -> 722.07kb (1.38%)
/exampleSite/static/fonts/monogramos-webfont.svg -- 257.41kb -> 256.00kb (0.55%)
/static/images/clippy.svg -- 0.50kb -> 0.50kb (0.2%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-02-01 22:50:45 +00:00
Fritz Michael Gschwantner
15f890999f fix select option color in Chrome 2020-02-01 22:41:47 +00:00
Christian Oliff
c8b5c2e176
change to minified autocomplete for improved performance
from:  https://github.com/Pixabay/JavaScript-autoComplete/blob/master/auto-complete.min.js
2019-08-12 10:31:28 +09:00
Christian Oliff
3c4599428e Delete html5shiv-printshiv.min.js 2019-08-12 01:03:44 +01:00
Matthew Taylor
258877709c Remove oudated versions of jquery & modernizr libraries 2019-04-16 18:47:14 +01:00
ozobi
18212e6759 Update search.js
fixed indent
2019-04-01 22:31:07 +01:00
ozobi
c5033d3ee6 update js
highlightJS -> https://highlightjs.org/download/ => update with desired languages, default: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/highlight.min.js
modernizr -> https://modernizr.com/download/?csstransforms3d-domprefixes-prefixes-setclasses-shiv-testallprops-testprop-teststyles
lunrJS -> https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.5/lunr.min.js
clipboard -> https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js
jquery -> https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
featherlight -> https://cdnjs.cloudflare.com/ajax/libs/featherlight/1.7.13/featherlight.min.js
search.js -> updated for lunrJS 2.3.5
learn.js -> updated for clipboard
2019-04-01 22:31:07 +01:00
ozobi
2463671e20 Update css
Add highlight.js theme
Update theme to match highlight.js theme
Update featherlight
2019-04-01 22:31:07 +01:00