Skip to content

Commit e74ac3b

Browse files
authored
Stack the home-page animations on phones (#501)
1 parent 61ed359 commit e74ac3b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎docs/_static/extra.css‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,11 @@
8787
.md-typeset img[src*="_static/readme/"] {
8888
border-radius: 0.4rem;
8989
}
90+
/* On phones, stack them instead of shrinking them side by side */
91+
@media screen and (max-width: 44.984375em) {
92+
.md-typeset img[src*="_static/readme/"] {
93+
display: block;
94+
width: 100%;
95+
margin: 0 auto 0.8rem;
96+
}
97+
}

0 commit comments

Comments
 (0)