luci-theme-openwrt-2020: add styling of abbreviations and acronyms
authorPetr Štetiar <ynezz@true.cz>
Mon, 14 Dec 2020 11:53:01 +0000 (12:53 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 22 Oct 2021 18:35:48 +0000 (20:35 +0200)
Style abbreviations and acronyms with dotted underline text-decoration
as without the style it's quite hard to find out which text is
abbreviation or acronym.

References: https://developer.mozilla.org/en-US/docs/Archive/Web_Standards/Styling_Abbreviations_and_Acronyms
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit b5faba12442529d282668268aee0d54bd98f1419)

themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css

index c6e5d774283eff334dcf5d3d3dd291968f08a025..e251df5127ecbe66c6b5e3e885ec27301f3aa6d1 100644 (file)
@@ -54,6 +54,10 @@ body {
        min-width: 100%;
 }
 
+abbr[title], acronym[title] {
+       text-decoration: dotted underline;
+}
+
 /*
  * scaffholding
  */