mirror of https://github.com/astrit/css.gg.git
46 lines
993 B
CSS
46 lines
993 B
CSS
.gg-sun {
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
display: block;
|
|
transform: scale(var(--ggs,1));
|
|
width: 24px;
|
|
height: 24px;
|
|
background:
|
|
linear-gradient(to bottom,
|
|
currentColor 4px,transparent 0)
|
|
no-repeat 5px -6px/2px 6px,
|
|
linear-gradient(to bottom,
|
|
currentColor 4px,transparent 0)
|
|
no-repeat 5px 14px/2px 6px,
|
|
linear-gradient(to bottom,
|
|
currentColor 4px,transparent 0)
|
|
no-repeat -8px 5px/6px 2px,
|
|
linear-gradient(to bottom,
|
|
currentColor 4px,transparent 0)
|
|
no-repeat 14px 5px/6px 2px;
|
|
border-radius: 100px;
|
|
box-shadow: inset 0 0 0 2px;
|
|
border: 6px solid transparent
|
|
}
|
|
|
|
.gg-sun::after,
|
|
.gg-sun::before {
|
|
content: "";
|
|
display: block;
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
width: 24px;
|
|
height: 2px;
|
|
border-right: 4px solid;
|
|
border-left: 4px solid;
|
|
left: -6px;
|
|
top: 5px
|
|
}
|
|
|
|
.gg-sun::before {
|
|
transform: rotate(-45deg)
|
|
}
|
|
|
|
.gg-sun::after {
|
|
transform: rotate(45deg)
|
|
} |