1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
| if hexo-config('preloader') #loading-box.loaded #icat-splash opacity: 0 z-index: -1000
#icat-splash display: -webkit-box display: -moz-box display: -webkit-flex display: -ms-flexbox display: box display: flex justify-content: center align-items: center width: 100% height: 100% position: fixed background: var(--icat-card-bg) z-index: 1999 opacity: 1 -ms-filter: none filter: none -webkit-transition: .3s -moz-transition: .3s -o-transition: .3s -ms-transition: .3s transition: .3s
.icat-loading width: 30% height: auto overflow: hidden display: flex justify-content: center position: relative
@media screen and (max-width: 768px) width: 50% img width: 100% height: auto -webkit-filter: brightness(1) -moz-filter: brightness(1) -o-filter: brightness(1) -ms-filter: brightness(1) filter: brightness(1)
&::before content: "" display: inline-block width: 100% height: 400% background-image: linear-gradient(to bottom, #FCFCFC, #FCFCFC 25%, #E8FF00 25%, #E8FF00 50%, #34BE89 50%, #34BE89 75%, #FCFCFC 75%, #FCFCFC) background-position: center top position: absolute top: 0 animation-name: loading animation-delay: 0.5s animation-duration: 4s animation-iteration-count: infinite animation-timing-function: linear
[data-theme="dark"] background-image: linear-gradient(to bottom, #1d1e22, #1d1e22 25%, #E8FF00 25%, #E8FF00 50%, #34BE89 50%, #34BE89 75%, #1d1e22 75%, #1d1e22)
@keyframes loading from top: 0 to top: -300%
|