Standard case for API pages

This commit is contained in:
Alex Wolfe 2015-05-01 06:04:23 -07:00
parent bceb5ca6b9
commit c11737ff73
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,11 @@
textFormat = ''
if current.path[4] && current.path[3] == 'api'
textFormat = 'is-standard-case'
header(class="hero background-sky")
h1.hero-title.text-display-1 #{title}
h1(class="hero-title text-display-1 #{textFormat}") #{title}
if subtitle
h2.hero-subtitle.text-subhead #{subtitle}

View File

@ -28,6 +28,10 @@ $hero-padding: $unit * 2;
margin: ($unit * 9) 0px 0px ($unit * 10);
opacity: .87;
&.is-standard-case {
text-transform: none;
}
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {