New alert system

This commit is contained in:
Michał Gdula 2022-08-01 14:09:53 +01:00
parent 41667bff0a
commit 9fd958648b
9 changed files with 141 additions and 57 deletions

View file

@ -315,6 +315,18 @@ body {
/*
-=-=-= ALERT =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*/
.alert-banner {
margin: 0; padding: 0;
max-width: 621px; width: calc(100% - 2rem);
height: auto;
top: 1rem; left: 50%;
transform: translateX(-50%);
position: fixed; z-index: 9999999;
}
.alert {
padding: 1rem;
@ -328,6 +340,7 @@ body {
outline: 0.5rem solid var(--bg);
}
.alert-high {
background-color: var(--green);
}