Loading Rakefile +1 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,7 @@ class JsDuckRunner "--output", "#{@out_dir}", "--external=google.maps.Map,google.maps.LatLng", "--builtin-classes", "--img", "<p class='screenshot'><img src='%u' alt='%a'><span>%a</span></p>", "#{@sdk_dir}/touch/resources/themes/stylesheets/sencha-touch/default", ] Loading template/resources/sass/viewport.scss +10 −3 Original line number Diff line number Diff line Loading @@ -406,9 +406,6 @@ a { padding: 10px 12px; } } .class-overview { img.screenshot { display: block; padding: 10px 0; } .hierarchy { @include border-radius(5px); background-color: #f7f7f7; Loading Loading @@ -506,6 +503,16 @@ a { p { margin: 0 0 0.8em; } } // Screenshot image created by {@img} tag. Centered. // With a span containing the caption for the image. p.screenshot { img { display: block; margin: 0 auto; } span { display: block; text-align: center; font-size: smaller; }} // Nice styles for headings inside documentation #center-container .doc-contents { Loading Loading
Rakefile +1 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,7 @@ class JsDuckRunner "--output", "#{@out_dir}", "--external=google.maps.Map,google.maps.LatLng", "--builtin-classes", "--img", "<p class='screenshot'><img src='%u' alt='%a'><span>%a</span></p>", "#{@sdk_dir}/touch/resources/themes/stylesheets/sencha-touch/default", ] Loading
template/resources/sass/viewport.scss +10 −3 Original line number Diff line number Diff line Loading @@ -406,9 +406,6 @@ a { padding: 10px 12px; } } .class-overview { img.screenshot { display: block; padding: 10px 0; } .hierarchy { @include border-radius(5px); background-color: #f7f7f7; Loading Loading @@ -506,6 +503,16 @@ a { p { margin: 0 0 0.8em; } } // Screenshot image created by {@img} tag. Centered. // With a span containing the caption for the image. p.screenshot { img { display: block; margin: 0 auto; } span { display: block; text-align: center; font-size: smaller; }} // Nice styles for headings inside documentation #center-container .doc-contents { Loading