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

53 lines
930 B
Stylus
Raw Normal View History

$li-border-radius = 5px;
2020-04-26 15:16:53 +08:00
$li-margin-bottom = 12px;
2021-01-06 23:53:17 +08:00
.post-tools-container {
.tools-list {
li {
cursor: pointer;
width: $post-tool-button-width;
height: $post-tool-button-width;
border-radius: 50%;
2020-12-01 16:51:38 +08:00
font-size: 1.2rem;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: $li-margin-bottom;
background: var(--background-color);
color: var(--default-text-color);
i {
color: var(--default-text-color);
2020-09-05 23:08:03 +08:00
}
&:hover {
background: var(--primary-color);
color: var(--background-color);
i {
color: var(--background-color);
}
}
&:last-child {
margin-bottom: 0;
}
2021-01-21 18:23:22 +08:00
hover-style(true, 1.06, 1.06);
2020-09-07 15:56:13 +08:00
&.page-aside-toggle {
display: none;
2020-09-07 16:25:37 +08:00
2020-11-20 12:02:22 +08:00
+keep-tablet() {
2020-09-07 16:25:37 +08:00
display: none !important;
}
2020-09-07 15:56:13 +08:00
}
}
}
2020-09-05 23:08:03 +08:00
}