Skip to content

Commit eb6c10e

Browse files
committed
slight width test
1 parent 8b984b6 commit eb6c10e

File tree

1 file changed

+82
-20
lines changed

1 file changed

+82
-20
lines changed

src/components/aboutModal.css

Lines changed: 82 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,109 @@
11
.modal-overlay {
22
position: fixed;
33
inset: 0;
4-
background-color: rgba(0,0,0,0.5);
4+
background-color: rgba(0, 0, 0, 0.5);
55
display: flex;
66
justify-content: center;
77
align-items: center;
8-
z-index: 1000001; /* above dropdown portals */
8+
z-index: 1000001;
9+
/* above dropdown portals */
910
}
11+
1012
.modal-content.about-modal {
1113
background-color: var(--bg, #1e1e1e);
1214
color: var(--fg, #fff);
1315
padding: 20px;
1416
border-radius: 8px;
15-
min-width: 520px;
16-
max-width: 920px;
17+
width: 1280px;
1718
}
19+
1820
.about-hero {
19-
display:flex;
20-
gap:16px;
21-
align-items:center;
22-
}
23-
.about-hero-logo img { width:64px; height:64px; object-fit:contain }
24-
.about-title { margin:0; font-size:20px }
25-
.about-subtitle { color: #bdbdbd; margin-top:4px }
26-
.about-badges { margin-top:8px }
27-
.badge { display:inline-block; background:#2d2d2d; color:#fff; padding:4px 8px; margin-right:6px; border-radius:4px; font-size:12px }
28-
.about-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:18px }
21+
display: flex;
22+
gap: 16px;
23+
align-items: center;
24+
}
25+
26+
.about-hero-logo img {
27+
width: 64px;
28+
height: 64px;
29+
object-fit: contain
30+
}
31+
32+
.about-title {
33+
margin: 0;
34+
font-size: 20px
35+
}
36+
37+
.about-subtitle {
38+
color: #bdbdbd;
39+
margin-top: 4px
40+
}
41+
42+
.about-badges {
43+
margin-top: 8px
44+
}
45+
46+
.badge {
47+
display: inline-block;
48+
background: #2d2d2d;
49+
color: #fff;
50+
padding: 4px 8px;
51+
margin-right: 6px;
52+
border-radius: 4px;
53+
font-size: 12px
54+
}
55+
56+
.about-grid {
57+
display: grid;
58+
grid-template-columns: repeat(2, 1fr);
59+
gap: 12px;
60+
margin-top: 18px
61+
}
62+
2963
.about-card {
30-
background: rgba(255,255,255,0.02);
64+
background: rgba(255, 255, 255, 0.02);
3165
padding: 12px;
32-
border: 2px solid rgba(255,255,255,0.12);
66+
border: 2px solid rgba(255, 255, 255, 0.12);
3367
border-radius: 8px;
3468
}
69+
3570
/* Make paragraph text in the About modal italic for a softer, note-like feel */
3671
.about-modal p {
3772
font-style: italic;
3873
}
74+
3975
/* Also make lists italic so list items match the paragraph tone */
4076
.about-modal ul,
4177
.about-modal li {
4278
font-style: italic;
4379
}
44-
.about-close { position:absolute; right:18px; top:18px; background:transparent; border:none; color:inherit; font-size:18px; cursor:pointer }
45-
.modal-actions { display:flex; justify-content:flex-end; margin-top:12px }
46-
.btn.primary { background:#0b84ff; color:#fff; padding:8px 12px; border-radius:6px; border:none; cursor:pointer }
47-
.muted { color:#9a9a9a }
80+
81+
.about-close {
82+
position: absolute;
83+
right: 18px;
84+
top: 18px;
85+
background: transparent;
86+
border: none;
87+
color: inherit;
88+
font-size: 18px;
89+
cursor: pointer
90+
}
91+
92+
.modal-actions {
93+
display: flex;
94+
justify-content: flex-end;
95+
margin-top: 12px
96+
}
97+
98+
.btn.primary {
99+
background: #0b84ff;
100+
color: #fff;
101+
padding: 8px 12px;
102+
border-radius: 6px;
103+
border: none;
104+
cursor: pointer
105+
}
106+
107+
.muted {
108+
color: #9a9a9a
109+
}

0 commit comments

Comments
 (0)