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