mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-23 14:06:59 +02:00
* feat: add caption to users links created a shared component `Showcase` * Cleans linter * revert main.css changes — update custom.css * Move Showcase comp to website out of lib - fix layout
59 lines
960 B
CSS
59 lines
960 B
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.
|
|
*/
|
|
|
|
.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;
|
|
}
|
|
}
|