mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
143 lines
2.2 KiB
CSS
143 lines
2.2 KiB
CSS
/**
|
|
* Copyright (c) 2017-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
.section {
|
|
padding: 72px 0;
|
|
}
|
|
|
|
.sectionAlt {
|
|
background-color: var(--ifm-color-emphasis-inverse-alpha-30);
|
|
}
|
|
|
|
.sectionInner {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.featureImage {
|
|
max-width: 60%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.announcement {
|
|
background-color: #20232a;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
font-size: 24px;
|
|
padding: 48px;
|
|
margin: 0 auto;
|
|
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: var(--ifm-color-primary);
|
|
}
|
|
|
|
@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;
|
|
background-color: #2b3137;
|
|
}
|
|
|
|
.index-ctas {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.index-ctas-get-started-button {
|
|
border: 1px solid var(--ifm-color-primary);
|
|
display: inline-block;
|
|
line-height: 1.2em;
|
|
text-decoration: none !important;
|
|
text-transform: uppercase;
|
|
transition: background 0.3s, color 0.3s;
|
|
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) {
|
|
.index-hero {
|
|
padding-left: 20px;
|
|
padding-right: 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;
|
|
}
|
|
}
|