docusaurus/website-1.x/static/css/custom.css
Yangshun Tay 32c1a92b17
chore: yearless copyright headers for source code (#2320)
* chore: yearless copyright headers for source code

* update snapshots
2020-02-25 23:12:28 +08:00

192 lines
2.8 KiB
CSS

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.testimonials img {
border-radius: 50%;
}
table td:first-child > code {
white-space: nowrap;
}
.showcase {
align-items: center;
display: flex;
flex-flow: row wrap;
justify-content: center;
margin-bottom: 20px;
}
.showcase .link {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 180px;
margin: 5px;
padding: 5px;
}
.showcase .link:hover {
text-decoration: underline;
}
.showcase .link .caption {
line-height: 20px;
height: 20px;
}
.showcase .link img {
max-height: 110px;
padding: 20px;
width: 110px;
align-self: center;
}
@media only screen and (max-width: 735px) {
.showcase .link {
height: 134px;
}
.showcase .link img {
max-height: 64px;
padding: 20px;
width: 64px;
}
}
.announcement {
background-color: #20232a;
color: #fff;
font-weight: bold;
font-size: 24px;
padding: 48px;
margin: 0 auto -40px;
text-align: center;
}
.announcement-inner {
margin: 0 auto;
max-width: 768px;
}
.index-hero {
background-color: #2b3137;
padding: 48px;
}
.index-hero-inner {
margin: 0 auto;
max-width: 1100px;
padding: 0 20px;
}
.index-hero-project-tagline {
color: #fff;
font-size: 64px;
margin: 0;
}
.index-hero-project-keywords {
color: $primaryColor;
}
@keyframes jackInTheBox {
from {
opacity: 0;
transform: scale(0.1) rotate(30deg);
transform-origin: center bottom;
}
50% {
transform: rotate(-10deg);
}
70% {
transform: rotate(3deg);
}
to {
opacity: 1;
transform: scale(1);
}
}
.index-hero-logo {
animation-duration: 2s;
animation-name: jackInTheBox;
float: right;
margin-top: 20px;
padding: 20px;
padding-right: 0;
}
.index-ctas {
margin-top: 24px;
}
.index-ctas-get-started-button {
border-radius: 8px;
border-width: 2px;
color: #fff;
font-size: 24px;
font-weight: bold;
margin-right: 24px;
padding: 18px 36px;
}
.index-ctas-github-button {
vertical-align: sub;
}
@media only screen and (max-width: 768px) {
.announcement {
font-size: 18px;
padding: 20px;
}
.index-hero {
padding: 20px;
}
.index-hero-inner {
padding: 0;
}
.index-hero-project-tagline {
font-size: 36px;
text-align: center;
}
.index-hero-logo {
display: block;
float: none;
margin: 0 auto;
}
.index-ctas {
text-align: center;
}
.index-ctas-github-button {
display: none;
}
}
.imageAlignTop .blockImage {
max-width: 60%;
}
@media only screen and (max-width: 768px) {
.gridBlock .blockElement.imageAlignTop {
margin-bottom: 80px;
}
}
.docImage {
margin: 3rem auto;
max-width: 400px;
}