mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
chore: move to monorepo (#1297)
* chore: move to monorepo * lint all js file * simplify circleCI * fix failing tests * fix tests due to folder rename * fix test since v1 website is renamed
This commit is contained in:
parent
6b1d2e8c9c
commit
1f91d19a8c
619 changed files with 12713 additions and 26817 deletions
177
website-1.x/static/css/custom.css
Normal file
177
website-1.x/static/css/custom.css
Normal file
|
@ -0,0 +1,177 @@
|
|||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue