angular-docs-cn/public/resources/css/module/_sticker.scss

26 lines
476 B
SCSS

.sticker {
box-shadow: 0px 1px 2px rgba($coal, .3);
position: relative;
font-size: 80px;
color: $fog;
line-height: 128px;
height: 128px;
width: 128px;
border-radius: 1000px;
text-align: center;
background: $mist;
margin: ($unit * 2) auto;
.sticker-icon {
position: absolute;
top: 50%;
left: 50%;
z-index: $layer-1;
margin: -40px 0px 0px -40px;
&.is-small {
font-size: 64px;
margin: -32px 0px 0px -40px;
}
}
}