25 lines
438 B
Stylus
25 lines
438 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, padding) {
|
|
if (hexo-config('magic.enable') == true) {
|
|
magic-style(scale);
|
|
padding: padding;
|
|
border-radius: 2px;
|
|
}
|
|
}
|