Commit Graph

386 Commits

Author SHA1 Message Date
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
4cc07912df Added clipboard integration 2020-02-02 17:18:18 +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
d329b6921f Added styles for announcement bar 2020-01-25 15:09:27 +01:00
squidfunk
eb968dfec0 Added support for announcement bar 2020-01-25 14:25:50 +01:00
squidfunk
68272079c3 Added before print hooks and search keyboard handlers 2020-01-08 18:17:19 +01:00
Benjamin Staneck
9c6a4ca64f Merge branch 'master' into refactor/rxjs-typescript (#1406)
* Improved Lighthouse score (#1391)

* a few accessibility fixes from lighthouse report

* add rel="noopener" to external links

* add title attribute to social links

* add mimetype to manifest link and allow it to work behind auth

* add font-display: swap to all the places where external fonts are used

* remove font-display: swap from icon fonts

* removed font-display from style blocks in base

* add target="_blank" to social links

* switch base fonts grabbed from Google back to display:fallback

As per recommendation from https://developers.google.com/web/updates/2016/02/font-display#fallback

* add target="_blank" to the footer links as well

* Set `tabindex` to `0` for skip to content link (#1393)

see https://web.dev/control-focus-with-tabindex/

* Added diff to CI build

* Added built files

* Bump @babel/cli from 7.7.5 to 7.7.7

Bumps [@babel/cli](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump css-loader from 3.3.2 to 3.4.0

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.3.2...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.7.2 to 6.8.0

Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.7.2...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump mini-css-extract-plugin from 0.8.0 to 0.9.0

Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.8.0...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @babel/plugin-transform-react-jsx from 7.7.4 to 7.7.7

Bumps [@babel/plugin-transform-react-jsx](https://github.com/babel/babel) from 7.7.4 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump style-loader from 1.0.1 to 1.1.1

Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.0.1...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump webpack from 4.41.2 to 4.41.4

Bumps [webpack](https://github.com/webpack/webpack) from 4.41.2 to 4.41.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @babel/core from 7.7.5 to 7.7.7

Bumps [@babel/core](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @babel/preset-env from 7.7.6 to 7.7.7

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix makefile

* Update packages

* build

* "Fix" lint

* Revert icon and makefile change

Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-25 15:09:36 +01:00
squidfunk
9d67cdfe4a Added support for custom repository icons 2019-12-23 20:24:24 +01:00
squidfunk
581d7c017c Reduced content shift when icons are loading 2019-12-23 19:39:40 +01:00
squidfunk
c736cd9939 Fixed blurry table of contents 2019-12-22 18:43:30 +01:00
squidfunk
704a7c507d Updated FontAwesome to v5 and switched to inline SVGs 2019-12-22 18:21:19 +01:00
squidfunk
e04387902c Restructured project 2019-12-22 16:52:28 +01:00
squidfunk
156b070f18 Added built files 2019-12-22 16:23:54 +01:00
squidfunk
d1928cc31f Fixed inline JavaScript minification 2019-12-22 16:15:22 +01:00
squidfunk
6863aeb4a4 Finished search and moved components to setup functions 2019-12-20 18:03:31 +01:00
squidfunk
2fa347aaae Fixed excessive repaints on non-retina devices 2019-12-19 18:25:13 +01:00
squidfunk
29a34d19a8 Added built files + documentation 2019-12-18 17:14:20 +01:00
squidfunk
d439142f0f Merge branch 'master' into refactor/rxjs-typescript 2019-12-17 09:59:59 +01:00
squidfunk
c409fe3953 Fixed Travis and added more components 2019-11-27 19:12:49 +01:00
squidfunk
0cfd796598 Prototypical implementation of instant loading 2019-11-22 18:42:25 +01:00
squidfunk
aa716ae3ba Added compiled assets missing in master 2019-11-20 11:12:09 +01:00
squidfunk
8c6ddc9ded Prepare 4.5.0 release 2019-11-16 21:51:17 +01:00
squidfunk
a633f4fec7 Migrated first features to RxJS 2019-09-29 00:30:56 +02:00
squidfunk
34cc56bf28 Fixed development environment 2019-09-28 20:39:07 +02:00
squidfunk
ea931e4617 Switched build process to Makefile 2019-09-28 19:32:02 +02:00
squidfunk
3ec9506651 Added missing assets 2019-08-27 17:43:20 +02:00
Timothy Pharo
422406bed3 Fixed issue where HTML tags were shown in page title (#1220)
* Strip tags from page tile when displaying in header <title> tag

* Build resources for stripping html tags from header <title>
2019-08-23 11:02:28 +02:00
squidfunk
6b7535b8cc Added black as a primary color 2019-08-22 16:11:51 +02:00
Timothy Pharo
a47f1efe6d Fixed issue where HTML elements in H1's cause footer layout to be broken (#1217)
* Add striptags to next/previous links to eascape invalid html tags

* Add generated built files for escaped titles in footer
2019-08-22 15:52:49 +02:00
squidfunk
b36a725d30 Removed all whitespace from compiled files - saving 700 bytes per page (gzip) 2019-05-17 21:37:21 +02:00
squidfunk
8049185aa8 Fixed search hotkeys to trigger for smaller screen sizes 2019-04-28 10:34:27 +02:00
squidfunk
50ea834759 Fixed search field alignment in tablet landscape mode 2019-04-28 10:20:55 +02:00
squidfunk
185147684c Inlined regex escaping from dependency 2019-04-17 10:40:41 +02:00
squidfunk
56d04bb1a6 Added README to distribution to display on PyPI 2019-03-28 17:24:33 +01:00
squidfunk
6500664b14 Prepare 4.1.1 release 2019-03-28 17:18:12 +01:00
squidfunk
6e43b874f6 Fixed CSS errors detected during validation 2019-03-28 17:16:26 +01:00
squidfunk
2b2d908d6e Added background on hover for table rows 2019-02-13 16:14:20 +01:00
squidfunk
946f4f1509 Reset font-size on body for correct inline spacing 2019-02-12 19:21:14 +01:00
squidfunk
2007484306 Added helper function for rem calculation and set base font size to 20px 2019-02-12 19:13:08 +01:00
Martin Donath
4e72119d20
Upgraded to webpack 4 (#941)
* Upgrade to webpack 4 - partly working

* Upgraded to webpack 4

* Fixed error with webpack ProvidePlugin

* Fixed ESLint errors
2018-12-28 14:44:41 +01:00
squidfunk
1dfac969e7 Updated dependencies and package-lock.json 2018-11-17 18:01:39 +01:00
squidfunk
fd75fa8eb7 Added Serbian and Serbo-Croatian translations 2018-08-04 20:35:14 +02:00
squidfunk
d7a32d0a84 Upgraded MkDocs to 1.0 2018-08-04 19:53:13 +02:00
squidfunk
a8dce54dc1 Updated dependencies and package-lock.json 2018-07-29 16:25:43 +02:00
Isaac Muse
31e561201e Added ".highlighttable" as an alias for ".codehilitetable" (#800)
When codehilite is disabled, or if pymdownx.highlight is used instead of codehilite, the default class "highlight" is used instead of "codehilite".  This also applies to the number table format that, and will use "highlighttable" instead of "codehilitetable".
2018-06-18 10:11:11 +02:00
squidfunk
87f9a3a25b Fixed rendering of nested tabbed code blocks 2018-06-13 09:51:04 +02:00
squidfunk
05e4d17cbf Added support for code tabs 2018-06-10 18:11:36 +02:00
Isaac Muse
a42fdb33ed Scope all internal HTML id tags to avoid name clashes
* Fix ids not being unique enough in templates

* Revert disqus id change
2018-06-10 14:45:16 +02:00
Isaac Muse
a3642c779f Fixed rendering issue for details on MS Edge (#753)
Fixes issue where details are not rendered properly in MS Edge due to the fact that details tags are not styled as block elements.
2018-04-09 09:35:18 +02:00
squidfunk
2a48e17d2d Prepare 2.6.6 release 2018-02-22 19:57:26 +01:00
squidfunk
060a5df1f5 Fixed sidebar disappearing if JavaScript is not available and tabs are enabled 2018-02-22 19:53:44 +01:00
squidfunk
468c1a7543 Fixed incorrect margins for buttons in Firefox and Safari 2018-02-21 21:23:37 +01:00
squidfunk
165218646d Fixed incorrect rounding of amount of GitHub stars 2018-02-12 21:43:31 +01:00
squidfunk
94acf18d5d Fixed active page highlight not working with default palette 2018-02-11 20:01:00 +01:00
squidfunk
0edbfdc8aa Added translations for skip-to-content link 2018-01-20 12:16:59 +01:00
squidfunk
9c59f5ebe0 Increased h1 anchor offset 2018-01-18 21:33:22 +01:00
squidfunk
0e1850280a Added support for skip-to-content link 2018-01-18 21:33:22 +01:00
squidfunk
01c9aa5e11 Added support for right-to-left languages 2018-01-13 17:24:30 +01:00
squidfunk
f99f6956be Prepare 2.4.0 release 2018-01-11 23:20:49 +01:00
squidfunk
1020185c82 Improved tabbing behavior in tabs mode 2018-01-11 23:20:49 +01:00
squidfunk
7a0c464ed6 Fixed lost tab focus on collapsible navigation 2018-01-11 23:20:49 +01:00
squidfunk
809f943240 Fixed search bar stealing tab focus 2018-01-11 23:20:49 +01:00
squidfunk
b10e058906 Prepare 2.3.0 release 2018-01-09 22:56:48 +01:00
squidfunk
6d9a48fc80 Prepare 2.2.6 release 2017-12-27 13:50:58 +01:00
squidfunk
96678bd30f Fixed margin issues on admonition 2017-12-12 21:43:04 +01:00
squidfunk
17fb20ddf0 Simplified Admonition styles and fixed padding bug 2017-12-08 09:39:26 +01:00
squidfunk
507d44f264 Adjusted targeted link and footnote offsets 2017-12-02 15:30:18 +01:00
squidfunk
d014b21bd5 Prepare 2.2.1 release 2017-12-02 15:01:52 +01:00
squidfunk
e81054ceb6 Fixed minor styling error with title-only admonition blocks 2017-12-02 15:01:52 +01:00
squidfunk
5305cfcd53 Removed border for table of contents and improved spacing 2017-12-02 14:38:22 +01:00
squidfunk
df9ee02c69 Fixed transition delay for hero teaser 2017-11-22 21:37:12 +01:00
squidfunk
6cabf6d457 Fixed footnote backref target offsets regression 2017-11-22 20:23:31 +01:00
squidfunk
f6c0ea670e Fixed indented hero on animation due to scroll bar 2017-11-22 19:28:43 +01:00
Martin Donath
f033fd5437
Added support for hero text 2017-11-22 00:13:56 +01:00
Martin Donath
81e433bf2e
Refactored Gulp build pipeline with Webpack 2017-11-21 21:32:25 +01:00
squidfunk
20c89a9c6b Added white to primary colors 2017-11-19 17:49:37 +01:00
squidfunk
250f1fd172 Added white to primary colors 2017-11-19 17:49:37 +01:00
squidfunk
e6a5e2e160 Fixed missing ellipsis in header if JavaScript is enabled 2017-11-19 17:49:37 +01:00
squidfunk
354c713e4f Added support for sliding title 2017-11-19 17:49:37 +01:00
squidfunk
042eb374a0 Slight facelift 2017-11-19 17:49:37 +01:00
squidfunk
823347fcb3 Updated dependencies and yarn.lock 2017-11-18 18:03:32 +01:00
squidfunk
c622056a7c Fixed redundant clipboard button when using line numbers on code blocks 2017-11-08 08:39:07 +01:00
squidfunk
1c11a78f44 Fixed footnote link colors and did some cleanup 2017-11-05 15:20:36 +01:00
squidfunk
f14fa37f4d Fixed vertical scrollbar always appearing 2017-11-01 18:16:50 +01:00
squidfunk
9b0bbe2e04 Fixed horizontal scrollbar between 1220px and 1234px 2017-11-01 18:11:58 +01:00
squidfunk
eb232d43f0 Prepare 2.0.1 release 2017-10-31 21:10:28 +01:00
squidfunk
34c2f11afc Fixed wrong colors on nested admonition in details 2017-10-31 21:05:03 +01:00
squidfunk
91d34707ea Fixed styles for link to edit the current page 2017-10-31 21:05:03 +01:00
squidfunk
240a7afa8d Moved logo to theme configuration and made search optional 2017-10-31 20:07:11 +01:00
squidfunk
9f513d6411 Added support for default localization and German translations 2017-10-19 21:11:18 +02:00
squidfunk
9005ae2381 Fixed search bar alignment on big screens 2017-10-19 09:27:42 +02:00
squidfunk
ae0ef54212 Prepare 1.10.4 release 2017-10-18 19:46:28 +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
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
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
4d4c76c979 Added basic implementation for details 2017-08-29 13:17:26 +07:00
squidfunk
fc4d13de7d Added missing files 2017-08-26 18:36:49 +07:00
squidfunk
35dbc1c0bb Refactored Admonition styles 2017-08-26 18:36:49 +07:00
squidfunk
fde1e25a69 Added missing files 2017-08-02 12:21:36 +02:00
squidfunk
8ff457a7fc Upgraded dependencies and fixed ESLint regression 2017-08-02 12:21:36 +02:00
squidfunk
cb8900d973 Fixed functional link colors in TOC for active palette 2017-06-14 14:57:28 +02:00
squidfunk
ef1a71a973 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
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
670ae4a44c Refactored clipboard integration, not finished 2017-05-31 15:22:59 +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
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
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
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
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
544b1243aa Added prototypical arrow up/down result selection 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
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
e00d5fb98a Slightly better distinguishable footnotes 2017-03-11 18:40:44 +01:00