mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 03:42:34 +02:00
228 lines
3.3 KiB
CSS
228 lines
3.3 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: #f5f6f7;
|
|
}
|
|
|
|
.sectionInner {
|
|
margin: 0 auto;
|
|
max-width: 960px;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.column {
|
|
flex-grow: 1;
|
|
flex-shrink: 0;
|
|
flex-basis: 20%;
|
|
padding: 0 1em;
|
|
}
|
|
|
|
.column:first-child {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.column:last-child {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.featureList {
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.featureListItem {
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.featureListButton {
|
|
border-color: transparent;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 1.25em;
|
|
padding: 0.5em 1.2em;
|
|
text-decoration: none;
|
|
transition: background-color 300ms cubic-bezier(0.08, 0.52, 0.52, 1);
|
|
}
|
|
|
|
.featureListButton:hover {
|
|
background-color: #f5f6f7;
|
|
}
|
|
|
|
.featureListButtonSelected,
|
|
.featureListButtonSelected:hover {
|
|
background-color: #25c2a0;
|
|
color: #fff;
|
|
}
|
|
|
|
.featureIconContainer {
|
|
margin-bottom: 12px;
|
|
max-width: 96px;
|
|
}
|
|
|
|
.featureIcon {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.featureTitle {
|
|
font-size: 1.25em;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.quotes {
|
|
text-align: center;
|
|
}
|
|
|
|
.quoteThumbnail {
|
|
border-radius: 50%;
|
|
margin-bottom: 20px;
|
|
max-width: 96px;
|
|
}
|
|
|
|
.quoteName {
|
|
margin-bottom: 0.75em;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.quoteTitle {
|
|
color: #717171;
|
|
font-size: 1em;
|
|
font-weight: normal;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.quoteText {
|
|
font-style: italic;
|
|
}
|
|
|
|
.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: #25c2a0;
|
|
}
|
|
|
|
@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 #25c2a0;
|
|
display: inline-block;
|
|
line-height: 1.2em;
|
|
text-decoration: none!important;
|
|
text-transform: uppercase;
|
|
transition: background .3s,color .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;
|
|
}
|
|
}
|