Skip to content

Commit 8061eb4

Browse files
committed
fix logo css
1 parent 081e0df commit 8061eb4

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docsrc/styles/logo.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.md-logo {
2+
padding: 0 !important;
3+
}
4+
5+
.md-logo img {
6+
width: 26px !important;
7+
height: 26px !important;
8+
border-radius: 14px;
9+
box-shadow: 0 0 4px rgba(0, 0, 0, .25);
10+
}

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ markdown_extensions:
5454
extra_css:
5555
- "https://cdn.jsdelivr.net/npm/katex@0.16.7/dist/katex.min.css"
5656
- "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
57+
- styles/logo.css
5758

5859
extra_javascript:
5960
# KaTeX 本体

0 commit comments

Comments
 (0)