Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bceb5ca commit c11737fCopy full SHA for c11737f
public/_includes/_hero.jade
@@ -1,5 +1,11 @@
1
+textFormat = ''
2
+
3
+if current.path[4] && current.path[3] == 'api'
4
+ textFormat = 'is-standard-case'
5
6
7
header(class="hero background-sky")
- h1.hero-title.text-display-1 #{title}
8
+ h1(class="hero-title text-display-1 #{textFormat}") #{title}
9
10
if subtitle
11
h2.hero-subtitle.text-subhead #{subtitle}
public/resources/css/module/_hero.scss
@@ -28,6 +28,10 @@ $hero-padding: $unit * 2;
28
margin: ($unit * 9) 0px 0px ($unit * 10);
29
opacity: .87;
30
31
+ &.is-standard-case {
32
+ text-transform: none;
33
+ }
34
35
@media handheld and (max-width: $phone-breakpoint),
36
screen and (max-device-width: $phone-breakpoint),
37
screen and (max-width: $tablet-breakpoint) {
0 commit comments