From b9be3054eb21cd23ddd0e9fb707b65cf8129aa99 Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Wed, 9 Mar 2022 07:16:21 -0800 Subject: [PATCH] Update theme --- assets/css/custom.css | 47 ----------------------------- layouts/shortcodes/mermaid.html | 5 --- layouts/shortcodes/notice.html | 6 ---- themes/scientific-python-hugo-theme | 2 +- 4 files changed, 1 insertion(+), 59 deletions(-) delete mode 100644 layouts/shortcodes/mermaid.html delete mode 100644 layouts/shortcodes/notice.html diff --git a/assets/css/custom.css b/assets/css/custom.css index 2f081897..c261d28c 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -47,53 +47,6 @@ table.spec__table thead { .readcode-code { } -.notice { - margin-top: 0rem; - margin-bottom: 0rem; - color: #666; -} - -.notice-type { - font-size: 1rem; - font-weight: bold; - padding: 0rem 1rem 0rem 1rem; - width: 100%; - color: white; - display: inline-block; -} - -.notice-content { - padding: 0.5rem 1rem 0.5rem 1rem; -} - -.note-notice .notice-type { - background: #6AB0DE; -} -.note-notice .notice-content { - background: #E7F2FA; -} - -.info-notice .notice-type { - background: #F0B37E; -} -.info-notice .notice-content { - background: #FFF2DB; -} - -.warning-notice .notice-type { - background: rgba(217, 83, 79, 0.8); -} -.warning-notice .notice-content { - background: #FAE2E2; -} -.tip-notice .notice-type { - background: rgba(92, 184, 92, 0.8); -} - -.tip-notice .notice-content { - background: #E6F9E6; -} - .menu-spacer { margin-left: auto; } diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html deleted file mode 100644 index 3fc5d220..00000000 --- a/layouts/shortcodes/mermaid.html +++ /dev/null @@ -1,5 +0,0 @@ - - -
- {{.Inner}} -
diff --git a/layouts/shortcodes/notice.html b/layouts/shortcodes/notice.html deleted file mode 100644 index 134aad5d..00000000 --- a/layouts/shortcodes/notice.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
🛈  {{ .Get 0 | humanize }}
-
- {{ .Inner | markdownify }} -

-
diff --git a/themes/scientific-python-hugo-theme b/themes/scientific-python-hugo-theme index ca252d08..bbe7fe67 160000 --- a/themes/scientific-python-hugo-theme +++ b/themes/scientific-python-hugo-theme @@ -1 +1 @@ -Subproject commit ca252d0814404b88d92ed3d6c385decc94bd5d67 +Subproject commit bbe7fe676ae560d195cf40cda2c3d051be0556c5