From 325878f89f6cd2a0233917794d0ab19df3ce3913 Mon Sep 17 00:00:00 2001 From: Tiago de Paula Peixoto Date: Fri, 12 Aug 2011 19:06:01 +0200 Subject: [PATCH] Cosmetic documentation changes --- doc/gt_theme/static/flasky.css | 17 +++-------------- doc/gt_theme/static/gt_style.css | 12 ++++++++++++ doc/quickstart.rst | 4 ++-- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/doc/gt_theme/static/flasky.css b/doc/gt_theme/static/flasky.css index 9d92842d..59a71c06 100644 --- a/doc/gt_theme/static/flasky.css +++ b/doc/gt_theme/static/flasky.css @@ -11,19 +11,8 @@ @import url("basic.css"); -@font-face { - font-family: 'Droid Serif'; - font-style: normal; - font-weight: normal; - src: local('Droid Serif'), local('DroidSerif'), url('http://themes.googleusercontent.com/font?kit=0AKsP294HTD-nvJgucYTaJ0EAVxt0G0biEntp43Qt6E') format('truetype'); -} - -@font-face { - font-family: 'Envy Code R'; - font-style: normal; - font-weight: normal; - src: local('Envy Code R'), url('http://skewed.de/envy.ttf') format('truetype'); -} +/* webfonts */ +@import url("http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic|Droid+Sans+Mono"); /* -- page layout ----------------------------------------------------------- */ body { @@ -263,7 +252,7 @@ p.admonition-title:after { } pre, tt { - font-family: 'Envy Code R', 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; + font-family: 'Droid Mono', 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.9em; } diff --git a/doc/gt_theme/static/gt_style.css b/doc/gt_theme/static/gt_style.css index 8501e8b4..7ed1a90f 100644 --- a/doc/gt_theme/static/gt_style.css +++ b/doc/gt_theme/static/gt_style.css @@ -4,6 +4,18 @@ table.docutils td { padding-left: 0.5em; } +table.docutils.field-list +{ + border-collapse: separate; + border-spacing: 0em 1em; +} + +table.docutils td.field-body { + border-left: 1px solid #BBBBBB !important; + border-collapse: separate !important; + padding-left: 1em; +} + /* stupid workaround to hide ugly c++ signature stuff from sphinx*/ dl.method dl.last { visibility: collapse; diff --git a/doc/quickstart.rst b/doc/quickstart.rst index 2c224790..57d5ab1d 100644 --- a/doc/quickstart.rst +++ b/doc/quickstart.rst @@ -147,8 +147,8 @@ Edges and vertices can also be removed at any time with the ones last added to the graph). Removing an edge is an :math:`O(k_{s} + k_{t})` operation, where - :math:`O(k_{s})` is the out-degree of the source vertex, and - :math:`O(k_{t})` is the in-degree of the target vertex. + :math:`k_{s}` is the out-degree of the source vertex, and + :math:`k_{t}` is the in-degree of the target vertex. Each vertex in a graph has an unique index, which is numbered from 0 to N-1, where N is the number of vertices. This index can be obtained by -- GitLab