diff --git a/styles/theme.css b/styles/theme.css index d23bd73..5cc6e11 100644 --- a/styles/theme.css +++ b/styles/theme.css @@ -160,6 +160,10 @@ h4 { margin-top: 0.3rem; } +.nextra-code-block { + margin-top: 0.2rem; +} + /* Set colors for common text elements */ p, table, @@ -228,28 +232,6 @@ pre { background-color: var(--op-neutral-800); } -/* External links styling */ -/* Style nav external links */ -.nextra-nav-container nav a[target="_blank"]:nth-child(2):after, -.nextra-nav-container nav a[target="_blank"]:nth-child(3):after, -.nextra-nav-container nav a[target="_blank"]:nth-child(4):after { - content: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.33622 2.84025L1.17647 10L0 8.82354L7.15975 1.66378H0.849212V0H10V9.15081H8.33622V2.84025Z' fill='%239195A6'/%3E%3C/svg%3E%0A "); - padding-left: 20px; -} - -/* sidebar external links */ -.nextra-sidebar-container a[target="_blank"]:after { - content: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.33622 2.84025L1.17647 10L0 8.82354L7.15975 1.66378H0.849212V0H10V9.15081H8.33622V2.84025Z' fill='%239195A6'/%3E%3C/svg%3E%0A "); - padding-left: 6px; -} - -/* in-content external links */ -.nextra-content a[target="_blank"]:after { - content: url('data:image/svg+xml,'); - padding-left: 5px; - margin-right: 2px; -} - /* Tables */ table tr { background-color: transparent !important; diff --git a/theme.config.tsx b/theme.config.tsx index d36073a..a46808e 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -2,7 +2,6 @@ import React from "react"; import { DocsThemeConfig } from "nextra-theme-docs"; import { useRouter } from "next/router"; import { useConfig } from "nextra-theme-docs"; -import { FeelbackYesNo, PRESET_LIKE_DISLIKE } from "@feelback/react"; import "@feelback/react/styles/feelback.css"; const config: DocsThemeConfig = { @@ -11,7 +10,7 @@ const config: DocsThemeConfig = { ( - <> -
- -
- - ), - }, feedback: { - content: "❤️ Share general feedback", - labels: "user-feedback", + content: "", }, editLink: { - text: "✏️ Edit this page on GitHub", + text: "", }, useNextSeoProps() { const { asPath } = useRouter();