diff --git a/assets/css/code.css b/assets/css/code.css index 2d77aa26a5..08d9346fcc 100644 --- a/assets/css/code.css +++ b/assets/css/code.css @@ -1,80 +1,64 @@ @layer components { - .prose { - .highlight, - :not(pre) > code { - font-size: 0.875em; - border: 1px solid; - border-radius: theme("spacing.1"); - background: theme("colors.white"); - border-color: theme("colors.gray.light.300"); - .dark & { - background: theme("colors.gray.dark.200"); - border-color: theme("colors.gray.dark.300"); - } + .highlight, + :not(pre) > code { + font-size: 0.875em; + border: 1px solid; + border-radius: theme("spacing.1"); + background: theme("colors.white"); + border-color: theme("colors.gray.light.300"); + .dark & { + background: theme("colors.gray.dark.200"); + border-color: theme("colors.gray.dark.300"); } + } - :not(pre) > code { - background: theme("colors.gray.light.200"); - display: inline-block; + :not(pre) > code { + background: theme("colors.gray.light.200"); + display: inline-block; + margin: 0; + font-weight: 400; + overflow-wrap: anywhere; + padding: 0 4px; + table & { + overflow-wrap: unset; + } + } + + /* Indented code blocks */ + :not(.highlight) > pre { + @apply my-4 overflow-x-auto p-3; + font-size: 0.875em; + border: 1px solid; + border-radius: theme("spacing.1"); + background: theme("colors.white"); + border-color: theme("colors.gray.light.300"); + .dark & { + background: theme("colors.gray.dark.200"); + border-color: theme("colors.gray.dark.300"); + } + } + + .highlight { + @apply my-4 overflow-x-auto p-3; + + /* LineTableTD */ + .lntd { + vertical-align: top; + padding: 0; margin: 0; - font-weight: 400; - overflow-wrap: anywhere; - padding: 0 4px; - table & { - overflow-wrap: unset; - } + border: 0; } - - /* Indented code blocks */ - :not(.highlight) > pre { - @apply my-4 overflow-x-auto p-3; - font-size: 0.875em; - border: 1px solid; - border-radius: theme("spacing.1"); - background: theme("colors.white"); - border-color: theme("colors.gray.light.300"); - .dark & { - background: theme("colors.gray.dark.200"); - border-color: theme("colors.gray.dark.300"); - } - } - - .highlight { - @apply my-4 overflow-x-auto p-3; - - /* LineTableTD */ - .lntd { - vertical-align: top; - padding: 0; - margin: 0; - white-space: nowrap; - font-weight: 400; - padding: 0 4px; - } - - .highlight { - @apply my-4 overflow-x-auto p-3; - - /* LineTableTD */ - .lntd { - vertical-align: top; - padding: 0; - margin: 0; - border: 0; - } - /* LineTable */ - .lntable { - display: table; - width: 100%; - border-spacing: 0; - padding: 0; - margin: 0; - border: 0; - /* LineNumberColumnHighlight */ - .lntd:first-child .hl { - display: block; - } - } + /* LineTable */ + .lntable { + display: table; + width: 100%; + border-spacing: 0; + padding: 0; + margin: 0; + border: 0; + /* LineNumberColumnHighlight */ + .lntd:first-child .hl { + display: block; } } } diff --git a/assets/css/kapa.css b/assets/css/kapa.css deleted file mode 100644 index 2976a1853c..0000000000 --- a/assets/css/kapa.css +++ /dev/null @@ -1,17 +0,0 @@ -.mantine-Modal-root { - ol { - list-style-type: decimal; - } - - .mantine-List-root { - min-width: 100%; - } - - .mantine-List-itemWrapper { - max-width: 100%; - } - - .mantine-Prism-copy { - background-color: rgb(20, 21, 23) - } -} diff --git a/assets/css/styles.css b/assets/css/styles.css index 641ad6ecec..9a0e27ef3a 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -10,7 +10,6 @@ @import "/assets/css/code"; @import "/assets/css/toc"; @import "/assets/css/callouts"; -@import "/assets/css/kapa"; @import "tailwindcss/utilities"; @import "/assets/css/syntax-light"; diff --git a/hugo.yaml b/hugo.yaml index f203e505d4..d1af6445c2 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -80,8 +80,6 @@ languages: languageName: English params: - kapa: - id: ba5c2cbc-6535-4334-a72e-050f7a681c8a analytics: hotjar: prod: 3169877 diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6b0adedcf6..346ad0da13 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -36,32 +36,6 @@ })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); {{ end }} -{{ if hugo.IsProduction }} - {{/* kapa.ai widget */}} - -{{ end }} {{/* preload Roboto Flex as it's a critical font: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preload */}} {{ partialCached "utils/css.html" "-" }} diff --git a/static/assets/images/logo-icon-white.svg b/static/assets/images/logo-icon-white.svg deleted file mode 100644 index cc60a3627a..0000000000 --- a/static/assets/images/logo-icon-white.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - -