-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
|
||
/* Avoid breaking parameter names, etc. in table cells. */ | ||
.doc-contents td code { | ||
word-break: normal !important; | ||
} | ||
|
||
/* No line break before first paragraph of descriptions. */ | ||
.doc-md-description, | ||
.doc-md-description>p:first-child { | ||
display: inline; | ||
} | ||
|
||
/* Max width for docstring sections tables. */ | ||
.doc .md-typeset__table, | ||
.doc .md-typeset__table table { | ||
display: table !important; | ||
width: 100%; | ||
} | ||
|
||
.doc .md-typeset__table tr { | ||
display: table-row; | ||
} | ||
|
||
/* Defaults in Spacy table style. */ | ||
.doc-param-default { | ||
float: right; | ||
} | ||
|
||
/* Keep headings consistent. */ | ||
h1.doc-heading, | ||
h2.doc-heading, | ||
h3.doc-heading, | ||
h4.doc-heading, | ||
h5.doc-heading, | ||
h6.doc-heading { | ||
font-weight: 400; | ||
line-height: 1.5; | ||
color: inherit; | ||
text-transform: none; | ||
} | ||
|
||
h1.doc-heading { | ||
font-size: 1.6rem; | ||
} | ||
|
||
h2.doc-heading { | ||
font-size: 1.2rem; | ||
} | ||
|
||
h3.doc-heading { | ||
font-size: 1.15rem; | ||
} | ||
|
||
h4.doc-heading { | ||
font-size: 1.10rem; | ||
} | ||
|
||
h5.doc-heading { | ||
font-size: 1.05rem; | ||
} | ||
|
||
h6.doc-heading { | ||
font-size: 1rem; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
.hero-container { | ||
padding: 2rem 0; | ||
background: url(horizon.svg), | ||
linear-gradient(180deg, | ||
var(--md-primary-fg-color), | ||
var(--md-accent-fg-color) 99%, | ||
var(--md-default-bg-color) 0); | ||
background-size: contain; | ||
background-repeat: no-repeat; | ||
background-position: bottom; | ||
} | ||
|
||
.mdx-hero { | ||
color: var(--md-primary-bg-color); | ||
} | ||
|
||
.mdx-hero .md-button { | ||
color: var(--md-primary-bg-color); | ||
} | ||
|
||
.mdx-hero .md-button--primary { | ||
color: #000000; | ||
background-color: var(--md-primary-bg-color); | ||
border-color: var(--md-primary-bg-color); | ||
} | ||
|
||
.hero-image { | ||
order: 1; | ||
} | ||
|
||
.hero-image img { | ||
height: auto; | ||
max-width: 100%; | ||
animation: Sway 10s ease-in-out infinite; | ||
filter: invert(85%); | ||
} | ||
|
||
.hero-content { | ||
margin-top: 5rem; | ||
padding-bottom: 20vh; | ||
text-align: left; | ||
} | ||
|
||
.hero-content h1 { | ||
font-weight: 700; | ||
margin-bottom: 1rem; | ||
color: var(--md-primary-bg-color); | ||
} | ||
|
||
.md-content__inner h1 { | ||
display: none; | ||
} | ||
|
||
@keyframes Sway { | ||
|
||
0%, | ||
100% { | ||
transform: translateY(0); | ||
} | ||
|
||
50% { | ||
transform: translateY(20px); | ||
} | ||
} | ||
|
||
@media screen and (min-width: 960px) { | ||
.mdx-hero { | ||
display: flex; | ||
align-items: stretch; | ||
} | ||
|
||
.hero-image { | ||
width: 50%; | ||
} | ||
|
||
.hero-content { | ||
width: 50%; | ||
} | ||
} |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.