diff --git a/docs/posts/diagnostics/admonitions.md b/docs/posts/diagnostics/admonitions.md index b1258c5..4dff1b2 100644 --- a/docs/posts/diagnostics/admonitions.md +++ b/docs/posts/diagnostics/admonitions.md @@ -89,24 +89,12 @@ In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, fill ## Custom Admonitions -### Download - -/// download -In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends of worms and an oozy smell, nor yet a dry, bare, sandy hole with nothing in it to sit down on or to eat: it was a hobbit hole, and that means comfort. -/// - ### Announce /// announce In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends of worms and an oozy smell, nor yet a dry, bare, sandy hole with nothing in it to sit down on or to eat: it was a hobbit hole, and that means comfort. /// -### Screenshot - -/// screenshot -In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends of worms and an oozy smell, nor yet a dry, bare, sandy hole with nothing in it to sit down on or to eat: it was a hobbit hole, and that means comfort. -/// - ### Extension /// extension diff --git a/docs/stylesheets/solarized.css b/docs/stylesheets/solarized.css index 42ff1c9..054ab44 100644 --- a/docs/stylesheets/solarized.css +++ b/docs/stylesheets/solarized.css @@ -19,9 +19,7 @@ /* LINK https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/assets/stylesheets/main/_colors.scss */ --md-admonition-icon--extension: url('data:image/svg+xml, '); --md-admonition-icon--setting: url('data:image/svg+xml, '); - --md-admonition-icon--download: url('data:image/svg+xml, '); --md-admonition-icon--announce: url('data:image/svg+xml, '); - --md-admonition-icon--screenshot: url('data:image/svg+xml, '); /* LINK https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/assets/stylesheets/main/integrations/_mermaid.scss */ --md-mermaid-edge-color: var(--md-primary-fg-color); --md-mermaid-node-bg-color: var(--md-default-bg-color--light); @@ -515,24 +513,6 @@ mask-image: var(--md-admonition-icon--setting); } -/* NOTE Download Admonition */ -.md-typeset .admonition.download, -.md-typeset details.download { - border-color: rgb(var(--solarized-green)); -} - -[data-md-color-scheme="default"] .md-typeset .download>.admonition-title, -[data-md-color-scheme="default"] .md-typeset .download>summary { - background-color: rgba(var(--solarized-green), 0.2); -} - -.md-typeset .download>.admonition-title::before, -.md-typeset .download>summary::before { - background-color: rgb(var(--solarized-green)); - -webkit-mask-image: var(--md-admonition-icon--download); - mask-image: var(--md-admonition-icon--download); -} - /* NOTE Announcement Admonition */ .md-typeset .admonition.announce, .md-typeset details.announce { @@ -550,25 +530,6 @@ -webkit-mask-image: var(--md-admonition-icon--announce); mask-image: var(--md-admonition-icon--announce); } - -/* NOTE Screenshot Admonition */ -.md-typeset .admonition.screenshot, -.md-typeset details.screenshot { - border-color: rgb(var(--solarized-orange)); -} - -[data-md-color-scheme="default"] .md-typeset .screenshot>.admonition-title, -[data-md-color-scheme="default"] .md-typeset .screenshot>summary { - background-color: rgba(var(--solarized-orange), 0.2); -} - -.md-typeset .screenshot>.admonition-title::before, -.md-typeset .screenshot>summary::before { - background-color: rgb(var(--solarized-orange)); - -webkit-mask-image: var(--md-admonition-icon--screenshot); - mask-image: var(--md-admonition-icon--screenshot); -} - /* !SECTION Admonitions */ /* ANCHOR Grids */ diff --git a/mkdocs.yml b/mkdocs.yml index da61bc3..3f9cfcf 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -216,11 +216,9 @@ markdown_extensions: - danger - example - quote - - download - announce - extension - setting - - screenshot - pymdownx.blocks.caption - pymdownx.blocks.details: types: @@ -246,16 +244,17 @@ markdown_extensions: class: example - name: details-quote class: quote - - name: details-download - class: download - name: details-announce class: announce - name: details-extension class: extension - name: details-setting class: setting - - name: details-screenshot - class: setting + - pymdownx.blocks.tab: + slugify: !!python/object/apply:pymdownx.slugs.slugify + kwds: + case: lower + alternate_style: true - pymdownx.betterem - pymdownx.caret - pymdownx.critic @@ -287,11 +286,6 @@ markdown_extensions: - name: md-render class: md-render format: !!python/name:tools.pymdownx_md_render.md_sub_render - - pymdownx.blocks.tab: - slugify: !!python/object/apply:pymdownx.slugs.slugify - kwds: - case: lower - alternate_style: true - pymdownx.tasklist: custom_checkbox: true - tools.collapse_code: