Skip to content

Commit 31ef8ca

Browse files
Refactor navbar styles for logo and site name (#333)
* Refactor navbar styles for logo and site name * update
1 parent db9bdf3 commit 31ef8ca

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

src/.vuepress/styles/index.styl

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ a.sidebar-link.active
3131
background-color #fdf6f8
3232

3333
.sidebar p:has( span:empty )
34-
padding: 0
34+
padding 0
3535

3636
.theme-default-content
3737
code
@@ -43,11 +43,18 @@ a.sidebar-link.active
4343

4444
// Header
4545

46-
#app .navbar .logo
47-
margin-right 5px
48-
49-
#app .site-name
50-
font-family "Roobert"
46+
#app
47+
.navbar
48+
.logo
49+
height 1.5rem
50+
width 1.5rem
51+
min-width unset
52+
margin-right 5px
53+
vertical-align middle
54+
55+
.site-name
56+
font-family Roobert
57+
font-size 1.3rem
5158

5259
// Navigation
5360

0 commit comments

Comments
 (0)