squidfunk
9c9ea8a64d
Refactored instant loading and some other components
2021-02-12 12:12:49 +01:00
Benjamin Staneck
07c4379221
Replaced deprecated -webkit-details-marker ( #2285 )
...
[Deprecation] ::-webkit-details-marker pseudo element selector is deprecated. Please use ::marker instead. See https://chromestatus.com/feature/6730096436051968 for more details.
2021-02-11 20:33:15 +01:00
squidfunk
884330da3b
Centralized fetch methods
2021-02-11 19:41:34 +01:00
squidfunk
4808b46dfb
Fixed build
2021-02-07 18:14:43 +01:00
squidfunk
975f830dbb
Fixed SCSS linter errors
2021-02-07 18:08:21 +01:00
squidfunk
208c9ac3fd
Migrated to ESLint
2021-02-07 17:43:13 +01:00
squidfunk
4744d5f3f0
Refactored search initialization
2021-02-07 17:18:10 +01:00
squidfunk
ae867d484b
Squashed commit of the following:
...
commit 9b5b80380fc81f5a68828e22754f0e7d53b0dea0
Author: squidfunk <martin.donath@squidfunk.com>
Date: Sun Feb 7 16:25:06 2021 +0100
Refactored more stuff
commit 5a2108254f1222db7de08690e13c24e972ea19c0
Author: squidfunk <martin.donath@squidfunk.com>
Date: Sun Feb 7 13:48:16 2021 +0100
Refactored more stuff
commit b3a112f4bddefebcf9dbd1d0ffe240d86fc9aa08
Author: squidfunk <martin.donath@squidfunk.com>
Date: Sun Feb 7 12:02:42 2021 +0100
Refactored more stuff
commit bff323b6b81571021c0ac9be6f637de7728447a5
Author: squidfunk <martin.donath@squidfunk.com>
Date: Sat Feb 6 18:14:52 2021 +0100
Refactored search result list
commit 27b7e7e2da3b725797ad769e4411260ffd35b9f8
Author: squidfunk <martin.donath@squidfunk.com>
Date: Sat Feb 6 17:12:36 2021 +0100
Refactored more components
commit 3747e5ba6d084ed513a2659f48f161449b760076
Author: squidfunk <martin.donath@squidfunk.com>
Date: Sun Jan 24 18:56:26 2021 +0100
Implemented new architecture for several components
commit ea2851ab0f27113b080c2539a94a88dc0332be84
Author: squidfunk <martin.donath@squidfunk.com>
Date: Sun Jan 24 14:53:42 2021 +0100
Removed unnecessary height declaration for sidebars
commit 3c3f83ab4ef392dbabf1a11afba2556e529b1674
Merge: 91d239d8 13024179
Author: squidfunk <martin.donath@squidfunk.com>
Date: Sun Jan 24 13:04:49 2021 +0100
Merge branch 'master' into refactor/observable-architecture
commit 91d239d86649b9571b376011669bc73a7865b186
Author: squidfunk <martin.donath@squidfunk.com>
Date: Sat Jan 9 13:11:04 2021 +0100
Started refactoring observable architecture
2021-02-07 16:28:16 +01:00
squidfunk
c942a2e527
Fixed linting errors
2021-02-06 12:52:43 +01:00
squidfunk
0116f636f2
Prototyped icon search
2021-02-06 12:35:19 +01:00
squidfunk
08340e42a1
Simplified font configuration CSS
2021-02-06 09:57:40 +01:00
squidfunk
5666b7c625
Moved all overrides to common directory
2021-02-06 09:35:03 +01:00
fugaco
2ba9533c25
Updated Japanese translations ( #2268 )
...
Co-authored-by: fugaco <--global>
2021-02-04 11:39:45 +01:00
squidfunk
e3c608ace6
Fixed auto-closing print dialog when using instant loading
2021-02-02 20:51:42 +01:00
Jakub
2251be4f68
Update Polish translations ( #2262 )
2021-02-01 10:00:38 +01:00
squidfunk
ee4efb4f5b
Added Bulgarian translations
2021-01-26 09:49:46 +01:00
squidfunk
9ca69ed274
Updated Insiders documentation
2021-01-25 09:54:19 +01:00
squidfunk
130241791d
Formatting
2021-01-24 13:02:42 +01:00
squidfunk
be1f9c113e
Fixed search not being shown when using header autohiding
2021-01-24 11:51:10 +01:00
squidfunk
ebd8839a03
Formatting
2021-01-17 10:41:10 +01:00
Oleh Prypin
81a13f6bc6
Optimized nested navigation rendering: don't cross template boundary ( #2213 )
...
The number of calls to sub-templates when rendering the navigation is O(n^2) relative to the number of pages. This is the only such instance, which is why I think this is worth optimizing.
The optimization here doesn't improve the complexity, it just removes the overhead of instantiating a new Jinja template for each of these calls.
E.g. for 710 pages on the site, the number of calls to Jinja's `get_template` (implying `new_context` and others) crosses a million ==(710**2)*2. They're not expensive but also not super cheap, and add up to a big percentage of overall site build times.
2021-01-17 10:38:03 +01:00
allmightyse
1e0a242d92
Fixed syntax error in Swedish translations ( #2210 )
...
* Update sv.html
#2209 Correct syntax error from ; to :
* Update sv.html
2021-01-15 15:03:13 +01:00
squidfunk
5b1ee2ac98
Fixed Disqus integration being shown on 404 pages
2021-01-09 13:14:42 +01:00
squidfunk
7c0ccd4bff
Added documentation for native Mermaid integration (experimental)
2021-01-02 15:55:31 +01:00
squidfunk
9203255595
Removed ResizeObserver polyfill due to decent browser support
2021-01-01 17:16:24 +01:00
squidfunk
b825d222a4
Refactored resize observer
2020-12-30 18:40:34 +01:00
squidfunk
a339a8afb6
Renamed 'language' partials folder into 'languages' for consistency
2020-12-30 13:21:27 +01:00
squidfunk
45aff3cfc5
Fixed table of contents highlighting for active anchor links
2020-12-30 11:05:23 +01:00
squidfunk
82b0ea8b0e
Added syntax highlighting for binary numbers (Pygments)
2020-12-30 10:52:10 +01:00
squidfunk
b89705bb2e
Added back hidden overflow on root container
2020-12-27 11:35:17 +01:00
squidfunk
afff64df99
Fixed cropping of MathJax formulas on some browsers
2020-12-22 17:42:57 +01:00
squidfunk
f3ad7e2f28
Reverted scroll-margin-top solution for anchors due to poor Safari support
2020-12-22 12:30:32 +01:00
squidfunk
65b41bbc9d
Updated documentation
2020-12-21 17:38:58 +01:00
squidfunk
7a9147cfb7
Adjusted color of horizontal ruler
2020-12-20 16:09:42 +01:00
squidfunk
d754bd9a71
Merge of Insider features part of 'Prairie Fire' funding goal
2020-12-20 15:00:21 +01:00
Javier
ccbe8db6ee
Updated Spanish translations ( #2132 )
...
The word "Falta" is more appropriate.
2020-12-16 09:36:59 +01:00
squidfunk
7e78c4d8b7
Added distribution files
2020-12-15 09:02:26 +01:00
Martin B
bf9920b42b
Updated Swedish translations ( #2127 )
...
* Update sv.html
* Update sv.html
2020-12-15 09:01:04 +01:00
Javier
9c0351b008
Updated Spanish translations ( #2126 )
...
* Update es.html
Added missing translations in spanish language
* Update es.html
2020-12-15 08:59:51 +01:00
squidfunk
ca05a2d342
Fixed stats for private GitHub repositories
2020-12-06 11:15:13 +01:00
squidfunk
02260682ea
Fixed Admonition rendering for right-to-left languages
2020-11-22 18:24:19 +01:00
squidfunk
4735169b29
Reduced upper glow (shadow) on Admonition bar
2020-11-22 14:00:32 +01:00
squidfunk
cda11a529a
Removed box shadow on collapsed Admonitions
2020-11-22 13:51:41 +01:00
squidfunk
c90b9211f4
Updated documentation
2020-11-15 22:25:11 +01:00
squidfunk
874c015984
Fixed scrollbar showing on Windows for math formulas
2020-11-15 17:15:12 +01:00
squidfunk
0135353b7d
Fixed invalid display strategy of search reset button
2020-11-15 15:55:21 +01:00
squidfunk
3872efc0fe
Fixed unnecessary repaint when scrolling up with tabs
2020-11-13 11:20:46 +01:00
squidfunk
86a4c47c0a
Switched to Jinja's safer string concatenation operator
2020-11-08 11:13:02 +01:00
squidfunk
acc4a273c4
Simplified conditionals in templates
2020-11-07 16:09:06 +01:00
squidfunk
a9c782768e
Fixed sidebar jitter when scrolling footer into view
2020-11-07 12:26:31 +01:00
squidfunk
6d671bf246
Formatting
2020-11-07 10:17:50 +01:00
squidfunk
72494f08bb
Added support for meta keywords
2020-11-05 21:10:58 +01:00
Writeup
6608f3a439
Added support for meta keywords ( #2029 )
...
* Update mkdocs.yml
* Update base.html
2020-11-05 21:07:35 +01:00
squidfunk
82addc9cec
Merge branch 'master' of github.com:squidfunk/mkdocs-material
2020-11-03 17:54:52 +01:00
squidfunk
aaa65f4df6
Fixed inconsistent scaling of line numbers for smaller code blocks
2020-11-03 17:54:36 +01:00
Writeup
81944ae1a1
Added Chinese translations for initializing search ( #2026 )
...
* Update zh.html
* Update zh-Hant.html
* Update zh-TW.html
2020-11-02 18:03:33 +01:00
squidfunk
45799563be
Removed focus outline on click for scrolling code blocks
2020-10-31 19:10:01 +01:00
squidfunk
a3c0e46d12
Formatting
2020-10-31 18:42:48 +01:00
squidfunk
93692a7950
Fixed defaut link colors for black and white primary colors on slate color scheme
2020-10-31 18:09:15 +01:00
squidfunk
0aff83ecb3
Fixed sizing of icons after dependency update
2020-10-31 15:42:11 +01:00
squidfunk
87b706f19e
Fixed instant loading not correctly updating page title
2020-10-31 14:29:20 +01:00
squidfunk
3b12c56e83
Updated landing page
2020-10-20 10:11:56 +02:00
squidfunk
24bcf9de53
Removed unnecessary URL filter
2020-10-18 11:56:29 +02:00
squidfunk
48b4120b8f
Fixed relative homepage links for nested pages when building locally
2020-10-18 11:52:29 +02:00
squidfunk
ab60de2b61
Fixed unreadable print view when using dark mode
2020-10-17 16:45:20 +02:00
squidfunk
c6a67ec093
Fixed hidden content tabs when printing
2020-10-17 16:37:40 +02:00
squidfunk
8eb2375551
Added proper border to summary to allow easier styling
2020-10-17 16:27:19 +02:00
squidfunk
750551355f
Replaced bottom border with underline for search markers
2020-10-11 17:45:06 +02:00
squidfunk
ae3a372805
Documentation
2020-10-04 18:54:48 +02:00
squidfunk
454339bd35
Fixed site_url (link behind home button) for usage from file://
2020-10-04 18:37:52 +02:00
squidfunk
b3271bab9f
Fixed search result placeholder not resetting correctly
2020-10-04 15:40:58 +02:00
squidfunk
e277ad635b
Removed placeholder when search input is focused
2020-10-04 15:24:21 +02:00
squidfunk
e149006af9
Escaped link titles where necessary
2020-10-04 14:24:43 +02:00
squidfunk
52787c6a9c
Removed unnecessary title attributes in links
2020-10-04 14:18:10 +02:00
squidfunk
69d0789b44
Documentation
2020-10-04 13:30:08 +02:00
squidfunk
6248412844
Added Georgian translations
2020-10-04 13:29:24 +02:00
squidfunk
bf9f9bf16e
Fixed search replacing %20 with + in document URLs
2020-10-01 09:28:16 +02:00
squidfunk
388a095766
Documentation
2020-09-27 23:27:32 +02:00
squidfunk
da7b209978
Refactored search result templates
2020-09-27 23:26:51 +02:00
squidfunk
baeb4cc5bd
Fixed source integrations after refactoring
2020-09-27 22:58:33 +02:00
squidfunk
c7ddada630
Fixed linter errors
2020-09-27 22:50:00 +02:00
squidfunk
9c4009f608
Removed SVG factories to further reduce size
2020-09-27 22:35:28 +02:00
squidfunk
ab513f036e
Replaced operators: ajax -> fetch, pluck -> map
2020-09-27 22:19:38 +02:00
squidfunk
0c4ddfcd70
Reverted addEventListener for media query (hello iOS Safari, I'm looking at you)
2020-09-27 21:01:16 +02:00
squidfunk
588813e67b
Removed ramda dependency to save another 2-3kb
2020-09-27 20:36:18 +02:00
squidfunk
0de55b3cf8
Moved search result icon to CSS for deduplication
2020-09-27 20:23:28 +02:00
squidfunk
723d040609
Fixed tabbing behavior when search query is not empty
2020-09-27 19:28:15 +02:00
squidfunk
9fe00ec0af
Added stemmer support for file:// protocol through iframe-worker
2020-09-27 19:09:09 +02:00
squidfunk
ee808c769e
Fixed header title component
2020-09-27 18:07:48 +02:00
squidfunk
7820d85949
Removed inapproriately used fromEventPattern factories
2020-09-27 17:27:14 +02:00
squidfunk
d45c378d60
Switched to addEventListener for media query
2020-09-27 17:13:56 +02:00
squidfunk
063071550c
Fixed unclosed comment
2020-09-27 16:02:43 +02:00
squidfunk
90691a459a
Updated banner image
2020-09-27 15:45:40 +02:00
squidfunk
091fe4426f
Removed details marker on Firefox for search result expansion
2020-09-27 15:22:59 +02:00
squidfunk
ca0b6a93b1
Updated Material icons and removed hero logic
2020-09-27 12:01:28 +02:00
squidfunk
085117ef82
Prefixed tabs and instant feature flags with 'navigation.*'
2020-09-27 10:13:41 +02:00
squidfunk
5be0004bcc
Fixed errors in merge
2020-09-27 09:47:23 +02:00
squidfunk
8f61fd3b56
Funding goal reached: merged back new search UI/UX from Insiders
2020-09-27 09:40:05 +02:00
squidfunk
e6ceb89d70
Removed deprecated meta data features
2020-09-27 08:54:36 +02:00
squidfunk
b9ce0862ec
Fixed table headers not wrapping correctly
2020-09-22 23:29:43 +02:00
squidfunk
01f1aed900
Added more bottom spacing for image captions
2020-09-22 18:08:09 +02:00
squidfunk
6725ec1aaa
Added tooltip for abbreviations on touch devices
2020-09-19 15:16:24 +02:00
Benjamin Staneck
f2de44f8d2
Fixed stylelint errors ( #1913 )
2020-09-07 19:04:26 +02:00
squidfunk
180b4c934d
Fixed build error when all feature flags are disabled
2020-09-06 12:09:57 +02:00
squidfunk
db00455b67
Improved compatibility with Insiders
2020-09-03 23:21:17 +02:00
squidfunk
0a0fee34d2
Fixed 404s on instant loading due to race condition
2020-08-30 14:26:07 +02:00
squidfunk
935c384789
Fixed sequential execution of scripts when using instant loading
2020-08-30 13:37:59 +02:00
squidfunk
9ab9508f9b
Fixed sequential execution of scripts when using instant loading
2020-08-30 13:32:38 +02:00
squidfunk
89a60c39e7
Moved clipboard icon to CSS to reduce size of large projects
2020-08-30 12:23:34 +02:00
squidfunk
1037d591be
Fixed Disqus integration, as the minifier killed the config
2020-08-28 19:41:49 +02:00
squidfunk
96f58edae6
Improved Disqus integration to be non-blocking
2020-08-28 18:26:55 +02:00
squidfunk
355a1cacd5
Fixed #1887 : Moved icons in navigation to CSS to reduce size of large projects
2020-08-28 18:20:23 +02:00
squidfunk
4488256885
Added Esperanto translations
2020-08-26 20:15:26 +02:00
squidfunk
cdb426d54e
Fixed tabs not showing external links
2020-08-26 20:06:47 +02:00
squidfunk
95cc609087
Fixed use of arrow function in inline JavaScript for overrides
2020-08-23 17:20:09 +02:00
squidfunk
d939a8f029
Fixed missing bottom padding for last nav item when tabs are enabled
2020-08-23 16:35:49 +02:00
squidfunk
8ee168954f
Removed focus outlines for details and tabs for pointer devices
2020-08-23 11:31:56 +02:00
squidfunk
e9795f382d
Removed unnecessary share replays
2020-08-22 18:36:37 +02:00
squidfunk
c7d770bbe3
Refactored other browser observables, removed memleaks
2020-08-22 18:03:47 +02:00
squidfunk
8a6b89ffe1
Refactored element observables, removed memleaks
2020-08-22 17:58:54 +02:00
squidfunk
989b8597c5
Fixed #1877 : 404 on search index when search is disabled
2020-08-22 17:36:27 +02:00
squidfunk
b54c46da1b
Fixed border radius for details
2020-08-17 10:04:43 +02:00
squidfunk
6a69b3c7da
Improved focus styles for details
2020-08-16 16:09:19 +02:00
squidfunk
972fb76843
Improved accessibility of content tabs
2020-08-16 15:40:58 +02:00
squidfunk
4e8fa6e201
Fixed erroneous comma in template
2020-08-16 14:42:34 +02:00
squidfunk
71bc294b67
Fixed theme colors for Android meta tag
2020-08-16 14:41:19 +02:00
squidfunk
81f4caee52
Improved contrast for number syntax highlighting
2020-08-16 10:47:57 +02:00
squidfunk
20aa7de82b
Improved contrast for constant syntax highlighting
2020-08-16 10:46:13 +02:00
squidfunk
8bc46a25be
Improved contrast for number syntax highlighting
2020-08-16 10:43:51 +02:00
squidfunk
41e340b12c
Improved contrast for string syntax highlighting
2020-08-16 10:41:32 +02:00
squidfunk
4a96f62e9a
Improved contrast for inline code blocks
2020-08-16 10:35:50 +02:00
squidfunk
31bbd76cd3
Improved contrast ratio of code blocks
2020-08-16 10:26:36 +02:00
squidfunk
e3d79b3b50
Switched base template for 404 to main.html
2020-08-12 19:45:56 +02:00
squidfunk
4639ff8313
Fixed #1864 : GitHub organisation stats not loading
2020-08-12 10:43:11 +02:00
squidfunk
0ccbcb6edb
Added documentation for data tables
2020-08-04 22:22:47 +02:00
squidfunk
1341200829
Fixed search for languages other than English (5.5.1 regression)
2020-08-04 12:47:07 +02:00
squidfunk
5593b54a4f
Fixed background repeat of (some) custom admonition icons
2020-08-02 23:17:02 +02:00
squidfunk
acd74225b3
Fixed tab labels being too small in admonitions
2020-08-02 22:17:36 +02:00
squidfunk
2cea481b9b
Reverted clipboard button changes
2020-08-02 18:49:03 +02:00
squidfunk
30c8c87da8
Fixed margins for Admonitions
2020-08-02 16:55:59 +02:00
squidfunk
0229cff048
Documentation
2020-08-02 15:24:49 +02:00
squidfunk
bc8864c25a
Improved highlighting colors and unified spacing for ins, del and mark
2020-08-02 15:14:28 +02:00
squidfunk
4c1ceb8bd1
Re-ordered color variables to be consistent
2020-08-02 12:41:44 +02:00
squidfunk
34b61cc395
Added distriution files for removed outline
2020-08-02 12:02:20 +02:00
squidfunk
e55829c87f
Removed ugly outline for details on touch devices
2020-08-02 11:59:43 +02:00
Adam Twardoch
d0de3bf1b2
Use more appropriate symbols for some keys ( #1836 )
...
* Update _keys.scss
* Update _keys.scss
Change to the keys
"arrow-down": "\2193", // ↓
"arrow-left": "\2190", // ←
"arrow-right": "\2192", // →
"arrow-up": "\2191", // ↑
"tab": "\21E5", // ⇥
also makes a few other lowercase hex numerals uppercase for consistency
* Revert "Update _keys.scss"
This reverts commit 55ceceb3c4
.
* Revert "Update _keys.scss"
This reverts commit 9b6361c0d7
.
* Update _keys.scss
Changed key visualization for
```
"arrow-down": "\2193", // ↓
"arrow-left": "\2190", // ←
"arrow-right": "\2192", // →
"arrow-up": "\2191", // ↑
"tab": "\21E5", // ⇥
```
and fixed a few lowercase hex to be uppercase for consistency.
2020-08-01 19:24:15 +02:00
squidfunk
a217be3ebd
Fixed copy-to-clipboard button overlaying code blocks
2020-08-01 19:16:07 +02:00
squidfunk
eba146d0bb
Improved print preview
2020-08-01 15:28:58 +02:00
squidfunk
4b2c0e5a88
Removed modular-scale and made typography entirely relative
2020-08-01 15:22:03 +02:00
squidfunk
6579e1d77d
Fixed top- and bottom spacing of paragraphs inside tables
2020-07-30 20:19:15 +02:00
squidfunk
1ec08b42dd
Fixed site title behavior when using front matter
2020-07-27 17:52:38 +02:00
squidfunk
af4f74b368
Refactored CSS overrides and added note in search docs
2020-07-27 17:36:24 +02:00
squidfunk
02748b0a52
Added support and documentation for image alignment and captions
2020-07-27 16:49:39 +02:00
squidfunk
17e2e03678
Added Open Graph and Twitter cards documentation
2020-07-27 14:44:47 +02:00
squidfunk
cb974e5bd4
Switched expose-loader with ProvidePlugin
2020-07-27 09:57:24 +02:00
squidfunk
b496e1a2c6
Renamed Sponsorship page to Insiders
2020-07-27 09:40:57 +02:00
squidfunk
748be34f8e
Added MathJax reference
2020-07-24 16:11:42 +02:00
squidfunk
a33fea95b3
Prepare 5.5.0 release
2020-07-24 12:12:11 +02:00
squidfunk
b0bb26ec99
Fixed Google Analytics not tracking URLs with instant loading
2020-07-24 10:54:48 +02:00
squidfunk
6d6811451b
Fixed race condition in instant loading
2020-07-24 10:47:26 +02:00
squidfunk
4e72d31043
Fixed Google Analytics not tracking URLs with instant loading
2020-07-24 10:40:15 +02:00
squidfunk
dd40970865
Fixed Google Analytics not tracking URLs with instant loading
2020-07-24 10:20:40 +02:00
squidfunk
7d3ca051fa
Improved balancing of color schemes
2020-07-24 10:13:21 +02:00
squidfunk
87f807adc5
Fixed styling of code blocks with line numbers
2020-07-24 10:00:54 +02:00
squidfunk
c431539a83
Refactored code syntax highlighting
2020-07-24 09:59:16 +02:00
squidfunk
32cc1c57b2
Fixed width of footer links above tablet breakpoint
2020-07-23 13:42:17 +02:00
squidfunk
f401aeaea4
Added heart animation on sponsorship page
2020-07-23 13:29:07 +02:00
squidfunk
d6e058392d
Added documentation on keyboard navigation
2020-07-23 13:17:50 +02:00
squidfunk
6295251c24
Adjusted analytics implementation
2020-07-23 10:23:32 +02:00
squidfunk
98d1c354df
Moved landing page overrides to separate stylesheet
2020-07-23 10:04:22 +02:00
squidfunk
4771933f10
Cleaned up stylesheet source directory structure
2020-07-23 09:29:23 +02:00
squidfunk
5eecb7da31
Added sponsorship banner and page
2020-07-22 16:05:38 +02:00
squidfunk
4a50cab8c8
Added keys styling from Python Markdown Extensions
2020-07-22 11:50:43 +02:00
squidfunk
75ea1e4100
Added docs on content tabs
2020-07-20 19:28:13 +02:00
squidfunk
0f1b640c0d
Reset scroll margin for footnotes
2020-07-20 17:18:00 +02:00
squidfunk
fed4146fa0
Added site search guide
2020-07-20 15:18:09 +02:00
squidfunk
8602969890
Finished syntax highlighter docs and moved overrides to CSS
2020-07-19 22:23:26 +02:00
squidfunk
6de92d8fff
Fixed erroneous top margin for non-highlighted tabbed content
2020-07-17 16:07:32 +02:00
squidfunk
8443720155
Fixed spacing for definition lists
2020-07-17 13:09:56 +02:00
squidfunk
9cc396315c
Added guide for navigation configuration
2020-07-17 13:08:27 +02:00
squidfunk
66c939265f
Added source links to docs
2020-07-16 23:05:57 +02:00
squidfunk
71e9b1d745
Improved getting started guide and added further guides
2020-07-16 22:31:39 +02:00
squidfunk
3a94b968fc
Merge branch 'master' into feature/search-with-quotes
2020-06-29 11:02:23 +02:00
squidfunk
759f2b9e36
Fixed consecutive searches with quotes
2020-06-29 10:57:56 +02:00
squidfunk
83bba6bee4
Implemented support for AND search with quotation marks
2020-06-28 12:05:15 +02:00
michael-nok
343170f364
Fixed search highlighting for numbers ( #1776 )
...
Additional fix for #1773 to include highlighting integers.
2020-06-26 07:32:43 +02:00
squidfunk
3f4e56157c
Added Bengali (Bangla) translations
2020-06-24 08:20:07 +02:00
squidfunk
29394eceab
Merge branch 'master' of github.com:squidfunk/mkdocs-material
2020-06-23 08:45:56 +02:00
squidfunk
a3c03aefb9
Fixed search transform removing numbers from query
2020-06-23 08:45:49 +02:00
Christian Oliff
50ea3a547e
Fix for background image gradient on Edge Legacy
...
note the text in the 'Get Started' button is hidden still - but it was hidden before anyway - this is still a good improvement
2020-06-22 14:34:45 +02:00
squidfunk
e6e7536356
Improved search experience in many languages
2020-06-21 13:22:48 +02:00
squidfunk
b6e16d8e07
Updated announcement bar
2020-06-20 12:24:35 +02:00
squidfunk
f32778cda2
Fixed duplication of search worker when subscribing to observable
2020-06-20 12:21:34 +02:00
squidfunk
143cb05e97
Added documentation for preference-based color scheme
2020-06-15 09:17:28 +02:00
squidfunk
feda4ff29a
Fixed custom search separator not being set
2020-06-13 11:35:19 +02:00
squidfunk
0eedfbb3f6
Fixed #1755 : custom search separator not set
2020-06-13 11:14:31 +02:00
squidfunk
2491b23ade
Added support for preference-based color schemes
2020-06-07 14:24:48 +02:00
squidfunk
36e1e3db8b
Fixed search in German, French and other languages
2020-06-07 13:56:45 +02:00
squidfunk
1df750a9fe
Removed preconnect hint for Google Analytics
2020-06-07 12:08:12 +02:00
Isaac Muse
59e851a4c1
Added styles for scrollbars on Firefox ( #1731 )
...
Closes #1717
2020-05-27 06:57:53 +02:00
squidfunk
24b185a759
Removed units from hsla() color functions
2020-05-25 17:19:42 +02:00
squidfunk
a8fc0c5e65
Reverted color transitions on all elements
2020-05-22 17:47:27 +02:00
squidfunk
4c74ac251a
Fixed color scheme not being applied without primary or accent color
2020-05-22 17:37:02 +02:00
squidfunk
2135e342a2
Fixed color of links in table headers
2020-05-22 17:34:16 +02:00
squidfunk
6172a9d5b9
Merge branch 'master' into refactor/dark-mode
2020-05-18 21:17:40 +02:00
squidfunk
48c16ec1b0
Adjusted announcement bar
2020-05-17 15:30:09 +02:00
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
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
1fbaf52891
Added note on user survey
2020-05-11 15:17:15 +02:00
squidfunk
98ccd6f944
Merge branch 'master' into refactor/dark-mode
2020-05-09 15:13:57 +02:00
squidfunk
bf43fa3ca6
Fixed whitelisting for instant loading on localhost and Netlify previews
2020-05-09 13:54:03 +02:00
squidfunk
481e511a32
Added Burmese translations
2020-05-09 13:14:13 +02:00
squidfunk
bbfaa57d3c
Merge branch 'master' of github.com:squidfunk/mkdocs-material
2020-05-09 13:13:58 +02:00
squidfunk
de74821140
Fixed fallback translation in case of empty string
2020-05-09 13:13:50 +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
db7c28b20e
Added name attribute to social links and improved defaults
2020-05-03 14:14:59 +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
2b6359c5fe
Altered color of landing page
2020-04-27 17:04:46 +02:00
squidfunk
1f7dffdabb
Added dimensions to landing page image to mitigate content shift
2020-04-27 09:35:08 +02:00
squidfunk
e6143e7bfb
Fixed distorted image when width and height are explicitly set
2020-04-27 09:34:49 +02:00
squidfunk
671ec72407
Fixed German translations
2020-04-27 09:16:37 +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
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
5b8721ff92
Fixed GitLab star count
2020-04-17 14:33:04 +02:00
squidfunk
6f5271bb3a
Removed invalid CSS property from landing page
2020-04-17 12:02:06 +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
6d322e724b
Updated home.html ( #1618 )
...
Add missing `alt`
2020-04-17 10:48:15 +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
iBug ♦
7b24345090
Fixed Chinese translations ( #1580 )
2020-04-08 20:12:50 +02:00
squidfunk
cb99a22fdf
Reverted emoji.py integration to be moved out to separate package
2020-04-08 17:40:36 +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
184dfea055
Fixed syntax error in Spanish translation
2020-04-07 21:25:03 +02:00
squidfunk
34b7d6502c
Removed unnecessary box shadows on inline code blocks
2020-04-06 14:36:41 +02:00
squidfunk
4a56828035
Refactored README.md
2020-04-05 16:37:01 +02:00
squidfunk
1f66ab43f9
Fixed announcement bar styles
2020-04-05 14:55:26 +02:00
squidfunk
329d452c7f
Updated anouncement bar
2020-04-05 14:09:20 +02:00
squidfunk
32f45d2060
Merge branch 'refactor/rxjs-typescript' into feature/landing-page
2020-04-05 13:26:26 +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
20eefdf1de
Merge branch 'refactor/rxjs-typescript' into feature/landing-page
2020-04-04 17:47:16 +02:00
squidfunk
6aef0288b7
Fixed casing in footer
2020-04-04 17:43:56 +02:00
squidfunk
dff96cbf62
Fixed color of link-embedded code blocks
2020-04-03 09:44:05 +02:00
squidfunk
f0bfb7c022
Merge branch 'refactor/rxjs-typescript' into feature/landing-page
2020-04-02 13:25:17 +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
31c6cec15a
Added new banner for social sharing
2020-03-29 16:27:34 +02:00
squidfunk
fdea0a8a04
Added further open graph tags
2020-03-29 15:35:28 +02:00
squidfunk
fa9110c2e4
Merge branch 'refactor/rxjs-typescript' into feature/landing-page
2020-03-29 15:28:00 +02:00
squidfunk
a1bc6f99eb
Fixed open graph image URL
2020-03-29 15:21:11 +02:00
squidfunk
5be665825e
Added open graph and twitter metadata
2020-03-29 15:09:58 +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
6b5ab8a161
Merge branch 'refactor/rxjs-typescript' into feature/landing-page
2020-03-28 18:12:09 +01:00
squidfunk
908d34b853
Fixed replacement of skip link and announcement bar on instant load
2020-03-28 18:10:08 +01:00
squidfunk
9c48baa791
Merge branch 'refactor/rxjs-typescript' into feature/landing-page
2020-03-28 17:43:12 +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
fc4dd45c13
Disabled draggable image
2020-03-28 12:00:30 +01:00
squidfunk
77e60a9bb8
Merge branch 'refactor/rxjs-typescript' into feature/landing-page
2020-03-27 17:17:39 +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
c738110391
Only emit global keyboard events when not in editable element
2020-03-26 19:48:07 +01:00
squidfunk
42524ae124
Fixed disappearing sidebars when nested content is expanded
2020-03-26 16:13:53 +01:00
squidfunk
dfcf617cdc
Merge branch 'refactor/rxjs-typescript' into feature/landing-page
2020-03-26 15:41:50 +01:00
squidfunk
c9b2c1eaab
Moved logo to partials
2020-03-26 15:38:50 +01:00
squidfunk
8cc83df3eb
Merge branch 'refactor/rxjs-typescript' into feature/landing-page
2020-03-26 15:29:06 +01:00
squidfunk
c7e294c9fa
Merge branch 'master' into refactor/rxjs-typescript
2020-03-26 15:28:55 +01:00
squidfunk
7ad56264ae
Overhauled landing page
2020-03-26 15:23:22 +01:00
squidfunk
bceca43767
Fixed build
2020-03-26 13:02:31 +01:00
squidfunk
1a88966e26
Redesigned landing page
2020-03-26 12:54:59 +01:00
squidfunk
05114b9f2a
Added main template override for official docs
2020-03-26 11:19:20 +01:00
squidfunk
4b700c3dc7
Added support for buttons
2020-03-26 10:25:13 +01:00
squidfunk
17fae53f31
Fixed header ellipsis when title equals site name
2020-03-25 17:13:48 +01:00
visig
b85b682b8b
Updated zh-TW translations ( #1543 )
2020-03-25 14:35:27 +01:00
squidfunk
e793da18d9
Fixed header
2020-03-23 10:52:00 +01:00
squidfunk
96dc478970
Added lighter theme notice in footer
2020-03-23 10:50:03 +01:00
squidfunk
d56ab36000
Prototyped options menu
2020-03-23 10:45:06 +01:00
squidfunk
3aca698aa4
Merge branch 'refactor/rxjs-typescript' into refactor/dark-mode
2020-03-21 17:21:00 +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
1fe985244c
Adjust base color definitions to allow for dark mode
2020-03-21 16:06:59 +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
squidfunk
30f7c15368
Fixed rendering error for details
2020-03-19 12:13:06 +01:00
Jaime Iniesta
7657c4b82c
Added back aria-label to search input ( #1517 )
...
* update development guides on how to launch the local servers
* brings back aria-label to search form as form elements must have labels
2020-03-19 11:42:06 +01:00
squidfunk
83a6b8b63c
Reverted Admonitions back to mask-image
2020-03-19 09:52:00 +01:00
squidfunk
89f39117c0
Prepare 5.0.0rc3 release
2020-03-18 17:37:32 +01:00
squidfunk
4ffa866609
Formatting
2020-03-18 17:28:26 +01:00
Jaime Iniesta
e7f7632278
Added aria-label to all nav items to improve accessibility. ( #1516 )
...
This ensures navigation landmarks are unique.
Related:
https://dequeuniversity.com/rules/axe/3.5/landmark-unique?application=rocketvalidator
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role
https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html
2020-03-18 17:19:04 +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
0982cbe2e1
Fixed details layout in Safari
2020-03-17 16:43:24 +01:00
squidfunk
6892fdebd9
Cleaned up margins to use functions for computation
2020-03-17 11:57:42 +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
f28780c62e
Fixed stealing of hover on search icon
2020-03-16 15:43:10 +01:00
squidfunk
0f116bab03
Fixed precedence of search results in title
2020-03-16 15:13:09 +01:00
squidfunk
f300a82014
Removed unnecessary CSS properties
2020-03-16 15:00:19 +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
b7c3798fd7
Documentation
2020-03-16 12:03:04 +01:00
squidfunk
1b07bef1c5
Adjustments for right-to-left languages
2020-03-16 12:01:20 +01:00
squidfunk
6bf47b537f
Refactored Admonitions with flex layout
2020-03-16 11:42:46 +01:00
squidfunk
f3cca38f64
Merge branch 'refactor/rxjs-typescript' of github.com:squidfunk/mkdocs-material into refactor/rxjs-typescript
2020-03-16 10:05:12 +01:00
squidfunk
4a8adb8143
Corrected spacing for single code blocks in tabbed containers
2020-03-16 10:05:04 +01:00
Ofek Lev
0de3f60af3
Added forward slash to list of keyboard shortcuts that open search ( #1509 )
2020-03-16 09:35:24 +01:00
squidfunk
825eeae70c
Replaced getComputedStyle with bounding box values
2020-03-15 16:19:36 +01:00