Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2014-01-29 08:29:05 +0400
committerspf13 <steve.francia@gmail.com>2014-01-29 08:29:05 +0400
commit18b9948f1effa94a16c70dd312c56a9835ffa038 (patch)
tree581f3acd62cfbf77d0e891e1c66315a48fa901e5 /docs/static
parent1882ffabc603a1a5a81b536157610dbbb4e1bd6a (diff)
Using table of contents within the documentation.
Diffstat (limited to 'docs/static')
-rwxr-xr-xdocs/static/static/css/styles.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/static/static/css/styles.css b/docs/static/static/css/styles.css
index cf382bbfe..c02f584ef 100755
--- a/docs/static/static/css/styles.css
+++ b/docs/static/static/css/styles.css
@@ -113,6 +113,25 @@ nav.navbar {
background-color: #fdfdfb !important;
}
+#toc {
+ float: right;
+ margin-left: 1em;
+ padding: 1em;
+}
+
+#TableOfContents > ul {
+ margin-left: -1em;
+ padding: 0;
+}
+
+#TableOfContents>ul>li {
+ list-style: none outside none;
+}
+
+#TableOfContents > ul > li > a {
+ padding-left: 1em;
+}
+
#main table{width:100%;margin-bottom:20px;}#main table thead>tr>th,#main table tbody>tr>th,#main table tfoot>tr>th,#main table thead>tr>td,#main table tbody>tr>td,#main table tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #dddddd;}
#main table thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd;}
#main table caption+thead tr:first-child th,#main table colgroup+thead tr:first-child th,#main table thead:first-child tr:first-child th,#main table caption+thead tr:first-child td,#main table colgroup+thead tr:first-child td,#main table thead:first-child tr:first-child td{border-top:0;}