diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-04-13 11:33:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-04-13 11:33:31 +0200 |
commit | 9662ab9e0f569e82475b56c3d1dcf0b23792a34e (patch) | |
tree | 600afa59fec5a04ce3be0847a93934aaacf35bb6 /common.css | |
parent | f9ae99d1bef56a056cbcac5a4411cfdd3e76ac3a (diff) |
Add style for notes
Diffstat (limited to 'common.css')
-rw-r--r-- | common.css | 28 |
1 files changed, 27 insertions, 1 deletions
@@ -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; |