Skip to content

Commit 3126c6e

Browse files
committed
Add columns for statement.
1 parent 94b0b58 commit 3126c6e

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ import Layout from '../layouts/Layout.astro';
136136
OPENING STATEMENT
137137
============================================= -->
138138
<section class="opening section-spacing">
139-
<div class="opening__inner fade-up">
139+
<div class="opening__inner two-col fade-up">
140140
<p class="opening__text">
141141
I’m a strategist, a builder, and a researcher. I make the previously
142142
impossible seem routine. Over the past 15 years, I’ve built teams and

src/styles/global.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,25 @@ p a:hover, .body-link:hover {
569569
text-align: left;
570570
}
571571

572+
/* =============================================
573+
TWO COLUMN TEXT BLOCK
574+
============================================= */
575+
.two-col {
576+
columns: 2;
577+
column-gap: 48px;
578+
column-rule: 1px solid var(--color-divider);
579+
}
580+
581+
.two-col p {
582+
break-inside: avoid;
583+
}
584+
585+
@media (max-width: 768px) {
586+
.two-col {
587+
columns: 1;
588+
}
589+
}
590+
572591
/* =============================================
573592
RESPONSIVE
574593
============================================= */

0 commit comments

Comments
 (0)