From 9e873dd88a114c752a51c188070ce95f47ab4910 Mon Sep 17 00:00:00 2001 From: Joseph Weston <joseph.weston08@gmail.com> Date: Fri, 20 Nov 2015 00:16:58 +0100 Subject: [PATCH] fix margin of kwant usage examples Before, the titles stuck out on the left of the main body of text. --- content/index.rst | 10 +++++----- themes/kwant/assets/css/custom.css | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/content/index.rst b/content/index.rst index 1d5221e..53f1583 100644 --- a/content/index.rst +++ b/content/index.rst @@ -43,7 +43,7 @@ Kwant. The tutorial section of `Kwant documentation <doc/1.0/>`_ and the explanations (`zipfile of all examples <http://downloads.kwant-project.org/examples/kwant-examples-1.0.0.zip>`_). -.. class:: row +.. class:: row nomargin Graphene flake .............. @@ -75,7 +75,7 @@ Graphene flake Taken from the Kwant `plotting tutorial <doc/1.0/tutorial/tutorial6.html>`_. -.. class:: row +.. class:: row nomargin Quantum Hall effect ................... @@ -102,7 +102,7 @@ Quantum Hall effect <object type="image/svg+xml" class="col-md-4 img-responsive" data="qhe-plateaus.svgz">qhe-plateaus.svgz</object> -.. class:: row +.. class:: row nomargin 3-d system: Majorana states ........................... @@ -123,7 +123,7 @@ Quantum Hall effect Taken from an unpublished work by S. Mi, A. R. Akhmerov, and M. Wimmer. -.. class:: row +.. class:: row nomargin Numerical experiment: flying qubit .................................. @@ -148,7 +148,7 @@ Numerical experiment: flying qubit .. image:: flying-qubit.png -.. class:: row +.. class:: row nomargin Conductance of a Corbino disk in a quantum Hall regime ...................................................... diff --git a/themes/kwant/assets/css/custom.css b/themes/kwant/assets/css/custom.css index f376c09..bc118c0 100644 --- a/themes/kwant/assets/css/custom.css +++ b/themes/kwant/assets/css/custom.css @@ -35,3 +35,8 @@ footer { border-top-color: #EEEEEE; border-top-width: medium; } + +.nomargin { + margin-left: 0px; + margin-right: 0px; +} -- GitLab