Skip to content

Commit 3c8f258

Browse files
Reduce spacing and font sizes in command docs CSS
Adjusted padding, margin, gap, and font sizes in the command-docs.css file to create a more compact layout. These changes improve the visual density and alignment of command documentation elements.
1 parent 1e21c55 commit 3c8f258

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

static/css/command-docs.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
background: linear-gradient(135deg, #f6f8fa 0%, #ffffff 100%);
1313
border: 1px solid #d1d9e0;
1414
border-radius: 12px;
15-
padding: 2rem 2.5rem;
16-
margin-bottom: 3rem;
15+
padding: 1rem 1.5rem;
16+
margin-bottom: 1.5rem;
1717
box-shadow: 0 2px 8px rgba(27, 31, 35, 0.04);
1818
transition: all 0.3s ease;
1919
}
@@ -27,21 +27,21 @@
2727
display: flex;
2828
align-items: center;
2929
justify-content: space-between;
30-
gap: 1.5rem;
31-
margin-bottom: 1.5rem;
30+
gap: 1rem;
31+
margin-bottom: 0.75rem;
3232
flex-wrap: wrap;
3333
}
3434

3535
.command-header h1 {
3636
font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
37-
font-size: 2.5rem !important;
37+
font-size: 1.75rem !important;
3838
font-weight: 700 !important;
3939
color: #22C55E !important;
4040
margin: 0 !important;
4141
padding: 0 !important;
4242
line-height: 1.2 !important;
4343
flex: 1;
44-
min-width: 300px;
44+
min-width: 200px;
4545
}
4646

4747
.github-link {
@@ -77,22 +77,22 @@
7777
.command-meta {
7878
display: flex;
7979
flex-wrap: wrap;
80-
gap: 1.5rem;
81-
padding-top: 1rem;
80+
gap: 1rem;
81+
padding-top: 0.5rem;
8282
border-top: 1px solid #d1d9e0;
8383
}
8484

8585
.meta-item {
8686
display: flex;
8787
align-items: center;
88-
gap: 0.5rem;
88+
gap: 0.35rem;
8989
color: #59636e;
90-
font-size: 0.9rem;
90+
font-size: 0.8rem;
9191
}
9292

9393
.meta-icon {
94-
width: 1.25rem;
95-
height: 1.25rem;
94+
width: 1rem;
95+
height: 1rem;
9696
color: #0969da;
9797
flex-shrink: 0;
9898
}

0 commit comments

Comments
 (0)