1
0
forked from noxious/client

#286 - Added global class for fully absolute-centering elements

This commit is contained in:
2024-12-29 02:21:21 +01:00
parent 7bb7af9476
commit d0c08c25fd
12 changed files with 27 additions and 23 deletions

View File

@ -159,6 +159,10 @@ button {
@apply border border-solid border-gray-500;
}
.center-element {
@apply absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2;
}
.text-pixel {
@apply text-white font-ui drop-shadow-pixel-black;
}