Commit graph

286 commits

Author SHA1 Message Date
Sören Weber
fc86c1e637
theme: wrong default color for IE11 #181 2022-02-22 20:51:04 +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
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
78abe914e0
variant: allow page browsing with custom theme #188 2022-02-21 23:11:04 +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
e9fa08dcf7
variant: build a color variant generator #188 2022-02-19 00:46:34 +01:00
Sören Weber
6f35177349
theme: rework header UX #151 2022-02-18 00:09:06 +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
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
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
4f28e6af83
menu: avoid menu animation on page load in IE #180 2022-02-15 01:25:08 +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
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
9ea06563be
theme: support for dark mode #175 2022-02-11 00:59:40 +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
0b67c7fb0d
notice: tweak dull colors #173 2022-02-08 19:51:48 +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
d673f413be
mermaid: add visual hints for pan/zoom #143 2021-11-09 21:07:22 +01:00
Sören Weber
d0b8b60463
mermaid: remove whitespace from big graphs #143 2021-11-09 19:51:52 +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
ce0b07cf65
theme: default color for code block fallback - fix 2021-10-12 17:15:56 +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
dffc0cb230
theme: simplify stylesheet for color variants #107 2021-09-30 00:17: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
3e3a3d164f
theme: avoid scrollbar for long headings #92 2021-09-29 00:20:44 +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
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
94fceae42d
theme: fix usage of <h3> in menu #88 2021-09-13 19:28:17 +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
d53fc18c2b
search: open expand if it contains search term #80 2021-09-04 12:05:15 +02:00
Sören Weber
c969f3b13f
menu: always hide hidden sub pages #77 2021-09-04 00:17:47 +02: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
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
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
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
52932bee67 Unstretch copy-to-clipboard icon, make code font size relative 2021-08-23 23:48:41 +01: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
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
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
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
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
Nina Zakharenko
704648b6a7 Make copy to clipboard button lighter color, hover matches links 2020-09-10 15:10:56 +01:00
Fritz Michael Gschwantner
15f890999f fix select option color in Chrome 2020-02-01 22:41:47 +00: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
Matthew Taylor
e7a190392a Merge branch 'master' of https://github.com/pdelaby/hugo-theme-learn into pdelaby-master 2019-03-25 21:01:40 +00:00
Delaby Pierre
5f53dfaa15 Add documentation an theme variants 2018-11-29 09:34:55 +01:00
Delaby Pierre
79a9777e9a Displays tags on single (using header)
Display tags list when clicking on tag
2018-10-16 12:08:58 +02:00
Lloyd Benson
92d8204121 remove source map metadata since .map is not included in the theme to fix firefox 404s 2018-10-01 13:36:06 -05:00
Matthew Taylor
cca7fdeeb0 Modify fontawesome selectors for v5.x 2018-02-19 16:33:30 +00:00
matcornic
6562adeb7b fix #83 no Title and Edit this page text when on mobile + fixed top bar width pbm on resize by switching to sticky.js instead of sticky-kit 2017-11-23 19:46:56 +01:00
matcornic
52e897dcb9 changed defaults + scroll with offset 2017-08-20 23:43:49 +02:00
matcornic
7ca4b0c7ad feat: add theme variant system + add blue variant 2017-08-20 23:43:48 +02:00
matcornic
eb60debba2 feat: add 'more' section in left menu 2017-08-20 23:43:47 +02:00
matcornic
389b9858a4 feat(attachments): rename styles with colors + delete red style + add grey style 2017-08-20 23:43:47 +02:00
matcornic
3e61961bfa feat: add children shortcode 2017-08-20 23:43:47 +02:00
matcornic
951e8fb40e feat: add shortcode for attachments 2017-08-20 23:43:47 +02:00
matcornic
b2ac8298bf feat: support of Hugo 0.22+ #51 #48 #11 #50 2017-08-20 23:43:44 +02:00
Thibaut Rousseau
67d9cb6564 feat: Change the default code color 2017-05-16 11:53:01 +02:00
Rousseau Thibaut
ac8edeb48a feat: handle inline images 2017-01-27 16:37:22 +01:00
Leclerc Gwendal
4218d1a27d feat: extract search out of header + use baseurl to search json index + add a step to explain how to use lunr-hugo + update perfect-scrollbar 2016-10-25 20:26:19 +02:00
Leclerc Gwendal
363bb68e42 feat: configure lunr, extract inline javascript in search.js and fix horsey popup position 2016-10-25 20:26:19 +02:00
Leclerc Gwendal
c645b07402 feat: add search support 2016-10-25 20:26:19 +02:00
Mathieu Cornic
de8584e890 fix(visitedLinks) : Fontawesome icon works again in menu (+ changed color of check icon) 2016-06-05 16:42:16 +02:00
Andre Sousa
e0782779f1 Add checkmark icon align to right and colo 2016-05-24 15:52:17 +01:00
Mathieu Cornic
ab5ed09a77 feat: reset original colors + add note shortcode + split favicon into partial 2016-03-29 00:35:18 +02:00
Leclerc Gwendal
c2d67b677c feat: add annimation on link + fix toc + modify sidebar button 2016-03-26 03:28:38 +01:00
Leclerc Gwendal
301c7c5fb9 feat: modify <code> background color 2016-03-25 19:10:51 +01:00
Leclerc Gwendal
6686e925c0 feat: replacing jquery.scrollbar by perfect-scrollbar 2016-03-25 11:53:03 +01:00
Mathieu Cornic
0495785eda feat: navigation arrows + breadcrumb 2016-03-17 14:10:43 +01:00
Mathieu Cornic
9246996907 feat: init commit with basic functionnalities 2016-03-17 12:01:39 +01:00