Procházet zdrojové kódy

CSS tweaks.

tags/v1.0^2
Ben Kurtovic před 10 roky
rodič
revize
a73d080625
2 změnil soubory, kde provedl 12 přidání a 3 odebrání
  1. +10
    -0
      static/sass/docs.sass
  2. +2
    -3
      templates/docs.html

+ 10
- 0
static/sass/docs.sass Zobrazit soubor

@@ -35,6 +35,16 @@ span
color: $baseColor1
font-weight: bold

table.code-example
width: 100% !important

td.linenos
width: 20px
padding-left: 10px

td.code
padding-left: 10px

li#sec3 span#gasp
color: $baseColor2 * 0.8
font-style: italic

+ 2
- 3
templates/docs.html Zobrazit soubor

@@ -224,7 +224,7 @@
The following example Python 2 code searches for a given Python
function definition and prints the URL of the first result:
</p>
<table class="highlighttable">
<table class="highlighttable code-example">
<tr>
<td class="linenos">
<div class="linenodiv">
@@ -269,8 +269,7 @@

<span class="k">if</span> <span class="n">__name__</span> <span class="o">==</span> <span class="s">&quot;__main__&quot;</span><span class="p">:</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">argv</span><span class="p">)</span> <span class="o">==</span> <span class="mi">2</span><span class="p">:</span>
<span class="n">get_function</span><span class="p">(</span><span class="n">argv</span><span class="p">[</span><span class="mi">1</span><span class="p">])</span>
</pre>
<span class="n">get_function</span><span class="p">(</span><span class="n">argv</span><span class="p">[</span><span class="mi">1</span><span class="p">])</span></pre>
</div>
</td>
</tr>


Načítá se…
Zrušit
Uložit