Browse Source

Fix line-numbers gap in /docs code sample.

Fix:
        templates/docs.html
                -Remove gap between the line-number column and code-viewport
                boundary in the API usage sample.
tags/v1.0^2
Severyn Kozak 10 years ago
parent
commit
72f21b7b9e
3 changed files with 5 additions and 11 deletions
  1. +3
    -1
      static/sass/docs.sass
  2. +2
    -9
      templates/docs.html
  3. +0
    -1
      templates/index.html

+ 3
- 1
static/sass/docs.sass View File

@@ -47,11 +47,13 @@ span
font-weight: bold font-weight: bold


table.code-example table.code-example
border-collapse: collapse
width: 100% !important width: 100% !important


td.linenos td.linenos
width: 20px
border: 1px solid $baseColor2
padding-left: 10px padding-left: 10px
width: 20px


td.code td.code
padding-left: 10px padding-left: 10px


+ 2
- 9
templates/docs.html View File

@@ -66,12 +66,12 @@
<li> <li>
<span class="code">date last modified</span> : Search for <span class="code">date last modified</span> : Search for
code last modified on a specific date code last modified on a specific date
(<span id="code">mm/dd/yy</span> format).
(<span class="code">mm/dd/yy</span> format).
</li> </li>
<li> <li>
<span class="code">date created</span> : Search for code <span class="code">date created</span> : Search for code
created on a specific date created on a specific date
(<span id="code">mm/dd/yy</span> format).
(<span class="code">mm/dd/yy</span> format).
</li> </li>
<li> <li>
<span class="code">symbols</span> : Search for specific <span class="code">symbols</span> : Search for specific
@@ -139,13 +139,6 @@
</li> </li>


<li> <li>
<h1><span>&raquo;</span> Handwritten Queries</h1>
<p>
No content, yet.
</p>
</li>

<li>
<h1><span>&raquo;</span> API</h1> <h1><span>&raquo;</span> API</h1>
<p> <p>
<span class="title">bitshift</span> provides an API through GET <span class="title">bitshift</span> provides an API through GET


+ 0
- 1
templates/index.html View File

@@ -31,7 +31,6 @@
<input id="query" type="text" name="query" <input id="query" type="text" name="query"
><button id="advanced-search" title="advanced search" type="button"> ><button id="advanced-search" title="advanced search" type="button">
Adv. Search Adv. Search
<!-- <img src="img/index/search_bar_magnifying_glass.png"> -->
</button> </button>


<div id="advanced-search"> <div id="advanced-search">


Loading…
Cancel
Save