aboutsummaryrefslogtreecommitdiffstats
path: root/scss/pysite/pages/_rst.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/pysite/pages/_rst.scss')
-rw-r--r--scss/pysite/pages/_rst.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/scss/pysite/pages/_rst.scss b/scss/pysite/pages/_rst.scss
new file mode 100644
index 00000000..8274eb5f
--- /dev/null
+++ b/scss/pysite/pages/_rst.scss
@@ -0,0 +1,19 @@
+// Page-specific styling for pages that make use of embedded
+// RST documents that have been parsed into HTML.
+
+
+$page_classes: (
+ uses-rst, // All pages that declare their use of the RST parser
+);
+
+@each $class in $page_classes {
+ .#{$class} {
+ .document li p {
+ margin-bottom: 0;
+ }
+
+ .document img {
+ margin-bottom: 20px;
+ }
+ }
+}