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

github.com/capnfabs/paperesque.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'static/css/style.css')
-rw-r--r--static/css/style.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 91ff94a..76e55d7 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -359,6 +359,27 @@ aside.article-aside {
margin-top: 3em;
}
+aside.article-aside > p:first-child {
+ margin-top: 1rem;
+}
+
+aside.content-warning {
+ font-style: italic;
+ margin-bottom: 2rem;
+ color: #777;
+ border-top: solid 1px #777;
+ border-bottom: solid 1px #777;
+ padding-left: 1em;
+ padding-right: 1em;
+ padding-top: 0.25em;
+ padding-bottom: 0.25em;
+ display: inline-block;
+}
+
+aside.content-warning > p:last-child {
+ margin-bottom: 0;
+}
+
/*
TODO: understand CSS so I don't need to do this insane thing. The idea here is
that if an `aside` appears immediately after a heading, it should have close