Skip to content

Commit 97a3726

Browse files
committed
feat: enhance responsive layout and typography by preventing horizontal overflow and adjusting element dimensions and font sizes.
1 parent 5466c0e commit 97a3726

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/index.html

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
-webkit-font-smoothing: antialiased;
9292
}
9393

94+
html {
95+
overflow-x: hidden;
96+
}
97+
9498
code,
9599
pre {
96100
font-family: 'JetBrains Mono', monospace;
@@ -243,6 +247,8 @@
243247
position: relative;
244248
display: block;
245249
width: 100%;
250+
font-size: 1rem;
251+
line-height: 1.6;
246252
}
247253

248254
.install-box:hover {
@@ -301,7 +307,9 @@
301307
box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
302308
border: 1px solid var(--border);
303309
overflow: hidden;
310+
overflow: hidden;
304311
max-width: 1000px;
312+
width: 100%;
305313
margin: 0 auto;
306314
}
307315

@@ -341,7 +349,9 @@
341349
display: grid;
342350
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
343351
gap: 1.5rem;
352+
gap: 1.5rem;
344353
margin-bottom: 6rem;
354+
max-width: 100%;
345355
}
346356

347357
.card {
@@ -455,8 +465,8 @@
455465

456466
.install-box {
457467
padding: 1rem;
458-
font-size: 0.85rem;
459468
margin: 0 0.5rem;
469+
font-size: 0.9rem;
460470
}
461471

462472
.tab-btn {
@@ -538,7 +548,8 @@ <h1>Stop <span class="gradient-text">CD-ing.</span> <br> Start Coding.</h1>
538548
style="color: var(--primary); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1rem; text-transform: uppercase; font-size: 0.9rem;">
539549
Why Git-Scope?</p>
540550
<h2 style="font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 2rem; font-weight: 700;">Stop Manually
541-
<code style="font-size: 0.8em; color: var(--primary);">cd</code>-ing Everywhere</h2>
551+
<code style="font-size: 0.8em; color: var(--primary);">cd</code>-ing Everywhere
552+
</h2>
542553
<div
543554
style="max-width: 700px; margin: 0 auto; color: var(--text-muted); font-size: 1.1rem; line-height: 1.6;">
544555
<p>Do you have 50+ git repos scattered across `~/code`, `~/projects`, and `~/work`? Finding that one

0 commit comments

Comments
 (0)