Skip to content

Commit 886c467

Browse files
committed
Publish 2025-09-23
1 parent 6d1cac7 commit 886c467

File tree

2 files changed

+41
-22
lines changed

2 files changed

+41
-22
lines changed

plus/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ <h2 class="title-secondary">
7272
<h2 class="title-secondary">
7373
<span class="title-plus">Upgrade Now</span>
7474
</h2>
75+
76+
<p class="description-tier">
77+
For over 10 years Dark Reader has helped millions of people with migraines and light sensitivity.
78+
By purchasing Dark Reader Plus you help spreading dark mode across the internet and make the web easier on everyone's eyes.
79+
</p>
7580

7681
<p>
7782
<darkreader-plus-tiers minimalist></darkreader-plus-tiers>

plus/style.css

Lines changed: 36 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
:root {
2-
--color-background: #000000;
3-
--color-control: #2f496b;
4-
--color-control-hover: #2b6074;
5-
--color-text: #5681bd;
6-
--color-text-highlight: white;
7-
--color-accent: #e9594c;
8-
--gradient-accent: linear-gradient(to right, #c45c49, #c23d4a, #4577b9);
2+
--color-background: hsl(0, 0%, 0%);
3+
--color-control: hsl(214, 39%, 30%);
4+
--color-control-hover: hsl(196, 46%, 31%);
5+
--color-text: hsl(215, 44%, 54%);
6+
--color-text-highlight: #ffffff;
7+
--color-accent: hsl(5, 78%, 61%);
8+
--gradient-accent: linear-gradient(to right, hsl(9, 51%, 53%), hsl(354, 52%, 50%), hsl(214, 46%, 50%));
99
}
1010

1111
html {
@@ -17,9 +17,15 @@ html {
1717
body {
1818
color: var(--color-text);
1919
font-family: system-ui;
20-
max-width: 42em;
21-
margin: 0 auto;
22-
padding: 1em
20+
margin: 0;
21+
padding: 0;
22+
}
23+
24+
section {
25+
align-items: center;
26+
display: flex;
27+
flex-direction: column;
28+
justify-content: center;
2329
}
2430

2531
h1,
@@ -49,11 +55,6 @@ a:hover {
4955
max-width: 32rem;
5056
}
5157

52-
footer {
53-
font-size: 0.75rem;
54-
margin-top: 1rem;
55-
}
56-
5758
.screenshot {
5859
background-color: black;
5960
border-radius: 1.5rem;
@@ -146,19 +147,30 @@ footer {
146147

147148
.description-tier {
148149
margin: 0 auto;
149-
max-width: 40rem;
150+
max-width: 32rem;
150151
}
151152

152153
section {
153-
margin: 1rem 0;
154+
margin: 0;
155+
padding: 2rem 0;
156+
}
157+
158+
section:nth-child(2) {
159+
background-color: hsl(212, 45%, 7%);
154160
}
155161

156-
.text-secondary {
157-
opacity: 0.75;
162+
section:nth-child(3) {
163+
background-color: hsl(212, 45%, 10%);
164+
}
165+
166+
section:nth-child(4) {
167+
background-color: hsl(212, 45%, 10%);
158168
}
159169

160170
footer {
161-
opacity: 0.75;
171+
background-color: hsl(212, 45%, 10%);
172+
color: color-mix(in srgb, hsl(212, 45%, 12%), var(--color-text));
173+
font-size: 0.75rem;
162174
padding: 0.75rem;
163175
text-align: center;
164176
}
@@ -183,14 +195,16 @@ footer {
183195
.carousel-screenshot {
184196
border: 1px solid rgb(49, 46, 58);
185197
border-radius: 1rem;
186-
box-shadow: inset 0 0 0 0.25rem black;
198+
box-shadow: inset 0 0 0 0.25rem black, 0 0 1rem black;
187199
display: inline-block;
188200
flex: none;
189201
width: 8rem;
190202
}
191203

192204
.desktop-promo {
193-
padding-left: 10%;
205+
max-width: 42em;
206+
padding-left: 2.5%;
207+
position: relative;
194208
}
195209

196210
.desktop-promo-wrapper {

0 commit comments

Comments
 (0)