Skip to content

Commit 7650aa6

Browse files
Aryamanz29claude
andcommitted
docs: fix logo rendering β€” transparent bg, hide site name text, resize
- Remove white background from logo PNG (make transparent) - Add custom CSS to hide redundant site name text from header - Increase logo height for better visibility - Wire extra_css into mkdocs.yml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a99521a commit 7650aa6

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

β€Ždocs/assets/logo.pngβ€Ž

25.1 KB
Loading
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* Hide site name text β€” logo image already contains the name */
2+
.md-header__title {
3+
display: none;
4+
}
5+
6+
/* Make logo bigger */
7+
.md-header__button.md-logo img {
8+
height: 2.5rem;
9+
width: auto;
10+
}

β€Žmkdocs.ymlβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ theme:
4040
- content.tabs.link
4141
- announce.dismiss
4242

43+
extra_css:
44+
- assets/stylesheets/extra.css
45+
4346
markdown_extensions:
4447
- admonition
4548
- pymdownx.details

0 commit comments

Comments
Β (0)