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

52 lines
921 B
Stylus

$li-border-radius = 5px;
$li-margin-bottom = 12px;
.post-tools-container {
.tools-list {
li {
cursor: pointer;
width: $post-tool-button-width;
height: $post-tool-button-width;
border-radius: 50%;
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);
}
&:hover {
background: var(--primary-color);
color: var(--background-color);
i {
color: var(--background-color);
}
}
hover-style(1.1, 1.1);
&:last-child {
margin-bottom: 0;
}
&.page-aside-toggle {
display: none;
+keep-tablet() {
display: none !important;
}
}
}
}
}