Commit Graph

406 Commits

Author SHA1 Message Date
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
c4c7beaefa Fixed case where table of contents icon is missing on mobile navigation 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
12e12135c1 Move button into content block 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
bbc48e75bf Fixed missing link in tabs navigation on deeply nested items 2017-03-02 16:02:32 +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
d52f605200 Refactored and cleaned up partials 2017-02-26 15:06:50 +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
de3bd8d665 Added disqus integration 2017-02-24 22:58:30 +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
07329f4304 Merge branch 'master' into chore/setup-gemini-test-environment 2017-02-08 23:30:46 +01:00
squidfunk
f40585f528 Fixed Jinja error for raw HTML header tags 2017-02-08 23:17:37 +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
79f277c8fe Activate root tab when there'e an active page on the root level 2017-01-27 23:54:52 +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
364309d47a Restructured partials 2017-01-13 00:31:37 +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
cecd1f1d7c Drop 'with' in templates to be compatible with Jinja < 2.9 2017-01-10 00:15:44 +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
cb9a563a78 Add access key attribute to search input 2017-01-09 22:13:13 +01:00
squidfunk
3568043dea Added block styles for critic extension 2017-01-09 22:10:09 +01:00
squidfunk
82b8c71059 Removed automatic MathJax inclusion 2017-01-09 21:41:30 +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
fde28c3f47 Put repo block definition in source.html 2017-01-06 19:08:09 +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
4d4e869f02 Add titles to links in footer 2017-01-06 18:52:12 +01:00
squidfunk
42d6525c50 Bring back i18n 2017-01-06 18:48:32 +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
b22e571f31 Fixes #77: Replace linebreak in footer with CSS solution 2017-01-03 20:57:59 +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
344ce1f4fa Make theme installable 2017-01-02 08:58:18 +01:00
squidfunk
9e6d347db0 Fix deprecation warning 2017-01-02 08:57:19 +01:00
squidfunk
232e997ddc Replaced SASS Lint with Stylelint 2017-01-01 15:59:44 +01:00
squidfunk
ca0de52b45 Fix rendering of empty pane in mobile navigation when no headlines are given 2016-12-30 21:11:05 +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
acece94694 Fix output of HTML minifier 2016-12-29 10:27:25 +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
b3fcd629a3 Make logo configurable via mkdocs.yml 2016-12-28 15:32:26 +01:00
squidfunk
27808a4899 Keep SVG optimizer from removing IDs 2016-12-28 14:58:42 +01:00
squidfunk
1e35478b44 Add config.extra.repo_icon option for source icon 2016-12-28 14:50:11 +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
be5c94128d Replace icons in mobile navigation with right chevrons 2016-12-28 10:21:25 +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
64874a9583 Correct wrong value for background-color 2016-12-27 12:46:07 +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
2cb7e30568 Perform line break only when there is a copyright banner 2016-12-26 18:52:25 +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
e08802aed1 Correct footer padding so that it matches header padding 2016-12-26 14:54:10 +01:00
squidfunk
f6d9a91995 Unify access via data attributes 2016-12-26 14:47:50 +01:00
squidfunk
72cfa5b7bc Credit source for variable-height sticky footers [ci skip] 2016-12-26 14:34:17 +01:00
squidfunk
5000e3ee8d Refactored wrapper structure to allow variable-sized sticky footer 2016-12-26 14:31:16 +01:00
squidfunk
de177ca0c5 Corrected formatting of transition definitions 2016-12-24 15:16:21 +01:00
squidfunk
d86dadf4bd Fix height when main content is shorter than sidebar 2016-12-24 08:10:55 +01:00
squidfunk
13b55fa165 Fix off-by-one error in anchor blurring logic 2016-12-24 07:24:42 +01:00
squidfunk
7702904526 Set max-width for images in typesetted content 2016-12-19 18:32:48 +01:00
Martin Donath
f2662fad38 Merge pull request #70 from brendo/fix-no-repo-header
Handle when no config.repo_url is available
2016-12-19 18:18:23 +01:00
Martin Donath
df4351e6bc Merge pull request #72 from brendo/easier-templating
Add a 'header' template block for easier customisation
2016-12-19 18:17:30 +01:00
Brendan Abbott
5783e9de08 Add a 'header' template block for easier customisation 2016-12-19 16:20:09 +10:00
Brendan Abbott
bf98f49819 Allow a user to scale the site if they'd like 2016-12-19 15:44:52 +10:00
Brendan Abbott
6dd7789a2a Only request facts if a repo is present 2016-12-19 14:08:40 +10:00
Brendan Abbott
66f8aae310 Handle when no config.repo_url is available 2016-12-19 13:57:45 +10:00
squidfunk
91c4926fe3 Fix highlight colors for navigation links 2016-12-18 14:22:08 +01:00
squidfunk
2ae22c2e3b Added pandoc table styles to specimen 2016-12-18 14:02:20 +01:00
squidfunk
2c8a324324 Integrated data table styles from 0.2.x 2016-12-18 13:29:03 +01:00
squidfunk
bb9a4a752d Fix specificity problem for permalinks color 2016-12-17 13:00:15 +01:00
squidfunk
41fb9cd97a Integrated palettes from 0.2.x 2016-12-17 12:53:24 +01:00
squidfunk
b44c503008 Refactored search result styles 2016-12-16 09:21:31 +01:00
squidfunk
3a73abad08 Added breadcrumbs in header 2016-12-15 20:04:30 +01:00
squidfunk
420b841ecf Bring back h1 headline handling from 0.2.4 2016-12-15 18:29:46 +01:00
Martin Donath
ab99591d76 Merge branch 'rework' into specimen-updates 2016-12-15 16:48:42 +01:00
squidfunk
fe12548f8e Merge pull request #65 from brendo:issue-63-mkdocs-016-compatible 2016-12-15 16:43:40 +01:00
squidfunk
49020c51ae Remove unused import 2016-12-15 15:58:53 +01:00
squidfunk
2fcfb551be Refactored JavaScript architecture 2016-12-15 15:55:40 +01:00
Brendan Abbott
9eae3956b7 Correct table styles, fix inline code link style 2016-12-03 15:17:42 +10:00
squidfunk
65f23355c8 Added support for tasklist and critic extension + em fixes 2016-11-05 23:26:07 +01:00
squidfunk
0d5e66d9a5 Refactored JavaScript into components 2016-11-02 19:21:14 +01:00
squidfunk
18fd27024c Added lighter and smoother styles for admonition 2016-11-01 21:38:06 +01:00
squidfunk
f1af230918 Finished footnotes integration 2016-10-30 11:02:18 +01:00
squidfunk
8cac945757 Finished full integration for CodeHilite 2016-10-30 10:36:18 +01:00
squidfunk
669d7cbc19 Added print styles for links 2016-10-25 10:14:55 +02:00
squidfunk
d3ed8ccec6 Added basic styles for @media print 2016-10-24 18:02:53 +02:00
squidfunk
26b1de049b Removed temporary rules in shame 2016-10-23 19:32:27 +02:00
squidfunk
83c5c7512b Cleaned up search modal styles 2016-10-23 19:31:54 +02:00
Martin Donath
e61f12d429 Merge pull request #58 from brendo/dynamic-source-version
Use `extra.version` if it is available when generating source partial
2016-10-23 16:55:46 +02:00
Brendan Abbott
3537235d78 Add GithubSourceFacts, which abstracts fact fetching for Github sources 2016-10-23 19:49:22 +10:00
squidfunk
95435e7035 Implemented basic search modal functionality 2016-10-23 10:21:37 +02:00
Brendan Abbott
d5a78ce396 Use extra.version if it is available when generating source partial 2016-10-23 18:11:44 +10:00
squidfunk
46b7e0f5fe Refactored admonition styles to be slightly lighter 2016-10-21 21:15:35 +02:00
squidfunk
507e98871e Improve performance by reducing compound repaints 2016-10-18 20:53:08 +02:00
squidfunk
a18eb4f982 Add extra.repo_type config option to override link parser 2016-10-16 18:22:07 +02:00
squidfunk
eaeba59dd8 Added guards for repository banner 2016-10-16 17:08:34 +02:00