1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-15 03:17:40 +01:00
Commit Graph

755 Commits

Author SHA1 Message Date
squidfunk
a1e25a219a Switched to darker color for text links 2020-05-17 15:13:03 +02:00
squidfunk
7a12b5ec10 Fixed footer styles and added color transitions 2020-05-17 14:40:00 +02:00
squidfunk
6f526d222a Refactored palette stylesheets 2020-05-17 13:49:25 +02:00
squidfunk
24e35c9fce Merge branch 'master' into refactor/dark-mode 2020-05-17 12:22:53 +02:00
squidfunk
e3c9c5b8d2 Documentation 2020-05-16 15:46:31 +02:00
squidfunk
c6e2e3a780 Added support for focusable code blocks on overflow 2020-05-16 15:08:39 +02:00
squidfunk
900c113e59 Fixed #1696: infinite loop when using instant loading 2020-05-16 14:28:16 +02:00
squidfunk
32d57e66c7 Announced accepting of sponsorships in docs 2020-05-14 09:27:16 +02:00
squidfunk
98ccd6f944 Merge branch 'master' into refactor/dark-mode 2020-05-09 15:13:57 +02:00
squidfunk
62abdd1517 Added distribution files 2020-05-09 13:59:03 +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
32d986232e Switched to @mdi/svg package for icon integration 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
5ebaee9d14 Updated dependencies, as depandabot doesn't seem to merge automatically 2020-04-27 09:19:54 +02:00
squidfunk
8330e17262 Fixed overflowing content area after switch to flexbox 2020-04-26 20:11:03 +02:00
squidfunk
ab5535ca61 Added distribution files 2020-04-26 19:29:33 +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
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
a5726dc9d2 Removed css-mqpacker PostCSS plugin
The plugin was deprecated some time ago and may yield unintended side-effects
due to the re-ordering of media queries.
2020-04-26 16:33:07 +02:00
squidfunk
7eb6cb6536 Fixed sidebar jitter by switching to sticky positioning 2020-04-26 16:33:07 +02:00
squidfunk
198120f9cf Removed unused CSS 2020-04-25 19:12:17 +02:00
squidfunk
1fc6af1f15 Prototyped dark mode 2020-04-25 19:07:23 +02:00
squidfunk
1ebef6565f Merge branch 'master' into refactor/dark-mode 2020-04-25 18:11:20 +02:00
squidfunk
f3170b16bd Updated announcement bar 2020-04-25 15:56:00 +02:00
squidfunk
e96657cc1e Fixed instant loading not honoring target=_blank 2020-04-17 21:10:04 +02:00
squidfunk
387970c611 Fixed GitLab star count 2020-04-17 14:32:27 +02:00
squidfunk
80a6e33a72 Added new FontAwesome icons 2020-04-17 14:28:05 +02:00
squidfunk
6f5271bb3a Removed invalid CSS property from landing page 2020-04-17 12:02:06 +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
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
f81ae11d59 Fixed linting errors and enabled instant loading 2020-03-28 13:48:39 +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
squidfunk
64caf62835 Added support for pass custom search transform 2020-03-27 16:59:25 +01:00
squidfunk
635343544e Refactored search configuration 2020-03-27 16:51:27 +01:00
squidfunk
9e74bb7a32 Cleaned up search worker integration 2020-03-27 15:29:17 +01:00
squidfunk
42524ae124 Fixed disappearing sidebars when nested content is expanded 2020-03-26 16:13:53 +01:00
squidfunk
05114b9f2a Added main template override for official docs 2020-03-26 11:19:20 +01:00
squidfunk
17fae53f31 Fixed header ellipsis when title equals site name 2020-03-25 17:13:48 +01:00
squidfunk
d56ab36000 Prototyped options menu 2020-03-23 10:45:06 +01:00
squidfunk
035225d6d3 Removed required attribute on search input 2020-03-21 17:13:38 +01:00
squidfunk
0b622b3333 Fixed hover states of search input for black and white palette 2020-03-21 16:20:06 +01:00
squidfunk
08d89aeca2 Improved copy-to-clipboard button sizing in Admonitions 2020-03-21 14:21:59 +01:00
squidfunk
d4051c9bb5 Enable color customization of details arrow icon 2020-03-21 13:42:57 +01:00
Taylor Steinberg
9adf66475a
Added mkdocs-awesome-pages-plugin to Dockerfile (#1519)
* Adds mkdocs-awesome-pages-plugin to Dockerfile and adds plugins documentation

* Adds additional usage documentation for the awesome-pages plugin

* Update mkdocs.yml
2020-03-20 16:15:55 +01:00
squidfunk
30f7c15368 Fixed rendering error for details 2020-03-19 12:13:06 +01:00
squidfunk
83a6b8b63c Reverted Admonitions back to mask-image 2020-03-19 09:52:00 +01:00
squidfunk
1801f2f2b9 Replaced mask-image wherever possible to improve print styles 2020-03-18 12:46:50 +01:00
squidfunk
37f2208ef0 Reverted Admonition flex layout 2020-03-18 11:00:43 +01:00
squidfunk
71b2f5a591 Fixed some errors for print media 2020-03-17 18:19:03 +01:00
squidfunk
153aaabbaa Ensure event listeners are passive 2020-03-17 16:43:49 +01:00
squidfunk
dd2f2c879a Improved rendering performance by combining upstream observables 2020-03-17 11:10:51 +01:00
squidfunk
06f71804c2 Improved default fonts 2020-03-16 16:39:55 +01:00
squidfunk
b1fde7a82c Refactored announcement bar styles 2020-03-16 16:26:58 +01:00
squidfunk
0f116bab03 Fixed precedence of search results in title 2020-03-16 15:13:09 +01:00
squidfunk
653d535a22 Improved flow of observables/emissions 2020-03-16 14:59:59 +01:00
squidfunk
47aa47ee4c Adjustments for right-to-left languages 2020-03-16 12:22:11 +01:00
squidfunk
1b07bef1c5 Adjustments for right-to-left languages 2020-03-16 12:01:20 +01:00
squidfunk
825eeae70c Replaced getComputedStyle with bounding box values 2020-03-15 16:19:36 +01:00
squidfunk
df1c7e5590 Inlined icons referenced from JavaScript 2020-03-15 15:20:48 +01:00
squidfunk
278a40e8d7 Improved alignment of social links and copyright notice 2020-03-15 14:21:54 +01:00
squidfunk
b9fd6086a5 Fixed showing of wrong version in deployment preview 2020-03-15 13:55:06 +01:00
squidfunk
bcb8b4a498 Reverted hyphenation 2020-03-14 19:29:48 +01:00
squidfunk
56bd2b10c5 Reduced amount of created layers 2020-03-14 18:08:09 +01:00
squidfunk
c0abaf5692 Fixed closing of search results on anchor jump 2020-03-12 17:13:31 +01:00
squidfunk
566b1363ee Added distribution files 2020-03-12 16:49:08 +01:00
squidfunk
335b50d0a5 Adjusted spacing for nested tabbed content 2020-03-11 15:01:07 +01:00
squidfunk
447d409b81 Fixed scroll bar on tables inside admonitions 2020-03-11 14:55:13 +01:00
squidfunk
4d386df1e9 Fixed margin collapse on tables inside tabbed containers 2020-03-11 10:44:10 +01:00
squidfunk
bfa1d9ce47 Updated dependencies 2020-03-10 23:36:30 +01:00
squidfunk
e3127489ca Slight facelifting of tabbed blocks 2020-03-10 16:56:17 +01:00
squidfunk
b6657bccda Refactored code blocks 2020-03-10 16:42:23 +01:00
squidfunk
c044208dc4 Added distribution files 2020-03-10 12:13:18 +01:00
squidfunk
d470f89056 Updated documentation 2020-03-10 11:55:25 +01:00
squidfunk
6a8a627e07 Merge branch 'master' into refactor/rxjs-typescript 2020-03-09 23:19:06 +01:00
squidfunk
bfea33154f Added title to social footer links 2020-03-09 21:14:47 +01:00
squidfunk
6daac21f65 Moving inlined icon SVGs to CSS variables to reduce payload 2020-03-09 16:39:59 +01:00
squidfunk
d71dd2e8a6 Reduced pressure on browser with ResizeObserver 2020-03-06 18:57:27 +01:00
squidfunk
7840e207f9 Removed IE compatibility meta tag 2020-03-06 15:50:11 +01:00
squidfunk
eee298ae92 Fixed initialization of index for localsearch 2020-03-06 12:32:14 +01:00
squidfunk
3a25eb46d4 Fixed initialization of index for localsearch 2020-03-06 12:02:38 +01:00
squidfunk
184e5f24e2 Prepare 5.0.0b3-2 release 2020-03-06 10:37:28 +01:00
squidfunk
abec4824bd Fixed intercepting of link clicks when instant loading is disabled 2020-03-05 21:03:51 +01:00
squidfunk
e11ebbee84 Added distribution files 2020-03-05 17:24:14 +01:00
squidfunk
9738c12cc9 Unified components and observable structure 2020-03-05 17:17:15 +01:00
squidfunk
f79075223f Restructured components and observables 2020-03-03 18:19:33 +01:00
squidfunk
301582cc76 Fixed scroll snapping for 2nd+ level items using tabs 2020-03-03 14:59:57 +01:00
squidfunk
067df2f6cf Improved anchor jumps after instant loading and fixed Google Analytics 2020-02-29 20:57:11 +01:00
squidfunk
ab3ef19498 Evaluate script elements upon load when using instant loading 2020-02-29 19:25:42 +01:00
squidfunk
a1393fdbc3 Fixed copy-to-clipboard re-appearing after document switch 2020-02-29 12:38:11 +01:00
squidfunk
6029122f96 Fixed first tab not showing for use_directory_urls: false 2020-02-29 12:23:52 +01:00
squidfunk
68c9cb6dac Fixed search for use_directory_urls: false 2020-02-29 10:47:01 +01:00
squidfunk
ff9ef6a4a7 Added back light shadows to admonitions 2020-02-27 12:27:05 +01:00
squidfunk
eaeac798b1 Refactored icon options for mkdocs.yml 2020-02-27 11:37:02 +01:00
squidfunk
1e0b168570 Reverted 'extra_css with media' feature 2020-02-27 10:32:42 +01:00
squidfunk
2a63915a3e Added active state for parent section in mobile navigation 2020-02-26 09:33:24 +01:00
squidfunk
63a309bd72 Added accent colors to new palette integration 2020-02-26 09:08:50 +01:00
squidfunk
9590cc1c2b Partially ported palette for CSS variables 2020-02-26 08:47:53 +01:00
squidfunk
590612939a Improved pymdownx.tabbed styles and palettes 2020-02-25 22:17:23 +01:00
squidfunk
309c2b7c03 Refactored CSS variables integration 2020-02-25 20:25:05 +01:00
Benjamin Staneck
ca50ed8200
Refactored CSS to use CSS Variables (#1409)
* First stab at using CSS variables

* Port color-black to CSS variables and fix SCSS compile

* add hex2rgb helper function

* Port md-color-white to CSS variables

* Port code color and background

* Fix a rebase mistake

* Fix lint

* adopt upstream changes

Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com>
2020-02-25 15:04:58 +01:00
squidfunk
446e55767b Fixed sizing of icons and images in nav and header 2020-02-25 15:02:54 +01:00
squidfunk
43f2a71f03 Fixed incorrect calculation of anchors, huge performance gain 2020-02-25 13:59:57 +01:00
squidfunk
3091883b05 Added identifer to icons to prepare for inlining 2020-02-24 23:23:56 +01:00
squidfunk
dd2ea3fe1c Fixed no-js styles 2020-02-24 22:44:12 +01:00
squidfunk
b65bda08a7 Fixed unnecessary nesting in SCSS, reducing final CSS by 20kb 2020-02-24 21:48:30 +01:00
squidfunk
11d1b839a1 Refactored Material icon integration - bye bye webfonts 2020-02-24 18:07:50 +01:00
squidfunk
b345a0b650 Prototyped material icon SVG integration 2020-02-23 13:36:51 +01:00
squidfunk
c79b786ea6 Refactored to use URLs at all times 2020-02-22 15:56:08 +01:00
squidfunk
eb82c8d586 Fixed edge case in scroll restoration 2020-02-22 15:24:15 +01:00
squidfunk
c362179234 Improved scroll restoration implementation 2020-02-22 13:35:26 +01:00
squidfunk
674e3456f8 Improved browser history navigation in conjunction with instant loading 2020-02-21 17:36:04 +01:00
squidfunk
1020953fa5 Fixed header shadow appearing after document switch 2020-02-21 11:36:32 +01:00
squidfunk
c7e4063d86 Refactored instant loading setup 2020-02-21 10:18:49 +01:00
squidfunk
ae1ed3d924 Implemented instant loading 2020-02-20 17:42:46 +01:00
squidfunk
3aa251fb03 Improved overall structure 2020-02-20 14:44:41 +01:00
squidfunk
9b0410962d Improved keyboard handlers and added prev/next hotkeys 2020-02-20 10:07:50 +01:00
squidfunk
297a63313d Improved observable flows 2020-02-19 17:29:18 +01:00
squidfunk
03010ddbcd Removed packer worker implementation 2020-02-19 16:57:32 +01:00
squidfunk
577ad4ccc4 Fixed multi-language search 2020-02-19 15:45:52 +01:00
squidfunk
8171fc0ecd Moved keyboard handlers to separate module 2020-02-19 15:09:49 +01:00
squidfunk
b0ebcc8d5b Added support for variable sized header 2020-02-19 14:19:11 +01:00
squidfunk
a6bc272778 Moved source integration into patches 2020-02-19 11:42:51 +01:00
squidfunk
ae05805124 Refactored location observables 2020-02-19 11:07:34 +01:00
squidfunk
d1afa51726 Restructured observables 2020-02-19 08:57:36 +01:00
Isaac Muse
46ecf3b055
Added support for pymdownx-inline (#1468)
* Add support for pymdownx-inline

* Build assets

* Fix rem lint error
2020-02-19 08:55:44 +01:00
squidfunk
dee75ccfbb Jump to anchor inside details tag and refactor tablet styles 2020-02-18 15:39:36 +01:00
squidfunk
b2654777b8 Added dialog for copy-to-clipboard action 2020-02-18 14:30:06 +01:00
squidfunk
fdff60e33d Link header to viewport resizes 2020-02-18 10:17:57 +01:00
squidfunk
ac7c8e20a8 Refactored repository integration and added GitLab support 2020-02-18 10:10:40 +01:00
squidfunk
34ef965511 Updated assets 2020-02-17 17:26:40 +01:00
squidfunk
14df716e63 Prepare 5.0.0b1 release 2020-02-17 17:20:08 +01:00
squidfunk
dd40bc2fcf Refactored header title component 2020-02-17 16:25:49 +01:00
squidfunk
7876148fbd Improved documentation and fixed search reset 2020-02-17 14:37:12 +01:00
squidfunk
2c0177ab56 Fixed search reset button not hiding for empty input 2020-02-17 10:47:52 +01:00
squidfunk
ca260e0faf Fixed permalink characters being part of textContent 2020-02-16 00:53:45 +01:00
squidfunk
a399540940 Fixed anchor jump from mobile search 2020-02-16 00:23:50 +01:00
squidfunk
694eaca889 Fixed disappearance of header shadow on iOS 2020-02-15 21:52:47 +01:00
squidfunk
b26edc05a4 Shaved off ~10% of bundle by introducing tslib 2020-02-14 18:57:42 +01:00
squidfunk
b094573287 Migrated tabs and hero and renamed refactored components 2020-02-14 18:48:46 +01:00
squidfunk
32d6df4cc9 Added minification transform for tinyseg.js 2020-02-14 17:59:09 +01:00
squidfunk
0f77194c23 Cleaned up main entrypoint 2020-02-14 17:45:32 +01:00
squidfunk
adc35b1109 Removed default announcement bar from main template 2020-02-14 15:07:41 +01:00
Isaac Muse
a348663566
Added support for pymdownx.tabbed via pymdown-extensions 7.0b1 (#1459)
* Add support pymdownx.tabbed via pymdown-extensions 7.0b1

* Rebuild theme

* Use :only-child
2020-02-14 08:16:04 +01:00
squidfunk
c035df94fd Fixed bug in main area observable 2020-02-13 23:42:12 +01:00
squidfunk
e0e559b429 Refactored search observable integration 2020-02-13 16:49:08 +01:00
squidfunk
306530f668 Separated observables from components 2020-02-12 19:13:03 +01:00
squidfunk
76258ee65f Dropped table layout hacks for flexbox 2020-02-12 11:21:24 +01:00
squidfunk
6dba046eae Fixed active layer reset 2020-02-11 17:14:28 +01:00
squidfunk
786b21039d Fixed invalid whitespace in navigation from mobile to screen when tabs are active 2020-02-11 12:49:30 +01:00
squidfunk
de73cac7b8 Fixed emission of active layer element 2020-02-11 12:13:42 +01:00
squidfunk
ec9ad27251 Updated copyright year in docs 2020-02-11 11:05:21 +01:00
squidfunk
286ace2eaf Inlined Material Icons CSS 2020-02-11 11:02:46 +01:00
squidfunk
5ce6597d09 Moved FontAwesome icons to the top-level 2020-02-11 08:37:36 +01:00
squidfunk
b486d0beec Switched build process back to Webpack 2020-02-10 18:32:28 +01:00
squidfunk
8c072448eb Added *.html suffix to FontAwesome icons so MkDocs doesn't bundle them 2020-02-10 15:42:44 +01:00
squidfunk
42540dae9b Fixed spacing of search on tablet and screen 2020-02-10 14:05:39 +01:00
squidfunk
41dc846753 Merge branch 'master' into refactor/rxjs-typescript 2020-02-10 12:34:58 +01:00
squidfunk
0730aae9c2 Added Romanian translations 2020-02-08 22:15:47 +01:00
squidfunk
5b7b3571ad Fixed margin of superfences code on top-level and mobile 2020-02-08 22:05:31 +01:00
squidfunk
318dec57ce Updated assets 2020-02-08 21:51:06 +01:00
squidfunk
c177506550 Fixed code block highlighting issues with superfences 2020-02-08 21:50:25 +01:00
squidfunk
92bfb148ed Fixed code blocks after Markdown 3.2 release 2020-02-08 10:16:59 +01:00
squidfunk
26313cd607 Added overflow scrolling fixes for iOS 2020-02-02 18:29:17 +01:00
squidfunk
4cc07912df Added clipboard integration 2020-02-02 17:18:18 +01:00
squidfunk
18c8c4c2ba Close drawer and search on hash change 2020-02-02 16:51:42 +01:00
squidfunk
4e76da9647 Removed title from search results 2020-02-02 16:35:47 +01:00
squidfunk
a074005b41 Added support for keyboard handlers 2020-02-02 16:19:01 +01:00
squidfunk
e1c5953ae6 Fixed #1418: set background color to white 2020-01-30 20:47:34 +01:00
squidfunk
018e38e9ac Added support for lunr-languages 2020-01-26 16:03:49 +01:00
squidfunk
1fdb65b88f Added loading logic for lunr-languages 2020-01-26 15:42:22 +01:00