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)
committerPaul Spooren <mail@aparcar.org>
Tue, 28 Sep 2021 20:46:36 +0000 (10:46 -1000)
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>
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
  */