hexo-theme-keep/source/css/layout/_partial/tools.styl

46 lines
840 B
Stylus
Raw Normal View History

2020-04-25 11:16:58 +08:00
@require "../common/variables.styl";
@require "../common/magic-theme.styl";
$li-border-radius = 5px;
2020-04-26 15:16:53 +08:00
$li-margin-bottom = 12px;
.tools-container {
.tools-list {
li {
cursor: pointer;
width: $circle-button-width;
height: $circle-button-width;
border-radius: 50%;
font-size: 1.2em;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: $li-margin-bottom;
background: var(--background-color);
2020-09-05 23:08:03 +08:00
&:last-child {
margin-bottom: 0;
}
2020-11-13 14:43:22 +08:00
hover-style(1.1, 1.1);
&:hover {
transition();
color: var(--background-color);
background: var(--primary-color);
}
2020-09-07 15:56:13 +08:00
&.page-aside-toggle {
display: none;
2020-09-07 16:25:37 +08:00
+ils-tablet() {
display: none !important;
}
2020-09-07 15:56:13 +08:00
}
}
}
2020-09-05 23:08:03 +08:00
}