From 2ea071308154bd5fca93344009d33bb9cbbd7278 Mon Sep 17 00:00:00 2001 From: TRaSH Date: Sun, 6 Dec 2020 22:59:53 +0100 Subject: [PATCH] Added: pymdownx.highlight Added: pymdownx.highlight --- docs/index.md | 2 +- docs/stylesheets/extra.css | 13 +++++++++++++ mkdocs.yml | 5 +++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 2e8af6e16..b65c23bd7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -39,7 +39,7 @@ Everything here you use on your own risk I won't be hold responsible if somethin ------ -## Like what I do and want to Support me +## :octicons-heart-fill-24:{: .heart } Like what I do and want to Support me :octicons-heart-fill-24:{: .heart } ??? abstract "CLICK HERE FOR SUPPORT OPTIONS" diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 24e743f68..cbcbd52fa 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -3,3 +3,16 @@ --md-footer-bg-color: hsla(232, 54%, 41%, 1); --md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.32); } + +@keyframes heart { + 0%, 40%, 80%, 100% { + transform: scale(1); + } + 20%, 60% { + transform: scale(1.15); + } +} +.heart { + animation: heart 1000ms infinite; + color: #e91e63; +} diff --git a/mkdocs.yml b/mkdocs.yml index af5d46786..34a6a297a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -27,9 +27,13 @@ markdown_extensions: - pymdownx.snippets - pymdownx.superfences - pymdownx.tabbed + - pymdownx.highlight - toc: permalink: true toc_depth: 5 + - pymdownx.emoji: + emoji_index: !!python/name:materialx.emoji.twemoji + emoji_generator: !!python/name:materialx.emoji.to_svg plugins: - search @@ -61,3 +65,4 @@ theme: code: "Fira Code" favicon: img/favicon.png logo: img/logo.png + custom_dir: docs/overrides