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

43 lines
776 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);
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
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
}