Commit graph

34 commits

Author SHA1 Message Date
Sören Weber
bc018cbb0d
mobile: hide initial menu animation in landscape #210 2022-03-13 12:36:48 +01:00
Sören Weber
30bf0250e4
mobile: avoid clunky animation when switching to mobile #210 2022-03-13 11:49:56 +01:00
Sören Weber
ea8b527f25
mobile: fix navigation UX #209 #210 2022-02-28 01:19:32 +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
f5455500fa
theme: animate large areas on theme switch #178 2022-02-13 09:45:11 +01:00
Sören Weber
8c1a7304f9
theme: add a theme selector #178 2022-02-13 01:53:23 +01:00
Sören Weber
9c616364a9
theme: realign HTML header and DRY out stylesheet declarations 2022-02-06 13:51:54 +01: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
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
aa54732f09
theme: wildspace
in partials and generated output
2021-09-12 00:40:03 +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
Christian Oliff
c9153e7c04 remove unneeded type="text/css" 2019-06-11 22:28:40 +01:00
Mathieu Cornic
ec48c61329
Merge pull request #271 from berryp/issue/404-has-invalid-html
Fix invalid HTML in 404 template.
2019-06-06 14:07:37 +02:00
Naveneetha Vasudevan
3a47917d6c Remove reference to the unused horsey CSS 2019-06-05 00:11:45 +01:00
Berry Phillips
85711377a9 Fix invalid HTML in 404 template.
Fixes https://github.com/matcornic/hugo-theme-learn/issues/270
2019-04-12 09:21:59 +09:00
Jean-Christophe
330ae6d91c
Updated CSS link to fontawesome library 2018-10-27 22:40:08 +02:00
pgorod
781d1e9457
Update 404.html
This is useful because using "alt" attribute is generally a good idea. But I had to change this in my project because I am running automated tests and this was causing an error from my over-zealous error-checker robot. Fair enough.
2018-09-20 17:04:16 +01:00
Marco Davids
04347de0d6
Improved variant of #119, as per request 2018-02-02 14:14:32 +01:00
Marco Davids
bb7608fa42
Related to previous PR 2018-01-23 17:17:55 +01:00
Jake Howard
2c664160b0
Use relURL where possible 2018-01-06 22:27:36 +00: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
951e8fb40e feat: add shortcode for attachments 2017-08-20 23:43:47 +02:00
matcornic
9eb81efb44 fix busting javascript #47 2017-08-20 23:43:46 +02:00
matcornic
b2ac8298bf feat: support of Hugo 0.22+ #51 #48 #11 #50 2017-08-20 23:43:44 +02:00
matcornic
4257ec0471 fix: errors when building site with Hugo 0.20 2017-03-25 18:14:50 +01:00
matcornic
256c632662 #25 just prefix with slashes to avoid breaking changes for people using basurl without a trailing slash" 2016-12-20 00:04:24 +01:00
R.I.Pienaar
994e6b1f75 (#25) use .Site.BaseURL to lcoate static assets 2016-12-18 09:48:27 +01:00
Mathieu Cornic
29b9a962eb feat: add 404 page 2016-04-12 01:46:08 +02:00
Mathieu Cornic
b644f0eb7e feat: split partials to have better generecity + added index.html sample page 2016-03-17 21:40:58 +01:00
Mathieu Cornic
9246996907 feat: init commit with basic functionnalities 2016-03-17 12:01:39 +01:00