diff options
author | Shahyar <shahyar@gmail.com> | 2014-04-14 15:36:53 -0400 |
---|---|---|
committer | Shahyar <shahyar@gmail.com> | 2014-05-10 10:57:33 +0200 |
commit | a6850e52ae252253253fb86645fc6eeaf9575faf (patch) | |
tree | 080519c7ce63af7e2f69d68e98810b4bed6f3aa0 /docs | |
parent | 245cd9ae519fb8e28661f3d1d1835b2447a455e7 (diff) | |
download | mediawikicore-a6850e52ae252253253fb86645fc6eeaf9575faf.tar.gz mediawikicore-a6850e52ae252253253fb86645fc6eeaf9575faf.zip |
Improve rendering of Living Style Guide sections, examples, and modifiers.
Change-Id: I5ca69ff5889239eed2f369917bf7bcbbd751e397
Diffstat (limited to 'docs')
-rw-r--r-- | docs/kss/styleguide-template/index.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/kss/styleguide-template/index.html b/docs/kss/styleguide-template/index.html index 99f3e4f81b72..cb95197f78c0 100644 --- a/docs/kss/styleguide-template/index.html +++ b/docs/kss/styleguide-template/index.html @@ -28,6 +28,7 @@ {{html overview}} {{else}} {{#eachSection rootNumber}} + <section> {{#whenDepth 1}} <h1>{{ reference }}.0 - {{ header }}</h1> {{else}} @@ -40,12 +41,12 @@ {{/whenDepth}} {{#ifAny markup modifiers}} <div>{{html description}}</div> - <strong>Default styling</strong><br> - {{modifierMarkup}} + <h4>Default styling</h4> + <blockquote>{{modifierMarkup}}</blockquote> {{#eachModifier}} - {{html description}}<br> - <p>{{name}}</p> - {{modifierMarkup}} + <h4>{{name}}</h4> + {{html description}} + <blockquote>{{modifierMarkup}}</blockquote> {{/eachModifier}} <pre class="prettyprint lang-html">{{markup}}</pre> {{else}} @@ -53,6 +54,7 @@ {{html description}} {{/if}} {{/ifAny}} + </section> {{/eachSection}} {{/if}} </article> |