From df443c10ac973686a57f302629d5b8151f4aa324 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Fri, 23 Oct 2015 11:58:06 +0100 Subject: [PATCH] Move css into a css subdirectory. Add css to put a bar next to blockquotes. --- scripts/{ => css}/basic.css | 0 scripts/css/blockquote.css | 5 +++++ scripts/{ => css}/codehighlight.css | 0 scripts/{ => css}/nature.css | 0 scripts/gendoc.py | 2 +- 5 files changed, 6 insertions(+), 1 deletion(-) rename scripts/{ => css}/basic.css (100%) create mode 100644 scripts/css/blockquote.css rename scripts/{ => css}/codehighlight.css (100%) rename scripts/{ => css}/nature.css (100%) diff --git a/scripts/basic.css b/scripts/css/basic.css similarity index 100% rename from scripts/basic.css rename to scripts/css/basic.css diff --git a/scripts/css/blockquote.css b/scripts/css/blockquote.css new file mode 100644 index 00000000..151d3bce --- /dev/null +++ b/scripts/css/blockquote.css @@ -0,0 +1,5 @@ +blockquote { + margin: 20px 0 30px; + border-left: 5px solid; + padding-left: 20px; +} diff --git a/scripts/codehighlight.css b/scripts/css/codehighlight.css similarity index 100% rename from scripts/codehighlight.css rename to scripts/css/codehighlight.css diff --git a/scripts/nature.css b/scripts/css/nature.css similarity index 100% rename from scripts/nature.css rename to scripts/css/nature.css diff --git a/scripts/gendoc.py b/scripts/gendoc.py index 74a6c1da..ed36a5a7 100755 --- a/scripts/gendoc.py +++ b/scripts/gendoc.py @@ -15,7 +15,7 @@ import yaml os.chdir(os.path.dirname(os.path.abspath(__file__))) stylesheets = { - "stylesheet_path": ["basic.css", "nature.css", "codehighlight.css"] + "stylesheet_path": glob.glob("css/*.css"), } VERBOSE = False