open-consul/website/pages/home/style.css
Jimmy Merritello 41b8fac464
[Website] WIP - Update Homepage (#10314)
* Initial structure for updated homepage

* Bring back <UseCases />

* Add section stubs

* Add ecosystem section

* Add features section

* Iron out features section

* Add Learn Callout section

* Copy updates

* Better together copy

* Add updated copy & swap assets

* Remove comment & just add existing icon for now

* Copy and asset tweaks

* Remove unwanted copy

* Process the codeblock

* Add transparent img

* Swap for transparent img

* More transparent img

* Use Learn cards pattern

* Rearrange img and finishing padding touches
2021-06-02 09:22:52 -05:00

89 lines
1.6 KiB
CSS

.p-home {
& > section {
padding-top: 100px;
padding-bottom: 100px;
}
& .use-cases {
padding-top: 128px;
padding-bottom: 64px;
@media (max-width: 800px) {
padding-top: 88px;
}
& h2 {
margin: 0;
text-align: center;
margin-bottom: 64px;
@media (max-width: 800px) {
margin-bottom: 48px;
}
}
}
& .ecosystem {
padding-top: 88px;
padding-bottom: 88px;
@media (--large) {
padding-top: 128px;
padding-bottom: 128px;
}
& .g-text-split {
padding-top: 0;
padding-bottom: 0;
}
& .g-type-display-2 {
margin: 0;
text-align: center;
margin-bottom: 64px;
@media (max-width: 800px) {
margin-bottom: 48px;
}
}
}
& section.cloud-offerings {
padding-top: 88px;
padding-bottom: 88px;
& h2 {
margin: 0 auto;
text-align: center;
max-width: 475px;
margin-bottom: 64px;
@media (max-width: 800px) {
margin-bottom: 48px;
}
}
}
& .g-callouts {
& > .g-grid-container > .items.layout-two-up > .callout-item-wrapper {
padding: 0;
}
& .callout-item.layout-two-up {
padding: 70px;
&.theme-light {
background-color: #f2f2f3;
transition: filter 0.25s ease;
&:hover {
filter: brightness(97%);
}
}
}
}
& section.features {
background-color: var(--gray-6);
& h3 {
margin: 0;
text-align: center;
margin-bottom: 32px;
@media (--large) {
text-align: left;
}
}
}
}