@require "animated.styl" magic-style(scale) { if (hexo-config('magic.enable') == true) { box-shadow: 0 0 3px var(--border-color); transition(); &:hover { transition(); box-shadow: 0 0 8px var(--border-color); transform: scale(scale); } } } magic-container(scale) { if (hexo-config('magic.enable') == true) { magic-style(scale); padding: 30px; border-radius: 2px; } }