Migrate centermessage to Tailwind

Migrate most attributes to Tailwind classes. The box is a bit wider now, which is OK IMO. The z-index could be migrated to a custom Tailwind config-entry later. The transition has probably a Tailwind version as well (to be checked later…).
This commit is contained in:
Tobias 2021-01-20 22:14:26 +01:00
parent 66cb835ff0
commit f5504d28f4
2 changed files with 3 additions and 20 deletions

View file

@ -362,28 +362,9 @@ a {
#centermessage {
position: absolute;
top: 30%;
left: 25%;
width: 50%;
font-size: large;
padding: 2em;
border-radius: 2em;
z-index: 4000;
pointer-events: none;
opacity: 1;
background-color: var(--background-color);
color: var(--foreground-color);
transition: opacity 500ms linear;
text-align: center;
horiz-align: center;
font-weight: bold;
}