/* 图标样式 */ .imas-gakuen-sprite { background-image: url(https://img.moegirl.org.cn/common/0/0d/Imas_gakuen_icon_sprite_v3.png); display: inline-block; } .imas-gakuen-sprite.gakuen-sprite-circle { border-radius: 50%; } /* 图标在大家族模板中引用的类 */ .imas-gakuen-nav { display: inline-block; width: 6em; text-align: center; vertical-align: middle; margin: 2px 0; white-space: nowrap; position: relative; } /* 实现图标在鼠标悬停时变化引用的类 */ .imas-gakuen-trans:hover { transform: scale(1.2); box-shadow: 0 5.5px 4px 0 rgba(0,0,0,0.22),0 4px 6px 0 rgba(0,0,0,0.22); z-index: 999; transition: transform 0.1s ease-in-out, box-shadow 0.16s ease-in-out; } /* [[Category:偶像大师模板CSS]] */