floating images enhancements
Fabio Cevasco h3rald@h3rald.com
Sat, 16 Mar 2024 16:03:26 +0100
1 files changed,
12 insertions(+),
6 deletions(-)
jump to
M
assets/styles/style.css
→
assets/styles/style.css
@@ -423,12 +423,6 @@ margin-top: 40px;
} -@media screen and (max-width: 385px) { - .header-counter { - display: none; - } -} - /* End fixed header */ .main-header h1 {@@ -556,6 +550,18 @@ }
img { max-width: 100%; +} + +@media screen and (max-width: 385px) { + img[style*="float"] { + float: none !important; + margin: 1rem auto; + text-align: center; + } +} + +img[style*="float"] { + margin: 1rem; } pre code,