respect reduced motion preference

This commit is contained in:
Vri 🌈 2023-05-17 13:54:02 +02:00
parent 4fe76e19b7
commit e8f74110b5
Signed by: vrifox
GPG key ID: D40098E5B60B2197
6 changed files with 115 additions and 25 deletions

View file

@ -2,13 +2,16 @@
display: flex;
flex-direction: column;
margin: 3rem auto;
img {
border-radius: 0.5rem;
margin: 0 auto;
box-shadow: rgba(0, 0, 0, .25) 0 0 .5rem;
max-width: 100%;
}
&.with-text img { margin-bottom: .75rem; }
&-text {
font-size: .8em;
font-weight: 300;