From fbc16cbb896efb327b037448a6707953364be3cb Mon Sep 17 00:00:00 2001 From: SimonBrazell Date: Wed, 13 Jan 2021 10:34:49 +1100 Subject: Fixes #160 - Disable search redirects by default (sorry... 🙂) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/stylesheets/styles.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/assets') diff --git a/src/assets/stylesheets/styles.css b/src/assets/stylesheets/styles.css index b6200728..5079a3cc 100644 --- a/src/assets/stylesheets/styles.css +++ b/src/assets/stylesheets/styles.css @@ -514,3 +514,25 @@ hr { background-color: var(--active); border: none; } + +.new-badge { + position: relative; +} + +.new-badge[data-new-badge]:after { + content: "New!"; + position: absolute; + top: -10px; + right: -42px; + font-size: 0.9em; + background: var(--active); + color: white; + width: 35px; + height: 18px; + text-align: center; + line-height: 18px; + border-radius: 25px; + padding: 2px; + box-shadow: 0 0 1px var(--bg-secondary); + font-weight: bold; +} -- cgit 1.4.1