[opt] logo
This commit is contained in:
parent
6c511afbed
commit
3cbd86cb57
|
@ -6,6 +6,9 @@ if (page.logo) {
|
|||
const proj = theme.wiki.tree[page.wiki]
|
||||
var l = proj.logo
|
||||
if (l) {
|
||||
if (l.title.includes('](') == false) {
|
||||
l.title = `[${l.title}](${url_for(proj.homepage?.path || '')})`
|
||||
}
|
||||
logo = l
|
||||
} else if (proj.name || proj.icon) {
|
||||
logo = {
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
height: 48px
|
||||
margin-right: 1rem
|
||||
border-radius: 4px
|
||||
flex-shrink: 0
|
||||
a
|
||||
color: inherit
|
||||
display: flex
|
||||
|
@ -56,7 +57,7 @@
|
|||
animation-timing-function: linear
|
||||
|
||||
a.title
|
||||
font-size: 1.75rem
|
||||
font-size: 1.5rem
|
||||
font-weight: 900
|
||||
color: inherit
|
||||
line-height: 1.2
|
||||
|
|
Loading…
Reference in New Issue