world/sass/amber-banner.scss

60 lines
1.1 KiB
SCSS
Raw Permalink Normal View History

.amber-banner {
background: #0005;
border: 1px solid #000;
border-radius: 8px;
2024-10-20 09:38:15 +02:00
height: 5rem;
width: fit-content;
padding: 1rem;
2024-10-20 09:38:15 +02:00
display: flex;
align-items: center;
gap: 1rem;
2024-10-20 10:15:24 +02:00
margin-bottom: 2rem;
2024-10-20 09:38:15 +02:00
* {
margin: 0; padding: 0;
}
h1 {
font-size: 1.5rem;
}
ul {
list-style: none;
2024-10-20 09:38:15 +02:00
display: flex;
margin-top: 0.5rem;
gap: 0.5rem;
}
small {
display: block;
color: #555555;
}
2024-10-20 10:15:24 +02:00
.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
}
}
animation: amber-banner-icon-breathe 6s ease infinite;
2024-10-20 09:38:15 +02:00
}
}
.amber-banner-title {
width: fit-content;
border-radius: 8px 8px 0 0;
padding: 0.2em 0.5em;
margin: 0;
margin-left: 1rem;
background: #0003;
border: 1px solid #000;
border-bottom: 0;
2024-10-20 09:38:15 +02:00
}