From 51e3917882b57ef231542c756931268f05583349 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 9 Nov 2023 10:33:39 +0200 Subject: [Icons] Added an "important" icon and style --- awk-edits/Icons.awk | 5 +++-- src/img/dialog-important.png | Bin 0 -> 528 bytes src/styles.css | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/img/dialog-important.png diff --git a/awk-edits/Icons.awk b/awk-edits/Icons.awk index 268efa2..ae780bd 100644 --- a/awk-edits/Icons.awk +++ b/awk-edits/Icons.awk @@ -25,5 +25,6 @@ function articleIconSub(name, filename) { "\""") } -/&&warn/ { articleIconSub("warn", "dialog-warning.png") } -/&&question/ { articleIconSub("question", "dialog-question.png") } +/&&question/ { articleIconSub("question", "dialog-question.png") } +/&&warn/ { articleIconSub("warn", "dialog-warning.png") } +/&&important/ { articleIconSub("important", "dialog-important.png") } diff --git a/src/img/dialog-important.png b/src/img/dialog-important.png new file mode 100644 index 0000000..e96cd67 Binary files /dev/null and b/src/img/dialog-important.png differ diff --git a/src/styles.css b/src/styles.css index b66ec69..9dc726b 100644 --- a/src/styles.css +++ b/src/styles.css @@ -152,6 +152,7 @@ img { padding-left: calc(32px + 1em); } .warn-par { border: 1px dashed #fac848; } + .important-par { border: 1px solid #f46062; } .special-par-icon { vertical-align: middle; } .special-par > .special-par-icon { position: absolute; -- cgit v1.3.1-23-gd82d