aboutsummaryrefslogtreecommitdiff
path: root/_content/css
diff options
context:
space:
mode:
authorFrederick Mixell <frederick.mixell@leftfieldlabs.com>2022-09-28 22:05:17 -0400
committerJamal Carvalho <jamal@golang.org>2023-03-09 19:42:24 +0000
commite5a0b2f98762dd4aa65dc1929fdf3bc44e7c043e (patch)
tree5f7d765d02ce0fad69bca5d3d3d5ae6caafde364 /_content/css
parent07287109038cbabce9bbb9e132edc3434768bd45 (diff)
downloadgo-x-website-e5a0b2f98762dd4aa65dc1929fdf3bc44e7c043e.tar.xz
_content: Why Go - new cards
New cards from the Why Go designs. - Adds new card from design to Use Cases and Case Studies. - Slider omitted because it's redesign will be in another cr. Screenshot:(Use Cases) https://drive.google.com/file/d/1XZOmbLkzTCIriGuivAyAeI-HhOReDOjJ/view?usp=sharing Screenshot: (Case Studies) https://drive.google.com/file/d/1qiCCpARiqSSvOVcN6nOc5kci61cldAo0/view?usp=sharing Change-Id: I4d3d465d694dffee455ab3beb3eaba4b1b862629 Reviewed-on: https://go-review.googlesource.com/c/website/+/436336 Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Diffstat (limited to '_content/css')
-rw-r--r--_content/css/styles.css80
1 files changed, 78 insertions, 2 deletions
diff --git a/_content/css/styles.css b/_content/css/styles.css
index c376e181..17744612 100644
--- a/_content/css/styles.css
+++ b/_content/css/styles.css
@@ -1831,6 +1831,21 @@ a.WhoUsesCaseStudy-librariesViewMoreLink {
.Solutions-forwardArrowIcon {
font-size: 1rem;
}
+.Solutions-header {
+ padding: 0 1.5rem;
+ margin: 2.5rem auto;
+ max-width: 75.75rem;
+}
+.Solutions-header .SiteBreadcrumb {
+ margin-bottom: 2rem;
+}
+.Solutions-useCase__title {
+ font-style: normal;
+ font-weight: 400;
+ font-size: 36px;
+ line-height: 32px;
+ color: var(--color-text);
+}
@media only screen and (min-width: 57.7rem) {
.WhyGo-reasons {
grid-template-columns: repeat(2, 1fr);
@@ -3016,6 +3031,67 @@ a.WhoUsesCaseStudy-librariesViewMoreLink {
.Solutions-useCasesHeader h2,
.Solutions-caseStudiesHeader h2 {
}
+.MarketingCardList {
+ list-style: none;
+ display: grid;
+ grid-template-columns: repeat(1, 1fr);
+ gap: 1.75rem;
+ padding: unset;
+}
+.MarketingCard {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ padding: 0 1.75rem;
+ text-align: left;
+ box-sizing: border-box;
+ width: auto;
+ height: auto;
+ min-height: 24.625rem;
+ background: var(--color-background);
+ border: var(--border);
+ border-radius: 0.25rem;
+}
+.MarketingCard a:hover {
+ text-decoration: none;
+}
+.MarketingCard-section {
+ margin-top: 2.625rem;
+}
+.MarketingCard-section__bottom {
+ position: absolute;
+ bottom: 2.625rem;
+}
+.MarketingCard-section__spacer {
+ padding-bottom: 6.25rem;
+}
+.MarketingCard-title {
+ color: var(--color-text);
+ font-size: 1.125rem;
+ line-height: 1.5rem;
+ font-weight: 500;
+ font-style: normal;
+}
+.MarketingCard-body {
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1rem;
+ line-height: 1.5rem;
+ letter-spacing: 0.1px;
+ color: var(--color-text-subtle);
+}
+.MarketingCard-action {
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1rem;
+ line-height: 1.5rem;
+ letter-spacing: 0.1px;
+ color: var(--color-text-link);
+ background: unset;
+ border: none;
+ padding: unset;
+ cursor: pointer;
+}
.Solutions-cardList,
.Solutions-caseStudyList {
display: grid;
@@ -3038,7 +3114,7 @@ a.WhoUsesCaseStudy-librariesViewMoreLink {
flex: 0 100%;
}
@media only screen and (min-width: 38rem) {
- .Solutions-cardList {
+ .Solutions-cardList, .MarketingCardList {
grid-template-columns: repeat(2, 1fr);
}
}
@@ -3051,7 +3127,7 @@ a.WhoUsesCaseStudy-librariesViewMoreLink {
box-shadow: 0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.22);
transition: all 0.2s ease-in-out;
}
- .Solutions-cardList {
+ .Solutions-cardList, .MarketingCardList {
grid-template-columns: repeat(3, 1fr);
}
}