diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index acebb64d3b..3936d8c203 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -3,6 +3,10 @@ visibility: hidden; } @media (max-width: 480px) { + .page-header h1 small { + display: block; + line-height: 18px; + } .form-horizontal .control-group > label { float: none; width: auto; diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 5a6bd971fb..41029ded1f 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -657,14 +657,13 @@ form.well { } /* Change up some type stuff */ - h1 small { - display: block; - line-height: 20px; - } - /* More space between sections */ h2 { margin-top: 27px; } + h2 small { + display: block; + line-height: 18px; + } h3 { margin-top: 18px; } @@ -681,6 +680,7 @@ form.well { } .jumbotron p { margin-right: 0; + margin-left: 0; font-size: 18px; line-height: 24px; } @@ -695,6 +695,10 @@ form.well { .quick-links { margin: 40px 0 0; } + .quick-links li { + margin-top: 5px; + margin-bottom: 5px; + } /* hide the bullets on mobile since our horizontal space is limited */ .quick-links .divider { display: none; @@ -744,10 +748,10 @@ form.well { .subnav .nav > li { float: none; } - .subnav .nav a { + .subnav .nav > li > a { border: 0; } - .subnav .nav li + li a { + .subnav .nav > li + li a { border-top: 1px solid #e5e5e5; } diff --git a/docs/base-css.html b/docs/base-css.html index 167cb5e694..740e0e1432 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -71,6 +71,7 @@
+ - - -Element | -Result | -
---|---|
<code> |
- In a line of text like this, your wrapped code will look like this <html> element. |
-
<pre> |
-
-<div> - <h1>Heading</h1> - <p>Something right here…</p> -</div>- Note: Be sure to keep code within |
-
<pre class="prettyprint"> |
-
- Using the google-code-prettify library, your blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers. -<div> - <h1>Heading</h1> - <p>Something right here…</p> -</div>- <div> - <h1>Heading</h1> - <p>Something right here…</p> -</div>- Download google-code-prettify and view the readme for how to use. - |
-
Wrap inline snippets of code with <code>
.
+For example, <code>section</code> should be wrapped as inline. ++
Use <pre>
for multiple lines of code. Be sure to turn any carets into their unicode characters for proper rendering.
+<pre> + <p>Sample text here...</p> +</pre> ++
Note: Be sure to keep code within <pre>
tags as close to the left as possible; it will render all tabs.
Take the same <pre>
element and add two optional classes for enhanced rendering.
+<pre class="prettyprint + linenums"> + <p>Sample text here...</p> +</pre> ++
Download google-code-prettify and view the readme for how to use.
+Use the same .span*
classes from the grid system for input sizes.
Labels | +Labels | Markup |
---|
{{_i}}Element{{/i}} | -{{_i}}Result{{/i}} | -
---|---|
<code> |
- {{_i}}In a line of text like this, your wrapped code will look like this <html> element.{{/i}} |
-
<pre> |
-
-<div> - <h1>{{_i}}Heading{{/i}}</h1> - <p>{{_i}}Something right here…{{/i}}</p> -</div>- {{_i}}Note: Be sure to keep code within |
-
<pre class="prettyprint"> |
-
- {{_i}}Using the google-code-prettify library, your blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers.{{/i}} -<div> - <h1>{{_i}}Heading{{/i}}</h1> - <p>{{_i}}Something right here…{{/i}}</p> -</div>- <div> - <h1>{{_i}}Heading{{/i}}</h1> - <p>{{_i}}Something right here…{{/i}}</p> -</div>- {{_i}}Download google-code-prettify and view the readme for how to use.{{/i}} - |
-
Wrap inline snippets of code with <code>
.
+{{_i}}For example, <code>section</code> should be wrapped as inline.{{/i}} ++
{{_i}}Use <pre>
for multiple lines of code. Be sure to turn any carets into their unicode characters for proper rendering.{{/i}}
+<pre> + <p>{{_i}}Sample text here...{{/i}}</p> +</pre> ++
{{_i}}Note: Be sure to keep code within <pre>
tags as close to the left as possible; it will render all tabs.{{/i}}
Take the same <pre>
element and add two optional classes for enhanced rendering.
+<pre class="prettyprint + linenums"> + <p>{{_i}}Sample text here...{{/i}}</p> +</pre> ++
{{_i}}Download google-code-prettify and view the readme for how to use.{{/i}}
+{{_i}}Use the same .span*
classes from the grid system for input sizes.{{/i}}
{{_i}}Labels{{/i}} | +{{_i}}Labels{{/i}} | {{_i}}Markup{{/i}} |
---|