Skip to content

Commit f4a5077

Browse files
Added missing rules between cells
1 parent 01837b7 commit f4a5077

File tree

2 files changed

+30
-12
lines changed

2 files changed

+30
-12
lines changed

overrides/assets/landing/home.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,12 +417,24 @@
417417
}
418418

419419
.whichstandard__item {
420-
/* borders like your original */
421-
border-top: 2px solid var(--md-secondary-fg-color-white);
420+
border-top: 4px solid var(--md-secondary-fg-color-gray);
422421
}
423422

424423
.whichstandard__item:last-child {
425-
border-bottom: 2px solid var(--md-secondary-fg-color-white);
424+
border-bottom: 4px solid var(--md-secondary-fg-color-gray);
425+
}
426+
427+
.whichstandard__rule,
428+
.whichstandard__rule-bottom {
429+
display: block;
430+
grid-column: 1 / -1;
431+
height: 4px;
432+
background: var(--md-secondary-fg-color-gray);
433+
margin: 0;
434+
}
435+
436+
.whichstandard__item--no-icon .whichstandard__rule {
437+
display: none !important;
426438
}
427439

428440
/* Columns placement */

overrides/home.html

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ <h1 style="color:#0A0A0A;">{{text.t("section1Title")}}</h1>
4545
<h3>{{text.t("section1Subtitle1")}}</h3>
4646
</div>
4747
<div class="whichstandard__arrow">
48+
<!-- green arrow -->
4849
<img src="/assets/landing/arrow-gofs-green.svg" alt="" />
4950
</div>
5051
<div class="whichstandard__answer">
51-
<h3 class="light" style="margin-top:15px;">{{text.t("section1TextBlock1")}}</h3>
52+
<h3 class="light">{{text.t("section1TextBlock1")}}</h3>
5253
</div>
5354
</li>
5455

@@ -61,15 +62,15 @@ <h3 class="light" style="margin-top:15px;">{{text.t("section1TextBlock1")}}</h3>
6162
alt="Zone based microtransit icon" />
6263
</div>
6364
<div class="whichstandard__what">
64-
<h3 style="margin-top:15px;">{{text.t("section1Subtitle2")}}</h3>
65+
<h3>{{text.t("section1Subtitle2")}}</h3>
6566
<h3 class="light">{{text.t("section1Subtitle2part2")}}</h3>
6667
</div>
6768
<div class="whichstandard__arrow">
6869
<!-- green arrow -->
6970
<img src="/assets/landing/arrow-gofs-green.svg" alt="" />
7071
</div>
7172
<div class="whichstandard__answer">
72-
<h3 class="light" style="margin-top:15px;">{{text.t("section1TextBlock2")}}</h3>
73+
<h3 class="light">{{text.t("section1TextBlock2")}}</h3>
7374
</div>
7475
</li>
7576

@@ -81,15 +82,15 @@ <h3 class="light" style="margin-top:15px;">{{text.t("section1TextBlock2")}}</h3>
8182
<img src="/assets/landing/gofs-icon-predefined-routes.svg" alt="Zone based microtransit icon" />
8283
</div>
8384
<div class="whichstandard__what">
84-
<h3 style="margin-top:25px;">{{text.t("section1Subtitle3")}}</h3>
85+
<h3>{{text.t("section1Subtitle3")}}</h3>
8586
<h3 class="light">{{text.t("section1Subtitle3part2")}}</h3>
8687
</div>
8788
<div class="whichstandard__arrow" style="margin-top:5px;">
8889
<!-- green arrow -->
8990
<img src="/assets/landing/arrow-gofs-green.svg" alt="" />
9091
</div>
9192
<div class="whichstandard__answer">
92-
<h3 class="light" style="margin-top:25px;">{{text.t("section1TextBlock3")}}</h3>
93+
<h3 class="light">{{text.t("section1TextBlock3")}}</h3>
9394
</div>
9495
</li>
9596

@@ -104,7 +105,7 @@ <h3>{{text.t("section1Subtitle4")}}</h3>
104105
<img src="/assets/landing/arrow-gofs-green.svg" alt="" />
105106
</div>
106107
<div class="whichstandard__answer">
107-
<h3 class="light" style="margin-top:15px;">{{text.t("section1TextBlock3part3")}}</h3>
108+
<h3 class="light">{{text.t("section1TextBlock3part3")}}</h3>
108109
</div>
109110
</li>
110111

@@ -122,7 +123,7 @@ <h3>{{text.t("section1Subtitle5")}}</h3>
122123
<img src="/assets/landing/arrow-gofs-green.svg" alt="" />
123124
</div>
124125
<div class="whichstandard__answer">
125-
<h3 class="light" style="margin-top:15px;">{{text.t("section1TextBlock5")}}</h3>
126+
<h3 class="light">{{text.t("section1TextBlock5")}}</h3>
126127
</div>
127128
</li>
128129

@@ -134,16 +135,21 @@ <h3 class="light" style="margin-top:15px;">{{text.t("section1TextBlock5")}}</h3>
134135
<img src="/assets/landing/gofs-icon-self-service-vehicles.svg" alt="Self-service vehicles" />
135136
</div>
136137
<div class="whichstandard__what">
137-
<h3 style="margin-top:17px;">{{text.t("section1Subtitle6")}}</h3>
138+
<h3>{{text.t("section1Subtitle6")}}</h3>
138139
<h3 class="light">{{text.t("section1Subtitle6part2")}}</h3>
139140
</div>
140141
<div class="whichstandard__arrow" style="margin-top:3px;">
141142
<img src="/assets/landing/arrow-gofs-green.svg" alt="" />
142143
</div>
143144
<div class="whichstandard__answer">
144-
<h3 class="light" style="margin-top:17px;">{{text.t("section1TextBlock6")}}</h3>
145+
<h3 class="light">{{text.t("section1TextBlock6")}}</h3>
145146
</div>
146147
</li>
148+
149+
<!-- Row 7 - fake, only to add last rule -->
150+
<li class="whichstandard__item">
151+
<div class="whichstandard__rule" aria-hidden="true"></div>
152+
</li>
147153
</ul>
148154
</div>
149155
</section>

0 commit comments

Comments
 (0)