mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-11 17:56:30 +03:00
Add landing badge mixin
This commit is contained in:
parent
4da11350f6
commit
aa680e0312
|
@ -55,7 +55,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"V_CSS": "1.3",
|
"V_CSS": "1.4",
|
||||||
"V_JS": "1.2",
|
"V_JS": "1.2",
|
||||||
"DEFAULT_SYNTAX": "python",
|
"DEFAULT_SYNTAX": "python",
|
||||||
"ANALYTICS": "UA-58931649-1",
|
"ANALYTICS": "UA-58931649-1",
|
||||||
|
|
|
@ -134,3 +134,8 @@ mixin landing-header()
|
||||||
.c-landing__wrapper
|
.c-landing__wrapper
|
||||||
.c-landing__content
|
.c-landing__content
|
||||||
block
|
block
|
||||||
|
|
||||||
|
|
||||||
|
mixin landing-badge(url, graphic, alt, size)
|
||||||
|
+a(url)(aria-label=alt title=alt).c-landing__badge
|
||||||
|
+svg("graphics", graphic, size || 225)
|
||||||
|
|
|
@ -18,3 +18,11 @@
|
||||||
.c-landing__title
|
.c-landing__title
|
||||||
color: $color-back
|
color: $color-back
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
.c-landing__badge
|
||||||
|
transform: rotate(7deg)
|
||||||
|
display: block
|
||||||
|
text-align: center
|
||||||
|
|
||||||
|
@include breakpoint(min, md)
|
||||||
|
@include position(absolute, top, right, 16rem, 6rem)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user