[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [onionoo/master] Add anchors to section headers.



commit e0f7dcec9e39acdc146797db7e7525af3b71cfbe
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Fri Jul 27 12:00:27 2012 +0200

    Add anchors to section headers.
---
 web/css/stylesheet-ltr.css |    7 +++++++
 web/index.html             |   15 ++++++++++-----
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/web/css/stylesheet-ltr.css b/web/css/stylesheet-ltr.css
index e3c07d5..db09591 100644
--- a/web/css/stylesheet-ltr.css
+++ b/web/css/stylesheet-ltr.css
@@ -32,3 +32,10 @@ img {
   margin: .2em .2em .2em .2em;
 }
 
+a.anchor {
+  font-size: 1em;
+  color: black;
+  font-weight: bold;
+  text-decoration: none;
+}
+
diff --git a/web/index.html b/web/index.html
index b956822..e80a99e 100755
--- a/web/index.html
+++ b/web/index.html
@@ -36,7 +36,8 @@ changes.
 <p>The Onionoo API is described by resource types and available methods
 below.</p>
 <br>
-<h3>Summary documents</h3>
+<a name="summary"></a>
+<h3><a href="#summary" class="anchor">Summary documents</a></h3>
 <p>Summary documents contain short summaries of relays with nicknames,
 fingerprints, IP addresses, and running information as well as bridges
 with hashed fingerprints and running information.
@@ -157,7 +158,8 @@ fingerprints in the URL.
 </tr>
 </table>
 <br>
-<h3>Detail documents</h3>
+<a name="details"></a>
+<h3><a href="#details" class="anchor">Detail documents</a></h3>
 <p>Detail documents contain all known details of relays and bridges that
 have been running in the past week.
 Detail documents are based on the network statuses published by the Tor
@@ -452,7 +454,8 @@ fingerprints in the URL.
 </tr>
 </table>
 <br>
-<h3>Bandwidth documents</h3>
+<a name="bandwidth"></a>
+<h3><a href="#bandwidth" class="anchor">Bandwidth documents</a></h3>
 <p>Bandwidth documents contain aggregate statistics of a relay's or
 bridge's consumed bandwidth for different time intervals.
 Bandwidth documents are available for all relays and bridges that have
@@ -616,7 +619,8 @@ fingerprints in the URL.
 </tr>
 </table>
 <br>
-<h3>Weights documents</h3>
+<a name="weights"></a>
+<h3><a href="#weights" class="anchor">Weights documents</a></h3>
 <p>Weights documents contain aggregate statistics of a relay's probability
 to be selected by clients for building paths.
 <font color="blue">Added document type on July 24, 2012.</font>
@@ -719,7 +723,8 @@ The specification of this history object is similar to that in the
 </li>
 </ul>
 <br>
-<h3>Methods</h3>
+<a name="methods"></a>
+<h3><a href="#methods" class="anchor">Methods</a></h3>
 <p>The following methods each return a single document containing zero or
 more relay and/or bridge documents.</p>
 <table border="0" cellpadding="4" cellspacing="0" summary="">

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits