Skip to content

Commit cd95efe

Browse files
authored
Update styling-layout.mdx
1 parent a4a9d49 commit cd95efe

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docs/styling-layout.mdx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
2+
title: Styling and Layout
23
description: "A Docusaurus site is a pre-rendered single-page React application. You can style it the way you style React apps"
34
---
45

56
import ColorGenerator from '@site/src/components/ColorGenerator';
67
import IframeWindow from '@site/src/components/BrowserWindow/IframeWindow';
78

8-
# Styling and Layout
9-
109
:::tip
1110
This section focuses on styling through stylesheets.
1211
For advanced customizations (DOM structure, React code…), refer to the [Swizzling Guide](https://docusaurus.io/docs/swizzling).
@@ -87,8 +86,6 @@ import CodeBlock from '@theme/CodeBlock';
8786

8887
</details>
8988

90-
<AdsComponent />
91-
9289
## Styling with Infima {#styling-your-site-with-infima}
9390

9491
Docusaurus classic theme uses [Infima](https://infima.dev/) for base layout and components.
@@ -107,8 +104,6 @@ Use [ColorBox](https://www.colorbox.io/) or the generator below to create your s
107104

108105
<ColorGenerator />
109106

110-
<AdsComponent />
111-
112107
## Dark Mode {#dark-mode}
113108

114109
The `<html>` element switches its `data-theme` attribute:
@@ -127,8 +122,6 @@ Example:
127122
}
128123
```
129124

130-
<AdsComponent />
131-
132125
## Data Attributes {#data-attributes}
133126

134127
You can inject `<html>` data attributes via query strings (`docusaurus-data-<key>`):
@@ -147,8 +140,6 @@ html[data-red-border] div#__docusaurus {
147140

148141
Useful for embedding docs in iframes with custom layouts.
149142

150-
<AdsComponent />
151-
152143
## Mobile View {#mobile-view}
153144

154145
The default breakpoint between desktop and mobile is `996px`.
@@ -267,4 +258,4 @@ Update `tsconfig.json`:
267258
+ "types": ["docusaurus-plugin-sass"]
268259
}
269260
}
270-
```
261+
```

0 commit comments

Comments
 (0)