diff options
author | uPagge <git@upagge.ru> | 2021-02-27 22:37:51 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-02-27 22:37:51 +0300 |
commit | e6fab445b5fb684910f88f65daef113763a9a9cb (patch) | |
tree | bff6e228b95ae8b9f2f8c5324c10aece25ee01b7 /assets/css | |
parent | a61dccbfa8f2683bea14e3b51bff1e6bf9ab0585 (diff) |
css fix
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/_ublogger.scss | 14 | ||||
-rw-r--r-- | assets/css/_ublogger_media.scss | 15 |
2 files changed, 17 insertions, 12 deletions
diff --git a/assets/css/_ublogger.scss b/assets/css/_ublogger.scss index 9f0775f..b1de6f1 100644 --- a/assets/css/_ublogger.scss +++ b/assets/css/_ublogger.scss @@ -1152,18 +1152,8 @@ figure { } } -.lazyload { - opacity: 0; -} - -.lazyloading { - opacity: 1; - transition: opacity 300ms; - background: #f7f7f7 url("/loading.svg") no-repeat center; -} - -img.lazyload:not([src]) { - visibility: hidden; +.render-image { + text-align: center; } @import "_partial/share-icon"; diff --git a/assets/css/_ublogger_media.scss b/assets/css/_ublogger_media.scss index 04eee24..d47ee74 100644 --- a/assets/css/_ublogger_media.scss +++ b/assets/css/_ublogger_media.scss @@ -174,6 +174,11 @@ .post { padding: 10px; + + .render-image { + margin-left: -10px; + margin-right: -10px; + } } .content-block { @@ -314,6 +319,16 @@ } +@media only screen and (max-width: 400px) { + .home { + article { + .featured-image-preview { + display: none; + } + } + } +} + @media print { div.menu, .fixed-button, .toc, #toc-auto, .post-info-share, |