Skip to content

Commit c695ecc

Browse files
committed
fix: styles for project highlight images
1 parent e653c2a commit c695ecc

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

layouts/partials/case-study-styles.html

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@
6464
min-width: 200px !important;
6565
}
6666

67-
.stats>p {
67+
.stats > p {
6868
margin: 0;
6969
}
7070

71-
.stats>p:first-child {
71+
.stats > p:first-child {
7272
color: #0e3252;
7373
font-size: 60px;
7474
line-height: 32px;
@@ -137,7 +137,7 @@
137137
background-color: #f1f1f1;
138138
}
139139

140-
.banner-container>img {
140+
.banner-container > img {
141141
width: 100%;
142142
margin: 0 auto 0 auto;
143143
display: flex;
@@ -154,15 +154,15 @@
154154
margin-bottom: 20px;
155155
}
156156

157-
.details-box>p {
157+
.details-box > p {
158158
font-weight: 600;
159159
font-size: 20px;
160160
line-height: 27px;
161161
color: black;
162162
margin: 0;
163163
}
164164

165-
.details-box>p:first-child {
165+
.details-box > p:first-child {
166166
font-weight: 400;
167167
font-size: 16px;
168168
line-height: 22px;
@@ -211,14 +211,14 @@
211211
justify-content: space-between;
212212
}
213213

214-
.what-we-did-container>.item {
214+
.what-we-did-container > .item {
215215
display: flex;
216216
justify-content: flex-start;
217217
gap: 16px;
218218
align-items: center;
219219
}
220220

221-
.what-we-did-container>.item>.label {
221+
.what-we-did-container > .item > .label {
222222
color: black;
223223
font-style: normal;
224224
font-weight: 400;
@@ -229,7 +229,7 @@
229229
margin: auto;
230230
}
231231

232-
.what-we-did-container>.item>.index {
232+
.what-we-did-container > .item > .index {
233233
font-style: normal;
234234
font-weight: 700;
235235
font-size: 24px;
@@ -333,19 +333,19 @@
333333
font-size: 16px;
334334
}
335335

336-
.stats>p:first-child {
336+
.stats > p:first-child {
337337
font-size: 48px;
338338
}
339339
}
340340

341-
.project-highlights-grid>a>.item {
341+
.project-highlights-grid > a > .item {
342342
display: flex;
343343
justify-content: flex-start;
344344
gap: 16px;
345345
align-items: flex-baseline;
346346
}
347347

348-
.project-highlights-grid>a>.item>.index {
348+
.project-highlights-grid > a > .item > .index {
349349
font-size: 24px;
350350
font-weight: 700;
351351
line-height: 24px;
@@ -354,7 +354,7 @@
354354
color: black;
355355
}
356356

357-
.project-highlights-grid>a>.item>.label {
357+
.project-highlights-grid > a > .item > .label {
358358
font-style: normal;
359359
font-weight: 400;
360360
font-size: 18px;
@@ -417,4 +417,8 @@
417417
body.dark-theme .details-box > p:first-child {
418418
color: #cccccc !important;
419419
}
420+
421+
body.dark-theme .project-highlights-grid img {
422+
filter: invert(0.5) brightness(1.5);
423+
}
420424
</style>

0 commit comments

Comments
 (0)