diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 5a6bd971fb..d13686ea7c 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -681,6 +681,7 @@ form.well { } .jumbotron p { margin-right: 0; + margin-left: 0; font-size: 18px; line-height: 24px; } @@ -695,6 +696,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,7 +749,7 @@ form.well { .subnav .nav > li { float: none; } - .subnav .nav a { + .subnav .nav > li > a { border: 0; } .subnav .nav li + li a { diff --git a/docs/base-css.html b/docs/base-css.html index 167cb5e694..222b5c81da 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.
+{{_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}}
+