2020-04-02 20:37:34 +08:00
|
|
|
@require '../common/variables.styl'
|
2020-04-24 22:49:10 +08:00
|
|
|
@require '../common/magic-theme.styl'
|
|
|
|
|
|
|
|
$li-padding = 10px;
|
|
|
|
$li-border-radius = 5px;
|
|
|
|
$li-margin-bottom = 10px;
|
|
|
|
|
2020-04-02 20:37:34 +08:00
|
|
|
|
2020-04-02 11:01:24 +08:00
|
|
|
.tools-container {
|
2020-04-02 20:37:34 +08:00
|
|
|
|
|
|
|
.tools-list {
|
2020-04-02 11:01:24 +08:00
|
|
|
li {
|
|
|
|
cursor: pointer;
|
2020-04-24 22:49:10 +08:00
|
|
|
padding: $li-padding;
|
|
|
|
border-radius: $li-border-radius;
|
2020-04-07 11:57:53 +08:00
|
|
|
font-size: 1.2em;
|
2020-04-02 20:37:34 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-04-24 22:49:10 +08:00
|
|
|
margin-bottom: $li-margin-bottom;
|
|
|
|
background: var(--background-color);
|
|
|
|
|
|
|
|
if (hexo-config('magic.enable') == true) {
|
|
|
|
magic-style(1.1);
|
|
|
|
} else {
|
|
|
|
border: 1px solid var(--third-text-color);
|
|
|
|
}
|
2020-04-02 20:37:34 +08:00
|
|
|
|
2020-04-15 22:30:24 +08:00
|
|
|
&.rss {
|
2020-04-24 22:49:10 +08:00
|
|
|
padding: 0;
|
|
|
|
|
2020-04-15 22:30:24 +08:00
|
|
|
a {
|
2020-04-24 22:49:10 +08:00
|
|
|
border-radius: $li-border-radius;
|
|
|
|
padding: $li-padding;
|
2020-04-15 22:30:24 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-04-24 22:49:10 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--background-color);
|
|
|
|
background: var(--primary-color);
|
|
|
|
}
|
2020-04-15 22:30:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-24 22:49:10 +08:00
|
|
|
|
2020-04-02 20:37:34 +08:00
|
|
|
&:hover {
|
2020-04-24 22:49:10 +08:00
|
|
|
color: var(--background-color);
|
|
|
|
background: var(--primary-color);
|
2020-04-02 20:37:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-04-02 11:01:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|