hexo-theme-keep/source/css/layout/common/magic-theme.styl

24 lines
425 B
Stylus

@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;
}
}