Skip to content

Commit 7c53d78

Browse files
author
Jesse Borden
committed
Add misc mobile and desktop component styles.
1 parent 138d2e5 commit 7c53d78

File tree

4 files changed

+129
-36
lines changed

4 files changed

+129
-36
lines changed

assets/stylesheets/new-stylesheets/includes/footer/_base.scss

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212
}
1313

1414
footer.global-footer {
15-
background-color: #1E162E;
15+
background-color: #1e162e;
1616
padding: 20px;
1717
text-align: center;
1818
padding: 6rem 3rem 3rem 3.5em;
1919
color: rgb(235, 236, 240);
20+
position: relative;
21+
z-index: 2;
2022

2123
.container {
2224
max-width: 980px;
@@ -31,22 +33,22 @@ footer.global-footer {
3133

3234
.notes {
3335
.logo {
34-
display: flex;
35-
width: 116px;
36+
display: flex;
37+
width: 116px;
3638

37-
svg {
38-
flex: 1;
39-
}
39+
svg {
40+
flex: 1;
41+
}
4042

41-
#logotype {
42-
fill: #ebecf0;
43-
}
43+
#logotype {
44+
fill: #ebecf0;
45+
}
4446
}
4547
}
4648

4749
h3 {
4850
margin-bottom: 15px;
49-
color: #FCA76C;
51+
color: #fca76c;
5052
font-size: 1.17em;
5153
line-height: 1.2;
5254
font-weight: bold;
@@ -127,7 +129,7 @@ footer.global-footer {
127129
}
128130

129131
input:checked + .color-scheme-toggle-label {
130-
background: #FCA76C;
132+
background: #fca76c;
131133
color: #1e162e;
132134
}
133135
}
@@ -141,20 +143,19 @@ footer.global-footer {
141143
align-items: flex-end;
142144
color: #d1d2d4;
143145

144-
145146
nav {
146147
display: inline-block;
147148

148-
ul {
149-
list-style: none;
150-
padding: 0;
151-
margin: 0;
152-
display: inline-flex;
149+
ul {
150+
list-style: none;
151+
padding: 0;
152+
margin: 0;
153+
display: inline-flex;
153154

154-
a {
155-
color: #d1d2d4;
156-
}
155+
a {
156+
color: #d1d2d4;
157157
}
158+
}
158159
}
159160

160161
.legals {
@@ -165,7 +166,9 @@ footer.global-footer {
165166
margin-bottom: 1.5em;
166167
line-height: 1.5em;
167168

168-
p { margin: 0; }
169+
p {
170+
margin: 0;
171+
}
169172

170173
a {
171174
color: #d1d2d4;
@@ -177,7 +180,7 @@ footer.global-footer {
177180
margin-right: 1.75em;
178181

179182
a {
180-
padding: .35em 0;
183+
padding: 0.35em 0;
181184
border-bottom: 1px solid transparent;
182185

183186
&:hover {
@@ -202,24 +205,24 @@ footer.global-footer {
202205
&.github {
203206
@include icon-style($icon-github);
204207
}
205-
208+
206209
&.bluesky {
207210
@include icon-style($icon-bluesky);
208211
}
209-
212+
210213
&.feed {
211214
@include icon-style($icon-feed);
212215
}
213-
216+
214217
&.mastodon {
215218
@include icon-style($icon-mastodon);
216219
}
217-
220+
218221
&.x {
219222
@include icon-style($icon-x);
220223
}
221224
}
222225
}
223226
}
224227
}
225-
}
228+
}

assets/stylesheets/new-stylesheets/pages/_get-started.scss

Lines changed: 72 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
margin-bottom: 20px;
5050
position: relative;
5151
z-index: 1;
52+
53+
@media only screen and (max-width: 768px) {
54+
font-size: 32px;
55+
line-height: 1.33;
56+
}
5257
}
5358

5459
> p {
@@ -71,7 +76,7 @@
7176
grid-template-columns: repeat(3, 1fr);
7277
gap: 20px;
7378

74-
@media only screen and (max-width: 767px) {
79+
@media only screen and (max-width: 768px) {
7580
& {
7681
grid-template-columns: 1fr;
7782
}
@@ -137,7 +142,7 @@
137142

138143
.content {
139144
background-color: white;
140-
padding: 53px 50px 40px;
145+
padding: 30px 50px 20px;
141146
max-width: 980px;
142147
margin: 0 auto;
143148
z-index: 3;
@@ -150,6 +155,10 @@
150155
margin: 0 10px;
151156
}
152157

158+
@media only screen and (max-width: 768px) {
159+
padding: 22px 15px 10px;
160+
}
161+
153162
.section-icon {
154163
width: 60px;
155164
margin: 40px 0 0;
@@ -159,10 +168,20 @@
159168
text-align: center;
160169
font-size: 48px;
161170
margin-bottom: 52px;
171+
172+
@media only screen and (max-width: 768px) {
173+
font-size: 32px;
174+
line-height: 1.33;
175+
margin-bottom: 22px;
176+
}
162177
}
163178

164179
a {
165180
@include link-with-right-arrow();
181+
182+
@media only screen and (max-width: 768px) {
183+
padding-bottom: 15px;
184+
}
166185
}
167186

168187
.primary-cards,
@@ -285,7 +304,8 @@
285304

286305
.name {
287306
margin-bottom: 6px;
288-
font-size: 21px;
307+
font-size: 22px;
308+
line-height: 1.33;
289309
}
290310

291311
.text {
@@ -312,6 +332,11 @@
312332
margin-bottom: 44px;
313333
width: 100%;
314334
text-align: center;
335+
336+
@media only screen and (max-width: 768px) {
337+
font-size: 32px;
338+
line-height: 1.33;
339+
}
315340
}
316341

317342
.card-wrapper {
@@ -353,7 +378,6 @@
353378

354379
p {
355380
margin-bottom: 25px;
356-
padding-right: 90px;
357381
}
358382

359383
a {
@@ -441,12 +465,22 @@
441465
font-size: 22px;
442466
line-height: 1.2;
443467
margin-bottom: 5px;
468+
469+
@media only screen and (max-width: 768px) {
470+
font-size: 32px;
471+
line-height: 1.33;
472+
}
444473
}
445474
}
446475

447476
h2 {
448477
font-size: 48px;
449478
margin-bottom: 27px;
479+
480+
@media only screen and (max-width: 768px) {
481+
font-size: 32px;
482+
line-height: 1.33;
483+
}
450484
}
451485

452486
p,
@@ -518,12 +552,21 @@
518552
font-size: 48px;
519553
font-weight: 600;
520554
margin-bottom: 29px;
555+
556+
@media only screen and (max-width: 768px) {
557+
font-size: 32px;
558+
line-height: 1.33;
559+
}
521560
}
522561

523562
p {
524563
font-size: 17px;
525564
padding: 0 100px;
526565
margin-bottom: 45px;
566+
567+
@media only screen and (max-width: 768px) {
568+
padding: 0;
569+
}
527570
}
528571

529572
a {
@@ -550,6 +593,11 @@
550593
font-size: 48px;
551594
margin-bottom: 30px;
552595
line-height: 1.2;
596+
597+
@media only screen and (max-width: 768px) {
598+
font-size: 32px;
599+
line-height: 1.33;
600+
}
553601
}
554602

555603
p {
@@ -604,6 +652,11 @@
604652
font-size: 48px;
605653
margin-bottom: 30px;
606654
line-height: 1.2;
655+
656+
@media only screen and (max-width: 768px) {
657+
font-size: 32px;
658+
line-height: 1.33;
659+
}
607660
}
608661

609662
p {
@@ -630,6 +683,11 @@
630683
margin-bottom: 44px;
631684
width: 100%;
632685
text-align: center;
686+
687+
@media only screen and (max-width: 768px) {
688+
font-size: 32px;
689+
line-height: 1.33;
690+
}
633691
}
634692

635693
.card-wrapper {
@@ -715,6 +773,11 @@
715773
h2 {
716774
font-size: 48px;
717775
margin-bottom: 30px;
776+
777+
@media only screen and (max-width: 768px) {
778+
font-size: 32px;
779+
line-height: 1.33;
780+
}
718781
}
719782

720783
p {
@@ -807,6 +870,11 @@
807870
font-size: 48px;
808871
margin-bottom: 44px;
809872
text-align: center;
873+
874+
@media only screen and (max-width: 768px) {
875+
font-size: 32px;
876+
line-height: 1.33;
877+
}
810878
}
811879

812880
h3 {

0 commit comments

Comments
 (0)