Skip to content

Commit 0488ae0

Browse files
committed
Remove background from main hero text, reduce padding in hero section
Remove background from hero text and reduce padding around hero section, according to feedback at: https://scalar-labs.slack.com/archives/CDSFWGSTZ/p1750218637894259?thread_ts=1750041895.129159&cid=CDSFWGSTZ Also fix spacing issue around video on mobile after changing the padding mentioned.
1 parent 4b4359c commit 0488ae0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/css/custom.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ table, pre, code, img, iframe {
114114

115115
.hero-section {
116116
align-items: center;
117-
background-color: #f3f2f1;
118117
display: flex;
119118
flex-wrap: wrap;
120119
font-size: 13.5pt;
@@ -127,7 +126,7 @@ table, pre, code, img, iframe {
127126
color: var(--ifm-font-color-base);
128127
flex: 1;
129128
min-width: 250px;
130-
padding: 2rem;
129+
padding: 0 2rem 0 0;
131130
/* padding-right: 35rem; */
132131
}
133132

@@ -153,7 +152,7 @@ table, pre, code, img, iframe {
153152
justify-content: center;
154153
max-width: 640px;
155154
min-width: 400px;
156-
padding: 2rem;
155+
padding: 1rem;
157156
}
158157

159158
.link {
@@ -287,8 +286,8 @@ table, pre, code, img, iframe {
287286

288287
.youtube-embed {
289288
flex: 1;
289+
margin-top: 1rem;
290290
min-width: 100%;
291-
padding-top: 0;
292291
}
293292
}
294293

@@ -303,7 +302,7 @@ table, pre, code, img, iframe {
303302
overflow: visible;
304303
}
305304

306-
html[data-theme="dark"] .hero-section, html[data-theme="dark"] .youtube-embed {
305+
html[data-theme="dark"] .youtube-embed {
307306
background-color: #252526;
308307
}
309308

0 commit comments

Comments
 (0)