world/sass/amber-banner.scss

69 lines
1.4 KiB
SCSS
Raw Normal View History

2024-10-20 10:15:24 +02:00
.amber-banner-wrapper {
position: absolute;
right: 0;
2024-10-20 09:38:15 +02:00
display: flex;
2024-10-20 10:15:24 +02:00
align-items: end;
flex-direction: column;
2024-10-20 09:38:15 +02:00
2024-10-20 10:15:24 +02:00
.amber-banner {
background: #0005;
border: 1px solid #000;
border-radius: 8px;
height: 5rem;
width: fit-content;
padding: 1rem;
2024-10-20 09:38:15 +02:00
display: flex;
2024-10-20 10:15:24 +02:00
align-items: center;
gap: 1rem;
2024-10-20 09:38:15 +02:00
2024-10-20 10:15:24 +02:00
margin-bottom: 2rem;
* {
margin: 0; padding: 0;
}
h1 {
font-size: 1.5rem;
}
ul {
list-style: none;
display: flex;
margin-top: 0.5rem;
gap: 0.5rem;
}
small {
display: block;
color: #555555;
}
.amber-banner-icon {
height: 100%;
padding: 0 1rem;
@keyframes amber-banner-icon-breathe {
0%, 30% {
transform: scale(1);
}
56% {
transform: scale(1.1);
}
70%, to {
transform: scale(1);
}
2024-10-20 09:38:15 +02:00
}
2024-10-20 10:15:24 +02:00
animation: amber-banner-icon-breathe 6s ease infinite;
2024-10-20 09:38:15 +02:00
}
}
2024-10-20 10:15:24 +02:00
.amber-banner-title {
width: fit-content;
border-radius: 8px 8px 0 0;
padding: 0.2em 0.5em;
margin-right: 1rem;
background: #0003;
border: 1px solid #000;
border-bottom: 0;
}
2024-10-20 09:38:15 +02:00
}