mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fix logo width and height to avoid link overlap in Safari (resolves #748)
This commit is contained in:
parent
ee45619307
commit
dbe8dafb52
|
@ -54,7 +54,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"V_CSS": "1.14",
|
"V_CSS": "1.15",
|
||||||
"V_JS": "1.0",
|
"V_JS": "1.0",
|
||||||
"DEFAULT_SYNTAX": "python",
|
"DEFAULT_SYNTAX": "python",
|
||||||
"ANALYTICS": "UA-58931649-1",
|
"ANALYTICS": "UA-58931649-1",
|
||||||
|
|
|
@ -113,7 +113,7 @@ mixin gitter(button, label)
|
||||||
//- Logo
|
//- Logo
|
||||||
|
|
||||||
mixin logo()
|
mixin logo()
|
||||||
+svg("graphics", "spacy", 500).o-logo&attributes(attributes)
|
+svg("graphics", "spacy", 675, 215).o-logo&attributes(attributes)
|
||||||
|
|
||||||
|
|
||||||
//- Landing
|
//- Landing
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
//- Logo
|
//- Logo
|
||||||
|
|
||||||
.o-logo
|
.o-logo
|
||||||
@include size($logo-width, auto)
|
@include size($logo-width, $logo-height)
|
||||||
fill: currentColor
|
fill: currentColor
|
||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
margin: 0 0.5rem
|
margin: 0 0.5rem
|
||||||
|
|
|
@ -11,6 +11,7 @@ $aside-width: 30vw
|
||||||
$aside-padding: 25px
|
$aside-padding: 25px
|
||||||
|
|
||||||
$logo-width: 85px
|
$logo-width: 85px
|
||||||
|
$logo-height: 27px
|
||||||
|
|
||||||
$grid: ( quarter: 4, third: 3, half: 2, two-thirds: 1.5, three-quarters: 1.33 )
|
$grid: ( quarter: 4, third: 3, half: 2, two-thirds: 1.5, three-quarters: 1.33 )
|
||||||
$breakpoints: ( sm: 768px, md: 992px, lg: 1200px )
|
$breakpoints: ( sm: 768px, md: 992px, lg: 1200px )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user