mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-25 17:22:50 +00:00
fix(website): Correct the site homepage overflows (CTA buttons + new version heading) (#11500)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
This commit is contained in:
parent
0372ecd1e9
commit
6b3ed1ee65
|
|
@ -58,18 +58,28 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.topBannerTitle {
|
||||
font-size: 54px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
.topBannerTitle {
|
||||
@media only screen and (max-width: 768px) {
|
||||
font-size: 40px;
|
||||
}
|
||||
@media only screen and (max-width: 768px) {
|
||||
font-size: 40px;
|
||||
}
|
||||
@media only screen and (max-width: 450px) {
|
||||
font-size: 32px;
|
||||
}
|
||||
@media only screen and (max-width: 350px) {
|
||||
font-size: 24px;
|
||||
}
|
||||
@media only screen and (max-width: 250px) {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.topBannerTitleText {
|
||||
|
|
@ -166,6 +176,7 @@ html[data-theme='dark'] .topBannerTitleText {
|
|||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
margin-top: 24px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.indexCtas a,
|
||||
|
|
|
|||
Loading…
Reference in New Issue