diff options
author | SimonBrazell <simon@brazell.com.au> | 2021-01-13 10:34:49 +1100 |
---|---|---|
committer | SimonBrazell <simon@brazell.com.au> | 2021-01-13 10:34:49 +1100 |
commit | fbc16cbb896efb327b037448a6707953364be3cb (patch) | |
tree | 28505af2e60e302f243059852fcaaa7fb519a517 /src/assets/stylesheets | |
parent | Translate "Random instance (none selected)" (#158) (diff) | |
download | libredirect-fbc16cbb896efb327b037448a6707953364be3cb.zip |
Fixes #160 - Disable search redirects by default (sorry... 🙂)
Diffstat (limited to 'src/assets/stylesheets')
-rw-r--r-- | src/assets/stylesheets/styles.css | 22 |
1 files changed, 22 insertions, 0 deletions
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; +} |