Commit Graph

443 Commits

Author SHA1 Message Date
squidfunk
9005ae2381 Fixed search bar alignment on big screens 2017-10-19 09:27:42 +02:00
squidfunk
9c3134750e Fixed backward compatibility for localization 2017-10-18 21:56:53 +02:00
squidfunk
c1e541b32b Added localization to clipboard 2017-10-18 20:44:15 +02:00
squidfunk
6703454356 Fixed Flow errors temporarily 2017-10-18 20:44:15 +02:00
squidfunk
00911b7350 Improved passing i18n values to JavaScript 2017-10-18 20:44:15 +02:00
Martin Donath
4151875a93 Merge branch 'master' into fix/scrollbar-on-short-content 2017-10-18 19:36:42 +02:00
squidfunk
716971d13d Fixed vertical scrollbar on short pages 2017-10-18 19:35:24 +02:00
Jonas Fonseca
2e728cc9f6 Improve printing of code blocks
- Hide clipboard icon
 - Wrap code and hide the scrollbar
2017-10-16 07:48:49 +02:00
Lukas Geiter
253596c58d Keep search open on enter without selection 2017-10-12 17:02:54 +02:00
squidfunk
85a8b1041b Fixed vertical scrollbar on some MathJax formulas 2017-10-11 19:24:50 +02:00
squidfunk
0ff0b46c7a Fixed footnote backref target offsets regression 2017-10-11 18:37:08 +02:00
squidfunk
ea81720a52 Fixed Safari sidebar height bug 2017-10-06 10:59:43 +02:00
squidfunk
91b87d1c91 Fixed bold code blocks rendering normal font 2017-09-14 11:35:48 +02:00
squidfunk
2537e39c75 Added support for configurable icon as logo 2017-09-01 19:59:48 +07:00
squidfunk
2ae628ed6d Fixed incorrect color transition for nested pane in mobile navigation 2017-09-01 19:59:48 +07:00
squidfunk
bca99813d1 Fixed error in mobile navigation in case JavaScript is not available 2017-09-01 19:59:48 +07:00
squidfunk
6a8eb11378 Improve tasklist checkbox styling 2017-09-01 19:59:48 +07:00
squidfunk
aff623aaac Fixed uninitialized overflow scrolling on main pane for iOS 2017-09-01 19:59:48 +07:00
squidfunk
19feb7a67d Replaced ligatures with Unicode code points 2017-08-29 22:28:53 +07:00
squidfunk
1e5611f1e8 Added polyfill for details and adjusted social footer 2017-08-29 21:17:16 +07:00
squidfunk
cf78aa3a9a Added new admonition classes and finished details 2017-08-29 18:46:07 +07:00
squidfunk
c8d11a83bb Merge branch 'master' into feat/pymdown-details
Conflicts:
	material/base.html
