Git提交
This commit is contained in:
39
assets/sass/components/_icons.scss
Normal file
39
assets/sass/components/_icons.scss
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
此源码是基于 Dimension 的二次修改
|
||||
Github:https://github.com/nianbroken/Personal_Sakura_Guide_Page
|
||||
Gitee:https://gitee.com/nianbroken/Personal_Sakura_Guide_Page
|
||||
*/
|
||||
/* Icons */
|
||||
|
||||
ul.icons {
|
||||
cursor: default;
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
padding: 0 0.75em 0 0;
|
||||
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
border-radius: 100%;
|
||||
box-shadow: inset 0 0 0 _size(border-width) _palette(border);
|
||||
display: inline-block;
|
||||
height: 2.25rem;
|
||||
line-height: 2.25rem;
|
||||
text-align: center;
|
||||
width: 2.25rem;
|
||||
|
||||
&:hover {
|
||||
background-color: _palette(border-bg);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: _palette(border-bg-alt);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user