Skip to content

Commit 6ee573b

Browse files
authored
docs(Site nav): Removed all-caps from breadcrumbs, left-nav toc, and … (spinnaker#383)
* docs(Site nav): Removed all-caps from breadcrumbs, left-nav toc, and footer. * docs(Site nav): Removed all-caps from breadcrumbs, left-nav toc, and footer.
1 parent 3c6578b commit 6ee573b

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

_data/ui-text.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ en: &DEFAULT_EN
66
page : "Page"
77
pagination_previous : "Previous"
88
pagination_next : "Next"
9-
breadcrumb_home_label : "HOME"
9+
breadcrumb_home_label : "Home"
1010
breadcrumb_separator : "/"
1111
menu_label : "Toggle Menu"
1212
toc_label : "On This Page"

_includes/breadcrumbs.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{% assign crumb_path = crumb | downcase | replace: '%20', '-' | append: "/" | prepend: crumb_path %}
3232

3333
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
34-
<a href="{{ crumb_path | absolute_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | upcase }}</span></a>
34+
<a href="{{ crumb_path | absolute_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
3535
<meta itemprop="position" content="{{ i }}" />
3636
</li>
3737
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>

_sass/_footer.scss

-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ $footer-background: #38546a;
6666
padding-bottom: 5px;
6767
font-family: $sans-serif-narrow;
6868
font-size: $type-size-6;
69-
text-transform: uppercase;
7069
}
7170

7271
li + li:before {

_sass/_navigation.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@
492492
font-family: $sans-serif-narrow;
493493
font-size: $type-size-6;
494494
font-weight: bold;
495-
text-transform: uppercase;
495+
/* text-transform: uppercase; */
496496
border-bottom: 1px solid $border-color;
497497
}
498498

@@ -504,7 +504,7 @@
504504
.toc {
505505
font-family: $sans-serif-narrow;
506506
color: $gray;
507-
text-transform: uppercase;
507+
/* text-transform: uppercase; */
508508
letter-spacing: 1px;
509509
background-color: #fff;
510510
border: 1px solid $border-color;

_sass/_page.scss

+2-4
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@
223223
.page__share-title {
224224
margin-bottom: 10px;
225225
font-size: $type-size-6;
226-
text-transform: uppercase;
227226
}
228227

229228

@@ -249,7 +248,6 @@
249248
.page__meta-title {
250249
margin-bottom: 10px;
251250
font-size: $type-size-6;
252-
text-transform: uppercase;
253251
}
254252

255253

@@ -297,7 +295,7 @@
297295
padding-top: 2rem;
298296
font-size: $type-size-6;
299297
border-top: 1px solid $border-color;
300-
text-transform: uppercase;
298+
/* text-transform: uppercase; */
301299
}
302300

303301
.page__comments-form {
@@ -404,5 +402,5 @@
404402
.page__related-title {
405403
margin-bottom: 10px;
406404
font-size: $type-size-6;
407-
text-transform: uppercase;
405+
/* text-transform: uppercase; */
408406
}

0 commit comments

Comments
 (0)