Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const Home: React.FC = () => {
</FeatureSection>

{/* Tooling */}
<FeatureSection title="Powerful tooling">
<FeatureSection title="Powerful tooling" reversed>
<div className="row">
<div className="col col--4">
<h4><a href="docs/codegen">Test generator</a></h4>
Expand Down
41 changes: 27 additions & 14 deletions src/pages/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,25 @@
* and scoped locally.
*/

/* Hero */
.heroBanner {
background-color: #2b3137;
background: linear-gradient(170deg, #1a1d23 0%, #2b3137 40%, #1e2b1f 100%);
padding: 5rem 0;
text-align: left;
position: relative;
overflow: hidden;
color: white;
}
.heroBanner::before {
content: '';
position: absolute;
top: -40%;
right: -10%;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(69, 186, 75, 0.08) 0%, transparent 70%);
pointer-events: none;
}
.heroTitle {
font-size: 60px;
}
Expand All @@ -25,6 +36,12 @@
.heroSubtitle a {
color: #fff;
text-decoration: underline;
text-decoration-color: rgba(255, 255, 255, 0.4);
text-underline-offset: 2px;
transition: text-decoration-color 0.2s;
}
.heroSubtitle a:hover {
text-decoration-color: #fff;
}
.highlight {
color: #45ba4b;
Expand All @@ -46,25 +63,23 @@
padding: 1rem 0;
display: flex;
align-items: center;
text-transform: uppercase;
flex-wrap: wrap;
gap: 20px;
}

.getStarted {
border: 2px solid #45ba4b;
background: linear-gradient(135deg, #45ba4b 0%, #3da843 100%);
line-height: 1em;
text-decoration: none !important;
text-transform: uppercase;
border-radius: 8px;
color: #fff;
font-size: 20px;
font-weight: 700;
padding: 14px 20px;
font-size: 16px;
font-weight: 00;
padding: 14px 26px;
white-space: nowrap;
transition: all 0.2s ease;
}
.getStarted:hover {
background: #45ba4b;
color: #2b3137;
}

Expand All @@ -82,7 +97,6 @@
}
.pathCard p {
color: var(--ifm-color-emphasis-700);
min-height: 4.5em;
flex-grow: 1;
}
.installCode {
Expand All @@ -104,10 +118,10 @@
padding: 3rem 0;
}
.featureSectionAlt {
background: #f8fbfe;
background: var(--ifm-color-emphasis-100);
}
html[data-theme='dark'] .featureSectionAlt {
background: #1e2124;
background: rgba(255, 255, 255, 0.03);
}
.featureSectionTitle {
text-align: center;
Expand Down Expand Up @@ -140,11 +154,10 @@ html[data-theme='dark'] .featureSectionAlt {

/* Logos */
.logosSection {
background: #f8fbfe;
border-top: 1px solid var(--ifm-color-emphasis-200);
}
html[data-theme='dark'] .logosSection {
background: #2b3137;
color: white;
border-color: rgba(255, 255, 255, 0.06);
}

.logosColumn {
Expand Down
Loading