2022-05-21 21:48:27 +08:00
|
|
|
@if $sidebar_position == 'right' {
|
2022-05-21 17:47:26 +08:00
|
|
|
.sidebar-active {
|
|
|
|
@include desktop() {
|
|
|
|
padding-right: $sidebar-desktop;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
right: 0 - $sidebar-desktop;
|
|
|
|
|
|
|
|
.sidebar-active & {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} @else {
|
|
|
|
.sidebar-active {
|
|
|
|
@include desktop() {
|
|
|
|
padding-left: $sidebar-desktop;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
left: 0 - $sidebar-desktop;
|
|
|
|
|
|
|
|
.sidebar-active & {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
background: $black-deep;
|
|
|
|
bottom: 0;
|
2022-05-21 21:48:27 +08:00
|
|
|
@if not $back2top_sidebar {
|
2022-05-21 17:47:26 +08:00
|
|
|
box-shadow: inset 0 2px 6px black;
|
|
|
|
}
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
transition: all $transition-ease-out;
|
|
|
|
width: $sidebar-desktop;
|
|
|
|
z-index: $zindex-2;
|
|
|
|
|
|
|
|
a {
|
|
|
|
border-bottom-color: $black-light;
|
|
|
|
color: $grey-dark;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-bottom-color: $gainsboro;
|
|
|
|
color: $gainsboro;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-27 16:25:56 +08:00
|
|
|
.links-of-author, .links-of-social {
|
2022-05-21 17:47:26 +08:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
border-bottom-color: $black-light;
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
2022-05-21 21:48:27 +08:00
|
|
|
@if $social_icons_transition {
|
2022-05-21 17:47:26 +08:00
|
|
|
transition: all $transition-ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background: rgb(random(255), random(255), random(255));
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 3px;
|
|
|
|
transform: translateY(-2px);
|
|
|
|
@include round-icon(4px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.links-of-blogroll-item {
|
2022-05-21 21:48:27 +08:00
|
|
|
@if $links_settings_layout == 'inline' {
|
2022-05-21 17:47:26 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
padding: 2px 10px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 280px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|