Commit graph

77 commits

Author SHA1 Message Date
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
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
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
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
Matthew Taylor
4d2977e57b Upgrade fontawesome to 5.6.3 2018-12-21 02:04:37 +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
Mathieu Cornic
707af40051 feat: update font-awesome to 5.2.0 2018-08-10 11:17:47 +02:00
Matthew Taylor
cca7fdeeb0 Modify fontawesome selectors for v5.x 2018-02-19 16:33:30 +00:00
Matthew Taylor
ddb8d4c5aa Update Font Awesome to 5.0.6 2018-02-19 16:33:30 +00:00
Mathieu Cornic
d9b99afc39
Merge pull request #114 from mdavids/patch-3
Issue #111 for theme-green.css
2018-01-23 18:07:25 +01:00
Mathieu Cornic
18dccb5b59
Merge pull request #113 from mdavids/patch-2
Issue #111 for theme-red.css
2018-01-23 18:07:16 +01:00
Marco Davids
890e2cf0ea
Issue #111 for theme-green.css 2018-01-22 22:37:25 +01:00
Marco Davids
2b28b11bd0
Issue #111 for theme-red.css 2018-01-22 22:35:58 +01:00
Marco Davids
eb18988805
Issue #111 for theme-blue.css 2018-01-22 22:34:35 +01: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
Ryan McGuire
ff5ef7c020 Replace horsey with Pixabay's autocomplete (#75) 2017-09-28 18:47:26 +02:00
matcornic
52e897dcb9 changed defaults + scroll with offset 2017-08-20 23:43:49 +02:00
matcornic
c1d1d7a2c4 Add variant theme rule for anchors 2017-08-20 23:43:48 +02:00
matcornic
88f55b81ca feat: add red and green variant themes 2017-08-20 23:43:48 +02:00
matcornic
1df25a3f06 feat: slight changes to blue theme 2017-08-20 23:43:48 +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