From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- src/doc/reference/theme/reference.css | 53 +++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/doc/reference/theme/reference.css (limited to 'src/doc/reference/theme') diff --git a/src/doc/reference/theme/reference.css b/src/doc/reference/theme/reference.css new file mode 100644 index 000000000..02e5f63df --- /dev/null +++ b/src/doc/reference/theme/reference.css @@ -0,0 +1,53 @@ +/* +.parenthetical class used to keep e.g. "less-than symbol (<)" from wrapping +the end parenthesis onto its own line. Use in a span between the last word and +the parenthetical. So for this example, you'd use +```less-than symbol (`<`)``` +*/ +.parenthetical { + white-space: nowrap; +} + +/* +Warnings and notes: + +Write the
s on their own line. E.g. + +
+ +Warning: This is bad! + +
+*/ +main .warning p { + padding: 10px 20px; + margin: 20px 0; +} + +main .warning p::before { + content: "⚠️ "; +} + +.light main .warning p, +.rust main .warning p { + border: 2px solid red; + background: #ffcece; +} + +.rust main .warning p { + /* overrides previous declaration */ + border-color: #961717; +} + +.coal main .warning p, +.navy main .warning p, +.ayu main .warning p { + background: #542626; +} + +/* Make the links higher contrast on dark themes */ +.coal main .warning p a, +.navy main .warning p a, +.ayu main .warning p a { + color: #80d0d0; +} -- cgit v1.2.3