Browse Source

use ::before

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 6 months ago
parent
commit
0216deb74f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      includes/header.php

+ 3
- 2
includes/header.php View File

@@ -220,13 +220,14 @@ function isMobile() {
.repository-package > div:first-child { .repository-package > div:first-child {
padding-top: calc(0.5em + 0.5px); padding-top: calc(0.5em + 0.5px);
} }
.repository-package.abandoned > div:first-child::after {
.repository-package.abandoned > div:first-child::before {
background-color: #ffba10; background-color: #ffba10;
color: black; color: black;
content: "abandoned"; content: "abandoned";
height: 1rem; height: 1rem;
padding: 4px; padding: 4px;
position: absolute;
position: relative;
left: 39px; /*calc(150px / 2 - 72px / 2)*/
} }
@media only screen and (max-width: 540px) { @media only screen and (max-width: 540px) {
.repository-package { .repository-package {


Loading…
Cancel
Save