Commit Graph

303 Commits

Author SHA1 Message Date
squidfunk
eea31eb528 Fixed too small footnote divider when using larger font sizes 2017-04-22 14:50:32 +02:00
squidfunk
00b7e600a8 Merged master and implemented search overlay 2017-04-22 14:17:25 +02:00
squidfunk
a5b06b9839 Updated babel-loader, flow-bin, lunr and gulp-changed 2017-04-22 13:22:54 +02:00
squidfunk
8ac6712dc3 Fixed overflowing sidebar 2017-04-22 00:42:48 +02:00
squidfunk
fab1ab54d6 Refactored targetted link offsets 2017-04-22 00:42:48 +02:00
squidfunk
77e972753c Fixed hijacking of browser search 2017-04-20 18:31:41 +02:00
squidfunk
49ac0e2111 Merge branch 'master' into fix/search-missing-results 2017-04-08 18:52:28 +02:00
squidfunk
5df7a85618 Fixed unresponsive overlay on android 2017-04-08 16:09:33 +02:00
squidfunk
67bea5e152 Fixed highlighting not working for two or more words 2017-04-08 16:04:09 +02:00
squidfunk
b283236770 Fixed missing right spacing on overflow of source container 2017-04-07 00:17:32 +02:00
squidfunk
f921f45787 Fixed missing top padding for h1 on 404 page 2017-04-06 17:17:15 +02:00
squidfunk
2ab6083ebe Fixed JavaScript errors on 404 page 2017-04-06 16:23:08 +02:00
squidfunk
5b1bbea2a3 Fixed wrong palette color for focused search result 2017-04-06 11:40:48 +02:00
squidfunk
ecc04128f1 Fixed non-synchronized transitions on search form 2017-04-01 22:45:47 +02:00
squidfunk
92d77fd896 Fixed rendering and offset for targetted footnote 2017-03-26 16:33:48 +02:00
squidfunk
9d066f5f78 Changed keyboard event handlers to key codes for compatibility 2017-03-24 20:02:27 +01:00
squidfunk
de54e6e800 Fixed error when search term contained parentheses 2017-03-24 20:02:27 +01:00
squidfunk
c732082a1c Reset meta text to placeholder if input is cleared 2017-03-24 20:02:27 +01:00
squidfunk
931465af9f Added keyboard events to search modal 2017-03-24 20:02:27 +01:00
squidfunk
544b1243aa Added prototypical arrow up/down result selection 2017-03-24 20:02:27 +01:00
squidfunk
89fff8a6ab Improve search performance 2017-03-24 20:02:27 +01:00
squidfunk
50efda702a Focus search after reset 2017-03-24 20:02:27 +01:00
squidfunk
a2ff177885 Added reset button for search 2017-03-24 20:02:27 +01:00
squidfunk
c293fcfb42 Fixed invalid destructuring attempt on NodeList 2017-03-16 17:43:41 +01:00
squidfunk
d77d900479 Truncate search result text for performance reasons 2017-03-16 16:40:55 +01:00
squidfunk
675a75e000 Normalize placeholder names for search results 2017-03-16 16:12:53 +01:00
squidfunk
536554c18b Added support for search localization 2017-03-16 12:11:00 +01:00
squidfunk
1440c62e57 Adjusted mobile styles for search results 2017-03-14 18:30:33 +01:00
squidfunk
ba3565625d Added page grouping for search results 2017-03-12 17:58:34 +01:00
squidfunk
f72a88721e Merge branch 'master' into refactor/search-results 2017-03-11 19:52:46 +01:00
squidfunk
e00d5fb98a Slightly better distinguishable footnotes 2017-03-11 18:40:44 +01:00
squidfunk
0862c7587f Fixed issues with whitespaces in path for scripts 2017-03-11 15:04:50 +01:00
squidfunk
19fb287cef Implemented source file linkage through metadata 2017-03-11 14:42:55 +01:00
squidfunk
d12f17e520 Reduced repaints for header and sidebars 2017-03-11 14:42:55 +01:00
squidfunk
0fa899fe0b Changed sidebar position to absolute to fix repaints with buttons 2017-03-11 14:42:55 +01:00
squidfunk
a911dd31b3 Added source file links, have to fix repaints 2017-03-11 14:42:55 +01:00
squidfunk
009b41cdb1 Added quote/cite styles for admonition 2017-02-26 19:55:53 +01:00
squidfunk
253d805352 Fixed navigation link colors when applying palette 2017-02-26 18:14:40 +01:00
squidfunk
fc4a466346 Fixed incorrectly displayed nested lists 2017-02-26 17:12:26 +01:00
squidfunk
842146183d Deactivate tabs by default 2017-02-26 15:30:48 +01:00
squidfunk
eb6aedf5cc Added palette colors for tabs 2017-02-26 14:15:21 +01:00
squidfunk
0eee81b048 Added support for tabs 2017-02-26 13:59:54 +01:00
squidfunk
09d579b516 Fixed Gulp build pipeline 2017-02-26 11:55:47 +01:00
squidfunk
2c3ca5aeb4 Merge branch 'master' into refactor/sidebar-height-spacing 2017-02-26 11:04:12 +01:00
squidfunk
c6e5159cc6 Merge branch 'master' into chore/flow-type-checking 2017-02-25 17:18:44 +01:00
squidfunk
22a2f084a1 Integrated static type-checking via JSDoc and Flow 2017-02-25 17:13:50 +01:00
squidfunk
672a39b697 Fixed issues with JSX.createElement definitions 2017-02-25 14:49:49 +01:00
squidfunk
8f48f0bce6 Fixed inconsistencies in table-styling 2017-02-25 11:36:10 +01:00
squidfunk
7908140dc5 Fixed flow in build process 2017-02-20 23:26:51 +01:00
squidfunk
07e2eb4f85 Tried to rework type safety 2017-02-19 23:33:52 +01:00
squidfunk
af4db15a27 Play with flow type checker 2017-02-19 17:19:30 +01:00
squidfunk
3e50c3394a Added support for definition lists 2017-02-19 16:20:39 +01:00
squidfunk
dccfcb8732 Fixed overflowing sidebar and footer scrolling bug 2017-02-18 14:08:00 +01:00
squidfunk
0975c7d1be Added further tests for navigation 2017-02-12 17:10:05 +01:00
squidfunk
6a68347a87 Merge branch 'master' into refactor/sidebar-height-spacing 2017-02-11 23:02:12 +01:00
squidfunk
80fe7e010d Migrate build pipeline to Webpack 2 2017-02-11 16:26:23 +01:00
squidfunk
885053bfbd Removed webfonts for visual tests 2017-02-10 16:43:32 +01:00
squidfunk
8a7d9001fd Added tests for navigation and improved test generation logic 2017-02-01 23:56:57 +01:00
squidfunk
3783eceb09 Implemented Gemini screenshot testing base 2017-01-28 20:25:30 +01:00
squidfunk
c4ba189c05 Only show active subsection on screen when tabs are active 2017-01-28 17:56:34 +01:00
squidfunk
9a36dd67b2 Remove headerlink on top-level headline again 2017-01-27 23:37:24 +01:00
squidfunk
82a98ae9d3 Reduce repaints on scroll with new tabs 2017-01-27 23:21:41 +01:00
squidfunk
c994ce1dd9 Fixed a bug with breakpoints and sidebar height 2017-01-27 23:09:31 +01:00
squidfunk
4c4edff9cb Cleaned up and refactored tabs implementation 2017-01-27 22:41:55 +01:00
squidfunk
53e1977c65 Only directly show shadow on header, in case JS is not available 2017-01-26 23:20:38 +01:00
squidfunk
33616c7deb Merge branch 'master' into refactor/sidebar-height-spacing 2017-01-26 23:08:31 +01:00
squidfunk
25e1960511 Added dynamic box shadow on header 2017-01-26 22:58:24 +01:00
squidfunk
758ae36c92 Fixed offsets of targetted headlines 2017-01-26 22:39:42 +01:00
squidfunk
e9af74f3df Merge branch 'master' of github.com:squidfunk/mkdocs-material into refactor/sidebar-height-spacing 2017-01-26 21:33:49 +01:00
squidfunk
c3231f1a9e Increased sidebar font size 2017-01-26 21:30:19 +01:00
squidfunk
fc71fd4c71 Added style for tabs 2017-01-26 21:18:31 +01:00
squidfunk
2c3ae17131 Refactored sidebar/container spacing for arbitrary height elements above content 2017-01-26 14:20:40 +01:00
squidfunk
8b28c1f5a1 Proof-of-concept search highlighting 2017-01-25 00:43:01 +01:00
squidfunk
f474f63d6b Merge master into HEAD 2017-01-24 23:29:22 +01:00
squidfunk
aa8b3a6cf7 Added string pre-processing step to indexing 2017-01-24 23:25:49 +01:00
squidfunk
b09e334f3f Fix requirement for Math.sign 2017-01-22 13:59:23 +01:00
squidfunk
32ffc58d12 Track scroll direction to reset index cache 2017-01-22 13:05:12 +01:00
squidfunk
680725ed3a Revert last PR - still some problems to tackle 2017-01-16 00:35:00 +01:00
squidfunk
61533af0ef No more need for csscalc and container height adjustment logic 2017-01-16 00:18:21 +01:00
squidfunk
460164b560 Scrollwrap must be stretched to full height for mobile 2017-01-15 15:14:08 +01:00
squidfunk
ceea88e066 Only set shadow on search results when active 2017-01-15 15:00:38 +01:00
squidfunk
ed1ae7226a Further reduction of repaints by refactoring sidebar 2017-01-15 14:57:06 +01:00
squidfunk
823b24aa9c Setting overflow to hidden removes appearing scrollbar 2017-01-14 22:55:58 +01:00
squidfunk
e0855d4002 Remove float on inner content area 2017-01-14 22:40:55 +01:00
squidfunk
c55cf5cba9 Hide logo on mobile 2017-01-14 20:13:10 +01:00
squidfunk
180da60770 Set overflow property to auto 2017-01-14 19:48:00 +01:00
squidfunk
7178bb4180 Fixed footer back reference positions 2017-01-14 18:42:07 +01:00
squidfunk
4086c2c973 Fixed massive repaints when scrolling 2017-01-13 13:02:28 +01:00
squidfunk
f850641437 Fixed IE bug leading to non-expanding navigation 2017-01-13 00:09:16 +01:00
squidfunk
c7ace3eba9 Updated dependencies to latest stable releases 2017-01-12 20:54:20 +01:00
squidfunk
1a32e9b7e3 Remove icon ligatures from HTML to fix search indexing 2017-01-11 23:49:36 +01:00
squidfunk
2dbf60affd Don't break links inside tables 2017-01-10 00:19:51 +01:00
squidfunk
6033519d15 Added max-width for iframe and svg 2017-01-10 00:02:37 +01:00
squidfunk
bfca02762d Fix target offset for footnotes 2017-01-09 23:43:11 +01:00
squidfunk
7a6db53801 Set SVGs to inherit fill color for easier styling 2017-01-09 22:51:18 +01:00
squidfunk
fcbe7f6384 Improved contrast for code blocks 2017-01-09 22:46:19 +01:00
squidfunk
7fd950872c Replace GitHubEmoji with Emoji 2017-01-09 22:25:15 +01:00
squidfunk
3568043dea Added block styles for critic extension 2017-01-09 22:10:09 +01:00
squidfunk
6d01f17193 Fix icons and build due to jinja changes 2017-01-08 18:27:01 +01:00
squidfunk
03604c5e27 Added some inline documentation fixes 2017-01-07 20:23:04 +01:00
squidfunk
ebff8b795b Fix widths for media queries in JavaScript 2017-01-07 18:02:21 +01:00
squidfunk
d53945a89a Fix search bar offset when there's no repository information 2017-01-06 19:31:56 +01:00
squidfunk
60624bfa82 Localize edit button and hide on print 2017-01-06 19:18:17 +01:00
squidfunk
56207162fe Adjust maximum grid width so 80 char code fits without overflow 2017-01-06 19:04:52 +01:00
squidfunk
41121cf582 Keep colors when printing 2017-01-06 18:57:43 +01:00
squidfunk
b273c429d9 Fixed basic authentication for search index retrieval 2017-01-06 18:19:15 +01:00
squidfunk
33c183754c Added iOS overflow scrolling to MathJax integration 2017-01-05 08:37:54 +01:00
squidfunk
45208dea73 Fixed: admonition codes did not match those of RTD theme 2017-01-05 08:31:58 +01:00
squidfunk
01054414c8 Fixed #79: Modularized social links integration 2017-01-04 20:16:12 +01:00
squidfunk
0198e5e98e Fixes #84: Icon overlaps text in mobile menu 2017-01-04 19:47:41 +01:00
squidfunk
ddd7e33581 Correct text alignment in tables 2017-01-03 22:22:30 +01:00
squidfunk
9617716652 Fix broken selectors for numeric anchors 2017-01-03 22:12:49 +01:00
squidfunk
510c0fdf5e Added styles for abbreviations 2017-01-03 20:45:40 +01:00
squidfunk
6806139d38 Fixed #82: Long links don't break 2017-01-03 20:23:11 +01:00
squidfunk
983e5bbf72 Simplify table styles 2017-01-02 22:41:15 +01:00
squidfunk
232e997ddc Replaced SASS Lint with Stylelint 2017-01-01 15:59:44 +01:00
squidfunk
763c23eebb Fix footnotes pseudo elements for offsets 2016-12-29 17:43:22 +01:00
squidfunk
67b2d84519 Ensure non-conflicting cache entries for loading data from GitHub 2016-12-29 15:31:56 +01:00
squidfunk
db4a8340d8 Fix sizing of logo in drawer 2016-12-29 15:03:18 +01:00
squidfunk
5ef3ec7aa3 Add scrollfix for iOS 2016-12-29 14:19:26 +01:00
squidfunk
9edf730873 Close search modal on anchor click 2016-12-29 12:49:45 +01:00
squidfunk
9f8ef33545 Add scroll shadow to drawer 2016-12-29 12:10:51 +01:00
squidfunk
a1105b81f1 CSS fixes for Firefox 2016-12-29 11:48:59 +01:00
squidfunk
9f3dde3957 Polyfill custom event creation for IE9-11 2016-12-29 10:50:19 +01:00
squidfunk
584a59ef8b Remove 'x' on search input in IE 2016-12-28 19:00:04 +01:00
squidfunk
db73d4863a Compatibility update for Internet Explorer 2016-12-28 18:54:26 +01:00
squidfunk
3f5957bd01 Fix source repository SVG sizing in IE/Edge 2016-12-28 17:59:29 +01:00
squidfunk
4ed0b1328f Add ESC handler to search modal 2016-12-28 17:32:56 +01:00
squidfunk
9d4a8409f9 Fix search mode 2016-12-28 17:13:07 +01:00
squidfunk
5ee95e4fe2 Better tints for source inside drawer + lighter footer credits 2016-12-28 16:54:59 +01:00
squidfunk
3222ec5a6e Truncate search results only for display 2016-12-28 16:37:50 +01:00
squidfunk
5e97b74471 Hide nav titles in collapsible navigation 2016-12-28 16:28:40 +01:00
squidfunk
f4c5344116 Finishing touches on drawer 2016-12-28 16:20:52 +01:00
squidfunk
27808a4899 Keep SVG optimizer from removing IDs 2016-12-28 14:58:42 +01:00
squidfunk
6364de1a2d Inline source repository SVGs 2016-12-28 14:47:53 +01:00
squidfunk
113ba5fd8b Fix initialization logic of toc blurring 2016-12-28 12:32:03 +01:00
squidfunk
96ae06f25c Fix initialization logic of sidebar 2016-12-28 12:24:42 +01:00
squidfunk
84dd88af69 Re-add edit link 2016-12-28 12:11:04 +01:00
squidfunk
e1310aa9ee Add -webkit-overflow-scrolling via JavaScript on navigation 2016-12-28 11:49:57 +01:00
squidfunk
dd59ed1f00 Remove anchor on h1, as it doesn't make any sense 2016-12-27 16:20:55 +01:00
squidfunk
36ac36c56a Fix anchor offsets for nav blurring 2016-12-27 16:10:06 +01:00
squidfunk
02296f6605 Full integration with PyMdown extensions 2016-12-27 12:26:25 +01:00
squidfunk
124a6b2438 Put webfonts into separate template block and init fonts 2016-12-27 10:56:13 +01:00
squidfunk
457315315b Small visual fixes for new footer meta section 2016-12-26 18:34:42 +01:00
squidfunk
c0fcd8f8c5 Integrated social icons and moved copyright banner below footer navigation 2016-12-26 18:26:34 +01:00
squidfunk
f6d9a91995 Unify access via data attributes 2016-12-26 14:47:50 +01:00
squidfunk
5000e3ee8d Refactored wrapper structure to allow variable-sized sticky footer 2016-12-26 14:31:16 +01:00
squidfunk
d86dadf4bd Fix height when main content is shorter than sidebar 2016-12-24 08:10:55 +01:00
squidfunk
7702904526 Set max-width for images in typesetted content 2016-12-19 18:32:48 +01:00
Brendan Abbott
6dd7789a2a Only request facts if a repo is present 2016-12-19 14:08:40 +10:00