Skip to content

Commit 9fc007a

Browse files
authored
Merge pull request #77 from johnmhoran/73-update-dark-mode
Fine-tune the dark mode #73
2 parents a3206c6 + 430c242 commit 9fc007a

5 files changed

Lines changed: 135 additions & 394 deletions

File tree

website/src/components/HomepageContent/styles.module.css

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@
4848
padding-top: 1rem;
4949
margin-top: 0;
5050
border-radius: 10px;
51-
/* 2025-11-05 Wednesday 14:48:46. */
52-
/* box-shadow: 0 0 6px #0000001a; */
5351
border: solid 1px #e0e0e0;
5452
background-color: #f8f8f8;
5553
}
@@ -145,73 +143,41 @@
145143
height: 64px;
146144
}
147145

148-
/* 2025-11-05 Wednesday 09:36:17. For the intro. */
149146
.introContainer {
150-
/* max-width: 1200px;
151-
width: 100%;
152-
text-align: center;
153-
display: flex;
154-
padding: 2rem;
155-
156-
margin: 2rem auto;
157-
background-color: #e8e8e8; */
158-
159147
display: grid;
160-
/* grid-template-columns: 1fr 1fr; */
161-
/* gap: 2rem; */
162148
max-width: 1200px;
163-
margin: 3rem auto;
164-
margin: 2rem auto;
165-
margin: .5rem auto;
166149
margin: 1rem auto .5rem auto;
167-
/* padding: 0 2rem; */
168150
padding-top: 1rem;
169-
/* margin-top: 0; */
170151
border-radius: 10px;
171-
172152
background-color: #00ccff;
173153
}
174154

175155
/* 2025-11-22 Saturday 10:12:48. In place of using .introContainer for text-only blocks, use a div like this. */
176156
.sectionIntro {
177157
max-width: 1200px;
178158
margin: 0 auto;
179-
padding: 1rem 0;
180-
padding: 0.5rem 0;
181159
padding: 0;
182-
183-
/* background-color: #ffffcc; */
184160
line-height: 1.4rem;
185161
}
186162

187163
.sectionHeader {
188164
display: flex;
189-
/* justify-content: center; */
190-
191-
/* background-color: #ffcccc; */
192165
padding: 0px 0px 0px 0px;
193-
/* padding: 1rem 2rem; */
194166
}
195167

196168
.sectionHeader h1 {
197169
margin-bottom: 0px;
198170
color: #000000;
199171
}
172+
[data-theme="dark"] .sectionHeader h1 {
173+
color: #e5e5e5;
174+
}
200175

201176
.sectionHeader h2 {
202177
margin-bottom: 0px;
203-
color: #336699;
204178
color: #992600;
205179
}
206180

207-
/* 2025-11-22 Saturday 12:29:30. */
208-
/* .container {
209-
max-width: 1200px;
210-
margin: 0 auto;
211-
padding: 1rem 1.5rem;
212-
} */
213-
214-
/* styles.module.css */
215181
.sectionContainer {
216182
max-width: 1200px;
217183
margin: 0 auto;
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
/* Hero full-width */
22
.fullHero {
33
width: 100%;
4-
color: white;
54
text-align: center;
65
padding: 2rem 2rem 2rem 2rem;
76
background-size: cover;
87
background-blend-mode: overlay;
9-
/* background-image: linear-gradient(135deg, #666666 0%, #999999 100%),
10-
url("/img/cube-background.jpg"); */
11-
background-color: #e8e8e8;
8+
background-color: #e8e8e8;
129
color: #000000;
1310
}
11+
html[data-theme="dark"] .fullHero {
12+
background-color: #252525;
13+
color: white;
14+
}
1415

1516
.heroInner {
1617
max-width: 900px;
@@ -23,8 +24,6 @@
2324
}
2425

2526
.heroSubtitle {
26-
font-size: 1.25rem;
2727
font-size: 2rem;
28-
margin-bottom: 2rem;
2928
margin-bottom: 0.5rem;
3029
}

0 commit comments

Comments
 (0)