all repos — h3rald @ 1ea3008056c31a9694740740d5cde5eec962840f

The sources of https://h3rald.com

floating images enhancements
Fabio Cevasco h3rald@h3rald.com
Sat, 16 Mar 2024 16:03:26 +0100
commit

1ea3008056c31a9694740740d5cde5eec962840f

parent

16a891bf8cae6b1693a352df87e1d9ed4511bd57

1 files changed, 12 insertions(+), 6 deletions(-)

jump to
M assets/styles/style.cssassets/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,