diff options
Diffstat (limited to 'src/assets/stylesheets/styles.css')
-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; +} |