summaryrefslogtreecommitdiff
path: root/common.css
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-13 11:33:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-13 11:33:31 +0200
commit9662ab9e0f569e82475b56c3d1dcf0b23792a34e (patch)
tree600afa59fec5a04ce3be0847a93934aaacf35bb6 /common.css
parentf9ae99d1bef56a056cbcac5a4411cfdd3e76ac3a (diff)
Add style for notes
Diffstat (limited to 'common.css')
-rw-r--r--common.css28
1 files changed, 27 insertions, 1 deletions
diff --git a/common.css b/common.css
index acd4c38..ce35ae1 100644
--- a/common.css
+++ b/common.css
@@ -11,7 +11,7 @@ html
line-height: 1.4em;
letter-spacing: 0.01em;
- color: #333;
+ color: #292929;
}
body {margin: 0;} /* There is non-0 default margin for body. */
@@ -209,6 +209,32 @@ p, li, dd {text-align: justify;}
.code {text-align: left;} /* Manually aligned. */
pre {text-align: left;} /* If it is inside li/dd. */
+/* Notes. */
+
+.note
+{
+ color: #606060;
+}
+
+div.note
+{
+ margin: 1em 0 1em 0;
+
+ padding-left: 0.5em;
+ border: 0.25em;
+ border-left-style: solid;
+ border-color: #808080;
+
+ page-break-inside: avoid;
+}
+
+div.note :first-child {margin-top: 0;}
+div.note :last-child {margin-bottom: 0;}
+
+span.note::before {content: "[Note: "}
+span.note::after {content: "]"}
+
+/* Links. */
a
{
color: #3870c0;