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 9 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

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

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

td.code
padding-left: 10px


+ 2
- 9
templates/docs.html View File

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

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

<li>
<h1><span>&raquo;</span> API</h1>
<p>
<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"
><button id="advanced-search" title="advanced search" type="button">
Adv. Search
<!-- <img src="img/index/search_bar_magnifying_glass.png"> -->
</button>

<div id="advanced-search">


Loading…
Cancel
Save