Post.module
- Source name
- Post.module.css
.post {
margin: 1rem 0;
padding: 1rem;
background-color: #9c7eee;
border-radius: 8px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
animation: animate-in 1s ease-out forwards;
}
.author {
font-size: 0.8rem;
font-weight: bold;
color: #543280;
margin: 0;
text-transform: uppercase;
}
.text {
white-space: pre-wrap;
font-size: 1.25rem;
margin: 0.25rem 0 0 0;
color: #593884;
font-style: italic;
}
@keyframes animate-in {
from {
opacity: 0;
transform: translateY(1rem);
}
to {
opacity: 1;
transform: translateY(0);
}
}