Skip to content

Commit ddd9b47

Browse files
committed
general updates on aes
1 parent f8bc420 commit ddd9b47

4 files changed

Lines changed: 775 additions & 616 deletions

File tree

src/css/lab-ops.css

Lines changed: 43 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@
9494
}
9595

9696
/*-- -------------------------- -->
97-
<--- About LabOps -->
97+
<--- About + PDF layout -->
9898
<--- -------------------------- -*/
9999
@media only screen and (min-width: 0rem) {
100100
#labops-about {
101-
padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
101+
padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem clamp(4rem, 8vw, 6rem);
102102
background: #fff;
103103
}
104104
#labops-about .cs-container {
105105
width: 100%;
106-
max-width: 56rem;
106+
max-width: 72rem;
107107
margin: auto;
108108
}
109109
.labops-about-grid {
@@ -138,65 +138,45 @@
138138

139139
/* Pull quote */
140140
.labops-pullquote {
141-
margin: 0;
142-
padding: 1.75rem 2rem;
141+
margin: 0.5rem 0 0 0;
142+
padding: 1.5rem 1.75rem;
143143
border-left: 3px solid var(--primary);
144144
background: var(--secondary);
145145
border-radius: 0 6px 6px 0;
146146
}
147147
.labops-pullquote p {
148148
font-family: 'Fraunces', Georgia, serif;
149-
font-size: clamp(1.125rem, 2.5vw, 1.5rem);
149+
font-size: clamp(1rem, 2vw, 1.25rem);
150150
font-weight: 400;
151151
font-style: italic;
152152
line-height: 1.5;
153153
color: var(--headerColor);
154154
margin: 0;
155155
}
156-
}
157156

158-
@media only screen and (min-width: 64rem) {
159-
.labops-about-grid {
160-
display: grid;
161-
grid-template-columns: 1fr 1fr;
162-
gap: 4rem;
163-
align-items: start;
164-
}
165-
}
166-
167-
/*-- -------------------------- -->
168-
<--- PDF Viewer -->
169-
<--- -------------------------- -*/
170-
@media only screen and (min-width: 0rem) {
171-
#labops-paper {
172-
padding: clamp(3rem, 6vw, 5rem) 1.5rem clamp(4rem, 8vw, 6rem);
173-
background: #eef3f0;
174-
}
175-
#labops-paper .cs-container {
176-
width: 100%;
177-
max-width: 56rem;
178-
margin: auto;
157+
/* PDF column */
158+
.labops-pdf-col {
179159
display: flex;
180160
flex-direction: column;
181-
gap: 2rem;
161+
gap: 1.25rem;
182162
}
183163
.labops-paper-header {
184164
display: flex;
185165
flex-direction: column;
186-
gap: 0.5rem;
166+
gap: 0.4rem;
187167
}
188168
.labops-paper-header .cs-text {
189-
font-size: 0.9375rem;
169+
font-size: 0.875rem;
190170
color: var(--bodyTextColor);
191-
opacity: 0.75;
171+
opacity: 0.7;
192172
margin: 0;
193173
max-width: unset;
194174
}
195175
.labops-download-btn {
196176
display: inline-flex;
197177
align-items: center;
198178
gap: 0.5rem;
199-
margin-top: 0.75rem;
179+
margin-top: 0.5rem;
200180
font-size: 0.8125rem;
201181
font-family: 'Figtree', sans-serif;
202182
font-weight: 600;
@@ -217,10 +197,10 @@
217197
}
218198
.labops-pdf-frame {
219199
width: 100%;
220-
height: clamp(480px, 75vh, 780px);
200+
height: clamp(380px, 55vh, 600px);
221201
border-radius: 8px;
222202
overflow: hidden;
223-
box-shadow: 0 8px 48px rgba(43, 58, 50, 0.14), 0 1px 0 rgba(43,58,50,0.08);
203+
box-shadow: 0 8px 48px rgba(43, 58, 50, 0.14);
224204
border: 1px solid var(--lineColor);
225205
background: #fff;
226206
}
@@ -230,4 +210,32 @@
230210
border: none;
231211
display: block;
232212
}
213+
}
214+
215+
@media only screen and (min-width: 64rem) {
216+
.labops-about-grid {
217+
display: grid;
218+
grid-template-columns: 1fr 1fr;
219+
gap: 4rem;
220+
align-items: start;
221+
}
222+
.labops-pdf-frame {
223+
height: clamp(480px, 65vh, 700px);
224+
}
225+
}
226+
227+
/*-- -------------------------- -->
228+
<--- Nav override for hero -->
229+
<--- -------------------------- -*/
230+
/* Nav sits over dark hero — force white links until user scrolls */
231+
@media only screen and (min-width: 64rem) {
232+
body:not(.scroll) #cs-navigation .cs-li-link {
233+
color: rgba(255, 255, 255, 0.85);
234+
}
235+
body:not(.scroll) #cs-navigation .cs-li-link:before {
236+
background: rgba(255, 255, 255, 0.8);
237+
}
238+
body:not(.scroll) #cs-navigation .background-color-div {
239+
border-bottom-color: rgba(255, 255, 255, 0.12);
240+
}
233241
}

0 commit comments

Comments
 (0)