Skip to content

Commit e621bed

Browse files
committed
Remove SiteTitle override
1 parent 65e8ca3 commit e621bed

File tree

3 files changed

+12
-56
lines changed

3 files changed

+12
-56
lines changed

astro.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ export default defineConfig({
155155
MarkdownContent: "./src/components/overrides/MarkdownContent.astro",
156156
Sidebar: "./src/components/overrides/Sidebar.astro",
157157
PageSidebar: "./src/components/overrides/PageSidebar.astro",
158-
SiteTitle: "./src/components/overrides/SiteTitle.astro",
159158
PageTitle: "./src/components/overrides/PageTitle.astro",
160159
SocialIcons: "./src/components/overrides/SocialIcons.astro",
161160
SkipLink: "./src/components/overrides/SkipLink.astro",
@@ -170,6 +169,7 @@ export default defineConfig({
170169
"./src/mermaid.css",
171170
"./src/table.css",
172171
"./src/tailwind.css",
172+
"./src/title.css",
173173
"./src/tooltips.css",
174174
],
175175
pagination: false,

src/components/overrides/SiteTitle.astro

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/title.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.site-title {
2+
gap: calc(0.5 * var(--sl-nav-gap));
3+
4+
span {
5+
color: var(--sl-color-white);
6+
}
7+
8+
img {
9+
height: calc(var(--sl-nav-height) - 3 * var(--sl-nav-pad-y));
10+
}
11+
}

0 commit comments

Comments
 (0)