Standard case for API pages
This commit is contained in:
parent
bceb5ca6b9
commit
c11737ff73
|
@ -1,5 +1,11 @@
|
||||||
|
textFormat = ''
|
||||||
|
|
||||||
|
if current.path[4] && current.path[3] == 'api'
|
||||||
|
textFormat = 'is-standard-case'
|
||||||
|
|
||||||
|
|
||||||
header(class="hero background-sky")
|
header(class="hero background-sky")
|
||||||
h1.hero-title.text-display-1 #{title}
|
h1(class="hero-title text-display-1 #{textFormat}") #{title}
|
||||||
|
|
||||||
if subtitle
|
if subtitle
|
||||||
h2.hero-subtitle.text-subhead #{subtitle}
|
h2.hero-subtitle.text-subhead #{subtitle}
|
||||||
|
|
|
@ -28,6 +28,10 @@ $hero-padding: $unit * 2;
|
||||||
margin: ($unit * 9) 0px 0px ($unit * 10);
|
margin: ($unit * 9) 0px 0px ($unit * 10);
|
||||||
opacity: .87;
|
opacity: .87;
|
||||||
|
|
||||||
|
&.is-standard-case {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media handheld and (max-width: $phone-breakpoint),
|
@media handheld and (max-width: $phone-breakpoint),
|
||||||
screen and (max-device-width: $phone-breakpoint),
|
screen and (max-device-width: $phone-breakpoint),
|
||||||
screen and (max-width: $tablet-breakpoint) {
|
screen and (max-width: $tablet-breakpoint) {
|
||||||
|
|
Loading…
Reference in New Issue