Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit b30d9e5

Browse files
authored
Refine header styles and adjust app title
Updated styles for header and app title for better alignment and contrast.
1 parent 4ccd8cd commit b30d9e5

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

web/styles.css

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,34 +26,41 @@ main {
2626
border-top-right-radius: 3dvw;
2727
display: flex;
2828
align-items: center;
29-
justify-content: space-between;
29+
justify-content: space-between; /* keeps a right area available */
3030
flex-shrink: 0;
31+
padding: 0 1.5dvw; /* left/right padding instead of margins */
32+
box-sizing: border-box;
3133
}
3234

3335
.header-left {
3436
display: flex;
3537
align-items: center;
36-
margin-left: 2dvw; /* optional, spacing from left edge */
37-
}
38-
39-
.app-title {
40-
margin-left: 2dvw;
41-
font-family: "Aptos", "Arial", sans-serif;
42-
font-weight: bold;
43-
font-size: 4dvh;
38+
gap: 1.2dvw; /* space between dot cluster and title */
39+
white-space: nowrap; /* prevents title wrapping */
4440
}
4541

4642
.dot-container {
4743
display: flex;
4844
align-items: center;
49-
gap: 1dvw;
50-
padding-right: 1.5dvw;
45+
gap: 0.6dvw; /* space between the dots themselves */
46+
/* no extra padding needed */
5147
}
5248

5349
.dot {
54-
height: 3dvh;
55-
width: 3dvh;
50+
height: 2.6dvh; /* slightly smaller so it aligns with text */
51+
width: 2.6dvh;
5652
border-radius: 50%;
53+
box-shadow: 0 0 0.15dvw rgba(0,0,0,0.12);
54+
}
55+
56+
.app-title {
57+
/* remove margin-left (header-left gap handles spacing) */
58+
font-family: "Aptos", "Arial", sans-serif;
59+
font-weight: bold;
60+
font-size: 3.6dvh; /* tuned to fit the header height */
61+
color: white; /* better contrast on gray background */
62+
margin: 0;
63+
padding: 0;
5764
}
5865

5966
.content-area {

0 commit comments

Comments
 (0)