2017-08-29 14:26:43 +07:00
squidfunk
39c38e6812 Fixed spacing for new admonition styles 2017-08-29 14:11:38 +07:00
squidfunk
4d4c76c979 Added basic implementation for details 2017-08-29 13:17:26 +07:00
squidfunk
35dbc1c0bb Refactored Admonition styles 2017-08-26 18:36:49 +07:00
squidfunk
cc7facb199 Fixed missing pagination on GitHub API 2017-08-07 19:10:11 +02:00
squidfunk
c0164698cd Merge branch 'master' into feat/search-separator 2017-08-02 14:15:48 +02:00
squidfunk
bbb3455c52 Added support for lazy rendering of search results 2017-08-02 14:09:13 +02:00
squidfunk
8ff457a7fc Upgraded dependencies and fixed ESLint regression 2017-08-02 12:21:36 +02:00
squidfunk
d204b63ee4 Added search separator customization option 2017-07-27 23:27:27 +02:00
squidfunk
ef1c5a4043 Added search separator customization option 2017-07-27 22:48:47 +02:00
squidfunk
bda96f88df Improved search user experience 2017-07-25 17:07:16 +02:00
squidfunk
357c6f4122 Improved search matching and highlighting 2017-07-25 16:50:15 +02:00
squidfunk
fce9e77c26 Fixed broken forms due to search shortcuts 2017-07-25 16:11:26 +02:00
squidfunk
cb8900d973 Fixed functional link colors in TOC for active palette 2017-06-14 14:57:28 +02:00
squidfunk
ad9388ab42 Upgraded dependencies 2017-06-13 15:11:03 +02:00
squidfunk
ba0b46e9b0 Fixed non-disappearing tooltip 2017-06-06 21:54:39 +02:00
squidfunk
e5761ccfb1 Fixed offset of search box when repo url is not set 2017-06-06 20:52:14 +02:00
squidfunk
6abed20acb Fixed wrong offset of targeted footnote backrefs 2017-06-01 22:47:57 +02:00
squidfunk
95d014032f Fixed wrong z-index order of header, overlay and drawer 2017-06-01 22:28:10 +02:00
squidfunk
271d974266 Merge branch 'master' into feature/lunr-languages-integration 2017-06-01 09:14:10 +02:00
squidfunk
d17b0fbb90 Fixed search highlighting for non-latin languages 2017-06-01 00:54:06 +02:00
squidfunk
974f07ccb4 Added support for multilingual search 2017-06-01 00:40:10 +02:00
squidfunk
745058c77e Removed unnecessary stuff 2017-05-31 17:06:02 +02:00
squidfunk
bca2077c1e Added clipboard active color to palettes 2017-05-31 16:50:11 +02:00
squidfunk
0253d6e6c8 Added support for superfences without codehilite 2017-05-31 16:34:20 +02:00
squidfunk
fba1883def Refactored clipboard initialization 2017-05-31 16:22:00 +02:00
squidfunk
13cd1d1a26 Merge branch 'master' into feature/clipboard-js-integration 2017-05-31 15:31:17 +02:00
squidfunk
670ae4a44c Refactored clipboard integration, not finished 2017-05-31 15:22:59 +02:00
squidfunk
c07ef90f0e Migrated changes from @facelessuser to code base [ci skip] 2017-05-31 12:25:54 +02:00
squidfunk
f717345ec9 Removed unnecessary argument in Promise 2017-05-24 16:09:24 +02:00
squidfunk
0e30256604 Fixed JavaScript error for GitHub organization URLs 2017-05-24 16:09:24 +02:00
Martin Donath
db397f3151 Merge branch 'master' into clipboard 2017-05-16 21:07:26 +02:00
squidfunk
e473a1fedc Fixed undefined source stats for private repositories 2017-05-16 19:41:12 +02:00
facelessuser
4b6ffe6628 Add clipboard.js support 2017-05-15 18:31:10 -06:00
squidfunk
3516542c98 Removed second underline on abbreviations 2017-05-15 11:37:00 +02:00
squidfunk
6b5629317f Removed ligatures on monospace fonts 2017-05-15 11:27:22 +02:00
squidfunk
58288f87ac Fixed miscalculated sidebar height 2017-05-15 10:53:41 +02:00
squidfunk
6609324bd6 Fixed layer order of search component elements 2017-04-23 21:05:13 +02:00
squidfunk
7ae0a42654 Fixed following of link if search input is focused 2017-04-23 20:52:27 +02:00
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
463fd5202d Removed commented out code 2017-04-08 19:01:27 +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
85d0a82706 Adjusted module name for import 2017-04-04 17:46:12 +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
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
25b366ce7f Prototype fixing sidebar re-positioning 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
5e5b680fa0 Added final tests for navigation 2017-02-12 18:31:05 +01:00
squidfunk
31836391e1 Added further tests for navigation 2017-02-12 16:53:04 +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
0eb24a04ae Merge branch 'master' into chore/setup-gemini-test-environment 2017-01-28 17:57:37 +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
71b300aaa1 Added possibility to add tabs 2017-01-26 21:10:52 +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
b04c3d1354 Merge branch 'master' into chore/setup-gemini-test-environment 2017-01-22 14:10:43 +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
21f2617c9c Remove ... on hooks 2017-01-18 23:26:22 +01:00
squidfunk
203087bcb1 Initial setup of Gemini and first testcases 2017-01-18 23:23:45 +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
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
f37bb76d18 Update copyright 2017-01-06 19:11:18 +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