From 22b8e154f3eb3eb8680125580bcef8996b4c5120 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 18 Oct 2024 18:51:35 -0700 Subject: [PATCH] adjust padding and style of first heading in non type pages --- src/pages/docs/configuration/intro.mdx | 2 +- src/pages/docs/configuration/positioning.mdx | 2 +- src/pages/docs/configuration/qml-overview.mdx | 2 +- src/styles/docs/docs.css | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/docs/configuration/intro.mdx b/src/pages/docs/configuration/intro.mdx index cfa9009..d8c4759 100644 --- a/src/pages/docs/configuration/intro.mdx +++ b/src/pages/docs/configuration/intro.mdx @@ -6,7 +6,7 @@ title: "Introduction" import { DocsCollapsible } from "@components/Collapsible.tsx"; import MD_Title from "@components/MD_Title.tsx" -# {frontmatter.title} +# {frontmatter.title} This page will walk you through the process of creating a simple bar/panel, and introduce you to all the basic concepts involved. diff --git a/src/pages/docs/configuration/positioning.mdx b/src/pages/docs/configuration/positioning.mdx index 9384225..89190a1 100644 --- a/src/pages/docs/configuration/positioning.mdx +++ b/src/pages/docs/configuration/positioning.mdx @@ -4,7 +4,7 @@ title: "Positioning" --- import MD_Title from "@components/MD_Title.tsx" -# {frontmatter.title} +# {frontmatter.title} QtQuick has multiple ways to position components. This page has instructions for where and how to use them. diff --git a/src/pages/docs/configuration/qml-overview.mdx b/src/pages/docs/configuration/qml-overview.mdx index 6bae5b1..63976b7 100644 --- a/src/pages/docs/configuration/qml-overview.mdx +++ b/src/pages/docs/configuration/qml-overview.mdx @@ -5,7 +5,7 @@ title: "QML Overview" import MD_Title from "@components/MD_Title.tsx" import { DocsCollapsible } from "@components/Collapsible.tsx"; -# {frontmatter.title} +# {frontmatter.title} Quickshell is configured using the Qt Modeling Language, or QML. This page explains what you need to know about QML to start using quickshell. diff --git a/src/styles/docs/docs.css b/src/styles/docs/docs.css index 71ac156..5f5ea36 100644 --- a/src/styles/docs/docs.css +++ b/src/styles/docs/docs.css @@ -40,6 +40,10 @@ & section { margin-block: 1.618rem; + + &:nth-child(2) { + margin-top: 0; + } } & p {