Skip to content

Commit 1f04bd0

Browse files
Update styles for night mode and various elements
1 parent 53131d8 commit 1f04bd0

1 file changed

Lines changed: 18 additions & 11 deletions

File tree

style.css

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ body.night-mode .precip-explanation {
900900
.h-time {
901901
font-size: 0.8rem;
902902
color: #4b5563;
903-
font-weight: bolder;
903+
font-weight: bolder;
904904
margin-bottom: 5px;
905905
}
906906

@@ -1197,15 +1197,15 @@ body.night-mode .wind-map-container h3 {
11971197
justify-content: center;
11981198
gap: 8px;
11991199
font-size: 0.8rem;
1200-
color: #4b5563;
1201-
font-weight: 600;
1200+
color: #fff;
12021201
}
12031202

12041203
.api-attribution img {
12051204
height: 25px;
12061205
width: auto;
12071206
opacity: 0.8;
12081207
transition: opacity 0.3s;
1208+
12091209
}
12101210

12111211
.api-attribution img:hover {
@@ -1600,7 +1600,7 @@ body.night-mode .wind-item {
16001600
.live-indicator:focus+.glass-tooltip {
16011601
transform: translateX(-50%) translateY(-4px);
16021602
box-shadow: 0 12px 30px rgba(6, 182, 212, 0.25),
1603-
inset 0 1px 0 rgba(255, 255, 255, 0.1);
1603+
inset 0 1px 0 rgba(255, 255, 255, 0.1);
16041604
}
16051605

16061606
/* Orange border for major-node tooltips */
@@ -1872,16 +1872,16 @@ details[open] .timeline-chevron {
18721872
}
18731873

18741874
.timeline-author strong {
1875-
color: #2563eb;
1876-
font-weight: 700;
1875+
color: #07090e;
1876+
text-decoration: underline;
18771877
}
18781878

18791879
.timeline-label {
18801880
font-family: 'Orbitron', sans-serif;
18811881
font-size: 0.65rem;
18821882
text-transform: uppercase;
18831883
letter-spacing: 2px;
1884-
color: rgba(30, 41, 59, 0.4);
1884+
color: #fff;
18851885
pointer-events: none;
18861886
margin: 0;
18871887
}
@@ -1890,6 +1890,7 @@ details[open] .timeline-chevron {
18901890
Responsive — Mobile shows accordion, desktop shows horizontal
18911891
============================================================ */
18921892
@media (max-width: 768px) {
1893+
18931894
.timeline-desktop,
18941895
.timeline-desktop-title {
18951896
display: none;
@@ -1924,10 +1925,12 @@ body.night-mode .timeline-author {
19241925

19251926
body.night-mode .timeline-author strong {
19261927
color: #38bdf8;
1928+
text-decoration: none;
19271929
}
19281930

19291931
body.night-mode .timeline-label {
19301932
color: rgba(255, 255, 255, 0.25);
1933+
font-weight: bolder;
19311934
border-color: rgba(6, 182, 212, 0.2);
19321935
}
19331936

@@ -2065,20 +2068,24 @@ body.night-mode .forecast-container h3 {
20652068
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
20662069
}
20672070

2068-
body.night-mode .h-time{
2071+
body.night-mode .h-time {
20692072
color: #ffffff;
20702073
}
20712074

2072-
body.night-mode .h-temp{
2075+
body.night-mode .h-temp {
20732076
color: #24973e
20742077
}
20752078

2076-
body.night-mode .forecast-item .f-desc{
2079+
body.night-mode .forecast-item .f-desc {
20772080
font-size: 0.9rem;
20782081
color: #000000;
20792082
font-weight: bolder;
20802083
}
20812084

2082-
body.night-mode .api-attribution{
2085+
body.night-mode .api-attribution {
20832086
color: #a5a5a5;
20842087
}
2088+
2089+
body.night-mode .api-attribution img {
2090+
filter: brightness(0) invert(1);
2091+
}

0 commit comments

Comments
 (0)