Skip to content

Commit 0276ae2

Browse files
authored
Update style.css
1 parent 354b0a5 commit 0276ae2

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

webchat/style.css

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ header h1 {
3838
main {
3939
max-width: 792px;
4040
margin: 2.5em auto;
41-
margin-left: 320px;
41+
margin-left: 360px;
4242
background: #fff;
4343
border-radius: 12px;
4444
box-shadow: 0 2px 16px rgba(30,30,50,0.10);
@@ -231,24 +231,30 @@ body.dark-mode #darkModeToggle {
231231
/* --- TOKEN COUNTER BUTTON (½-inch above dark-mode toggle) --- */
232232
#token-counter-btn {
233233
position: fixed;
234-
/* dark-mode button sits at bottom: 2em, height: 2.5em ⇒
235-
add 0.5-inch (~12.7 mm ≈ 48 px) gap above it */
236-
bottom: calc(2em + 2.5em + 0.5in); /* ≈ 2em + 40px + 48px */
234+
bottom: calc(2em + 2.5em + 0.5in); /* keeps 0.5-in gap above dark-mode button */
237235
right : 2em;
238236
width : 2.5em;
239237
height: 2.5em;
240-
border-radius: 50%;
241-
border: none;
242-
background: #ffb547; /* coin color */
238+
line-height: 2.5em; /* vertically center the “TC” text */
239+
text-align: center; /* horizontally center */
240+
font-size: 0.9em; /* fits nicely inside circle */
241+
font-weight: 600;
242+
letter-spacing: 0.03em;
243+
background: #ffb547; /* coin-tone color */
243244
color: #000;
244-
font-size: 1.2em; /* 🪙 icon size */
245+
border: none;
246+
border-radius: 50%;
245247
cursor: pointer;
246248
z-index: 101;
247249
box-shadow: 0 2px 6px rgba(40,40,60,0.10);
248250
}
249251
#token-counter-btn:hover {
250252
background: #ffd376;
251-
}
253+
}
254+
body.dark-mode #token-counter-btn {
255+
background: #d89b2d;
256+
color: #fff;
257+
}
252258

253259
/* --- Responsive improvements --- */
254260
@media (max-width: 900px) {

0 commit comments

Comments
 (0)