Commit Graph

697 Commits

Author SHA1 Message Date
Christian Oliff
30b4d554d7
Added nicer scrollbars for Firefox (#1686)
Firefox supports `scrollbar-width` styling and `scrollbar-width: thin;` looks much closer to how the custom scrollbars on Chrome look.
Note: I haven't tested building the theme with this change, but I have tested using this directly in the browser and it looks great.
2020-05-11 18:13:06 +02:00
squidfunk
bf43fa3ca6 Fixed whitelisting for instant loading on localhost and Netlify previews 2020-05-09 13:54:03 +02:00
squidfunk
252db1334e Added loading of sitemap to filter instant loading requests 2020-05-09 12:39:55 +02:00
squidfunk
9a0c3e9094 Added general anchor offset solution using scroll-margin-top 2020-05-05 09:01:45 +02:00
squidfunk
1b72c9f17d Added workaround for Chrome bug with scroll snapping 2020-05-03 13:54:36 +02:00
squidfunk
3a0b776e39 Fixed sidebar jumping on page load on active anchor 2020-05-03 13:34:22 +02:00
squidfunk
52c3daf497 Fixed iframe height not being adjustable 2020-05-03 12:56:07 +02:00
squidfunk
2cdddfc427 Fixed unnecessary scrollbar for search results on Windows 2020-04-30 09:19:55 +02:00
squidfunk
fe81490f38 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2020-04-29 09:33:58 +02:00
squidfunk
d3452aff21 Fixed navigation disappearing on screen after switching viewports 2020-04-29 09:32:23 +02:00
squidfunk
0d4d5c5f77 Improved inlining of SVGs 2020-04-29 07:52:39 +02:00
squidfunk
e6143e7bfb Fixed distorted image when width and height are explicitly set 2020-04-27 09:34:49 +02:00
squidfunk
8330e17262 Fixed overflowing content area after switch to flexbox 2020-04-26 20:11:03 +02:00
squidfunk
19ab065236 Fixed hiding of search on file:// 2020-04-26 19:28:32 +02:00
squidfunk
dac469eace Added support for graceful recovery of failing search initialization on file:// protocol 2020-04-26 19:20:51 +02:00
squidfunk
6cf14bed10 Fixed TypeScript warnings 2020-04-26 19:02:32 +02:00
squidfunk
0145f6d278 Added note when search is initializing 2020-04-26 18:29:13 +02:00
squidfunk
62fcc9b86e Added re-emission of latest query when search is ready 2020-04-26 17:41:00 +02:00
squidfunk
b5be7d3971 Added search status to observable 2020-04-26 17:22:55 +02:00
squidfunk
398cd895c3 Removed announcement bar from print view 2020-04-26 16:38:33 +02:00
squidfunk
7eb6cb6536 Fixed sidebar jitter by switching to sticky positioning 2020-04-26 16:33:07 +02:00
squidfunk
e96657cc1e Fixed instant loading not honoring target=_blank 2020-04-17 21:10:04 +02:00
squidfunk
5b8721ff92 Fixed GitLab star count 2020-04-17 14:33:04 +02:00
XhmikosR
9fddd97d01
Improved size of PNG files through lossless compression (#1617)
Before: 538 KB (551.329 bytes)
After:  487 KB (499.630 bytes)
2020-04-17 10:50:02 +02:00
XhmikosR
6cf4b551d4
Fixed typos in documentation (#1616) 2020-04-17 10:26:54 +02:00
squidfunk
02dd77f307 Fixed invalid permalink transition 2020-04-13 19:58:44 +02:00
squidfunk
a96fa1c3aa Fixed rounding errors in GitHub stars 2020-04-13 16:12:26 +02:00
squidfunk
f90644dac5 Integrated with mkdocs-material-extensions 2020-04-12 19:58:22 +02:00
squidfunk
524aeb6d88 Ensure source maps are built for stylesheets 2020-04-10 12:26:44 +02:00
squidfunk
15961dffa8 Fixed overflow scrolling behavior 2020-04-08 16:25:25 +02:00
squidfunk
6ae8c907bb Switched to touch-action (previously -webkit-overflow-scrolling) 2020-04-08 16:05:23 +02:00
Isaac Muse
89b474bf33
Added emoji icon integration (#1575)
* Add emoji icons

* Generate new build and ensure build is sane on WSL (windows)

Normalize line endings to ensure when building in Windows Subsystem
for Linux that the results are sane.
Build new JS and CSS.

* Attempt to fix netlify issue
2020-04-08 16:00:20 +02:00
squidfunk
34b7d6502c Removed unnecessary box shadows on inline code blocks 2020-04-06 14:36:41 +02:00
squidfunk
85fc057b2f Fixed linting errors 2020-04-05 13:22:41 +02:00
squidfunk
bb36045973 Improved rendering of inline code blocks in Admonitions 2020-04-05 13:20:36 +02:00
squidfunk
00ad2d74d6 Fixed broken link after history change 2020-04-05 11:33:41 +02:00
squidfunk
dff96cbf62 Fixed color of link-embedded code blocks 2020-04-03 09:44:05 +02:00
squidfunk
b9d44e04c1 Fixed details marker showing on Firefox 2020-04-02 10:09:02 +02:00
squidfunk
cfebec40e8 Fixed Firefox only printing the first page 2020-04-02 09:57:55 +02:00
squidfunk
e5f20b540d Improved rendering performance by omitting unnecessary emits for hero and tabs 2020-03-29 14:41:52 +02:00
squidfunk
eb0e8ac85d Refactored element creation (now centralized) 2020-03-29 14:18:18 +02:00
squidfunk
7e42f78e92 Formatting 2020-03-29 14:01:27 +02:00
squidfunk
7b6ce2a913 Fixed incorrect active table of contents item when main size changes 2020-03-29 14:00:53 +02:00
squidfunk
908d34b853 Fixed replacement of skip link and announcement bar on instant load 2020-03-28 18:10:08 +01:00
squidfunk
edc9d6fc61 Refactored instant loading setup 2020-03-28 17:40:46 +01:00
squidfunk
4d370fe903 Fixed restoration of scroll offset on page refresh 2020-03-28 13:56:58 +01:00
squidfunk
f38d0a8d64 Fixed linting errors and enabled instant loading 2020-03-28 13:49:48 +01:00
squidfunk
63a3481bc2 Fixed bug where a popstate event triggered history.pushState again 2020-03-28 13:25:26 +01:00
squidfunk
0e80ab45b6 Refactored document into subject and moved switching into instant loading 2020-03-28 12:37:51 +01:00
squidfunk
1cd1a056f8 Documentation 2020-03-27 17:16:03 +01:00