51 lines
1.0 KiB
CSS
51 lines
1.0 KiB
CSS
i.icon.home {
|
|
position: relative;
|
|
margin-bottom: -2px;
|
|
--width: 18px;
|
|
--height: 14px;
|
|
width: 18px;
|
|
height: 14px;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
border: 2px solid;
|
|
border-top: 0;
|
|
border-bottom: 0;
|
|
border-top-right-radius: 3px;
|
|
border-top-left-radius: 3px;
|
|
border-bottom-right-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
background: linear-gradient(to left, currentColor 5px, transparent 0)
|
|
no-repeat 0 bottom/4px 2px,
|
|
linear-gradient(to left, currentColor 5px, transparent 0) no-repeat right
|
|
bottom/4px 2px;
|
|
}
|
|
i.icon.home::after,
|
|
i.icon.home::before {
|
|
position: absolute;
|
|
content: "";
|
|
display: block;
|
|
box-sizing: border-box;
|
|
}
|
|
i.icon.home::before {
|
|
left: 0;
|
|
top: -5px;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 3px;
|
|
transform: rotate(45deg);
|
|
border-top: 2px solid;
|
|
border-left: 2px solid;
|
|
border-top-left-radius: 4px;
|
|
}
|
|
i.icon.home::after {
|
|
left: 3px;
|
|
bottom: 0;
|
|
width: 8px;
|
|
height: 10px;
|
|
border: 2px solid;
|
|
border-radius: 100px;
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
border-bottom: 0;
|
|
}
|