open-nomad/website/components/features-list/style.css
Kendall Strautman fe85162128
[Assembly]: Website Branding Refresh (#10188)
* style: update gray brand colors

* style: update brand colors

* chore: upgrade react-components deps

* chore: update text split cta link color

* style(home): update icons

* refactor(home): use learn-callout component

* style(downloads): temporary color override

* style(community): fix link color

* Update website/pages/community/style.css

Co-authored-by: Zachary Shilton <4624598+zchsh@users.noreply.github.com>

* update package-lock

* update deps

* add new downloads page

* remove extra husky script

* chore: upgrades nextjs-scripts dep

* chore: upgrades community page vertical text block list

* chore: test component pre-releases

* chore: upgrade deps

chore: upgrades nextjs-scripts

* chore: update home icon colors

* chore: update home logo grid

* chore(website): upgrade deps

* style: adjust features icons border radius

* style: home hero bg to secondary

* chore: upgrade deps for body copy colors

* chore: upgrades alert banner

* feat: updates favicon

* chore: updates deps

* content(home): updates assets

* content(use-cases:simple container orch): updates content

* content(use-cases:non-containerized-app) updates assets

* content(use-cases:auto networking with consul): updates assets

* style(home): remove use cases icons override

* style(home-hero): remove bg pattern on mobile

* content(use-cases): updates asset

* chore: update assets

* chore: updates product download page to alpha

* chore: updates product download page to stable

Co-authored-by: Zachary Shilton <4624598+zchsh@users.noreply.github.com>
Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
2021-05-03 11:06:55 -07:00

100 lines
1.6 KiB
CSS

.g-features-list {
padding-top: 64px;
padding-bottom: 24px;
& h2 {
text-align: center;
margin-top: 0;
margin-bottom: 32px;
}
& .intro-container {
text-align: center;
max-width: 600px;
margin: 0 auto;
margin-bottom: 64px;
& a {
color: var(--nomad);
}
}
& .items-container {
display: flex;
flex-wrap: wrap;
& .item {
border: 1px solid var(--gray-5);
flex-basis: calc(50% - 16px);
margin-bottom: 32px;
padding: 40px;
display: flex;
@media (max-width: 468px) {
flex-direction: column;
}
& h4 {
margin: 0;
margin-bottom: 8px;
}
& p {
margin: 0;
}
& a {
color: var(--nomad-link);
}
& .item-icon img {
width: 72px;
height: 72px;
margin-right: 32px;
@media (max-width: 468px) {
margin-bottom: 18px;
}
}
&:nth-child(odd) {
margin-right: 16px;
}
&:nth-child(even) {
margin-left: 16px;
}
@media (max-width: 1200px) {
padding: 32px;
& .item-icon img {
display: flex;
width: 50px;
height: 50px;
margin-right: 24px;
}
}
@media (max-width: 991px) {
flex-basis: 100%;
padding: 32px;
margin-bottom: 36px;
& .item-icon img {
display: flex;
width: 72px;
height: 72px;
margin-right: 24px;
}
&:nth-child(odd) {
margin-right: 0;
}
&:nth-child(even) {
margin-left: 0;
}
}
}
}
}