From c3afcc2136a9c46cf162dc681c6b24e0b72bd880 Mon Sep 17 00:00:00 2001 From: Tyler Nguyen Date: Thu, 7 Nov 2024 19:35:07 -0600 Subject: [PATCH] css: delete code admonition --- docs/posts/diagnostics/admonitions.md | 6 ------ docs/stylesheets/solarized.css | 19 ------------------- mkdocs.yml | 3 --- 3 files changed, 28 deletions(-) diff --git a/docs/posts/diagnostics/admonitions.md b/docs/posts/diagnostics/admonitions.md index 8a2b2cd..c8e04d0 100644 --- a/docs/posts/diagnostics/admonitions.md +++ b/docs/posts/diagnostics/admonitions.md @@ -108,12 +108,6 @@ In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, fill 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. /// -### Code - -/// code -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. -/// - ### Setting /// setting diff --git a/docs/stylesheets/solarized.css b/docs/stylesheets/solarized.css index d908314..ade12fa 100644 --- a/docs/stylesheets/solarized.css +++ b/docs/stylesheets/solarized.css @@ -18,7 +18,6 @@ --md-search-result-icon: url('data:image/svg+xml, '); /* 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--code: url('data:image/svg+xml, '); --md-admonition-icon--setting: url('data:image/svg+xml, '); --md-admonition-icon--featured: url('data:image/svg+xml, '); --md-admonition-icon--announce: url('data:image/svg+xml, '); @@ -477,24 +476,6 @@ mask-image: var(--md-admonition-icon--extension); } -/* NOTE Code Admonition */ -.md-typeset .admonition.code, -.md-typeset details.code { - border-color: rgb(var(--solarized-base01)); -} - -[data-md-color-scheme="default"] .md-typeset .code>.admonition-title, -[data-md-color-scheme="default"] .md-typeset .code>summary { - background-color: rgba(var(--solarized-base01), 0.2); -} - -.md-typeset .code>.admonition-title::before, -.md-typeset .code>summary::before { - background-color: rgb(var(--solarized-base01)); - -webkit-mask-image: var(--md-admonition-icon--code); - mask-image: var(--md-admonition-icon--code); -} - /* NOTE Setting Admonition */ .md-typeset .admonition.setting, .md-typeset details.setting { diff --git a/mkdocs.yml b/mkdocs.yml index ce05565..2365125 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -200,7 +200,6 @@ markdown_extensions: - featured - announce - extension - - code - setting - screenshot - pymdownx.blocks.caption @@ -234,8 +233,6 @@ markdown_extensions: class: announce - name: details-extension class: extension - - name: details-code - class: code - name: details-setting class: setting - name: details-screenshot