2020-08-22 07:20:08 -04:00
|
|
|
.sidebar {
|
|
|
|
padding: 0 15px;
|
|
|
|
&.sticky {
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(md) {
|
2020-08-22 07:20:08 -04:00
|
|
|
position: sticky;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.left-sidebar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-shrink: 0;
|
2021-06-20 06:53:10 -04:00
|
|
|
align-self: stretch;
|
2020-08-22 07:20:08 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
width: 100%;
|
|
|
|
padding: 30px 0 15px 0;
|
|
|
|
max-width: none;
|
2020-10-04 09:58:32 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
--sidebar-avatar-size: 120px;
|
|
|
|
--sidebar-element-separation: 20px;
|
|
|
|
|
|
|
|
@include respond(md) {
|
|
|
|
width: auto;
|
|
|
|
margin-right: 1%;
|
|
|
|
padding: var(--main-top-padding) 15px;
|
|
|
|
max-height: 100vh;
|
2020-10-04 09:58:32 -04:00
|
|
|
}
|
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(2xl) {
|
|
|
|
--sidebar-avatar-size: 140px;
|
|
|
|
--sidebar-element-separation: 25px;
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.sticky {
|
2020-09-03 17:37:48 -04:00
|
|
|
top: 0;
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-sidebar {
|
|
|
|
flex-shrink: 0;
|
2021-06-20 06:53:10 -04:00
|
|
|
display: none;
|
2020-08-22 07:20:08 -04:00
|
|
|
|
|
|
|
&.sticky {
|
2020-09-04 07:10:11 -04:00
|
|
|
top: 0;
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
2020-08-24 14:28:17 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(lg) {
|
2020-08-22 07:20:08 -04:00
|
|
|
margin-left: 1%;
|
2020-09-25 17:19:21 -04:00
|
|
|
padding-top: var(--main-top-padding);
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-info {
|
|
|
|
z-index: 1;
|
|
|
|
transition: box-shadow 0.5s ease;
|
2020-10-04 09:58:32 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
padding: 15px 30px;
|
|
|
|
|
|
|
|
@include respond(md) {
|
|
|
|
padding: 0;
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-avatar {
|
|
|
|
position: relative;
|
|
|
|
margin: 0;
|
2020-10-04 09:58:32 -04:00
|
|
|
width: var(--sidebar-avatar-size);
|
|
|
|
height: var(--sidebar-avatar-size);
|
2020-08-22 07:20:08 -04:00
|
|
|
|
2020-10-04 09:58:32 -04:00
|
|
|
margin-bottom: var(--sidebar-element-separation);
|
2020-08-22 07:20:08 -04:00
|
|
|
|
|
|
|
.site-logo {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 100%;
|
2020-09-09 10:14:30 -04:00
|
|
|
box-shadow: var(--shadow-l1);
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji {
|
|
|
|
position: absolute;
|
2021-06-20 06:53:10 -04:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
line-height: 40px;
|
2020-08-22 07:20:08 -04:00
|
|
|
border-radius: 100%;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 20px;
|
|
|
|
background-color: var(--card-background);
|
2020-09-09 10:14:30 -04:00
|
|
|
box-shadow: var(--shadow-l2);
|
2020-08-22 07:20:08 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(2xl) {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
line-height: 50px;
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-name {
|
|
|
|
color: var(--accent-color);
|
|
|
|
margin: 0;
|
2021-06-20 06:53:10 -04:00
|
|
|
font-size: 1.8rem;
|
2020-09-03 05:42:01 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(2xl) {
|
2020-09-03 05:42:01 -04:00
|
|
|
font-size: 2rem;
|
|
|
|
}
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-description {
|
|
|
|
color: var(--body-text-color);
|
2020-09-03 17:32:28 -04:00
|
|
|
font-weight: normal;
|
2020-08-22 07:20:08 -04:00
|
|
|
margin: 10px 0;
|
2021-06-20 06:53:10 -04:00
|
|
|
font-size: 1.6rem;
|
2020-08-22 07:20:08 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(2xl) {
|
|
|
|
font-size: 1.8rem;
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
.widget {
|
2020-09-25 17:19:21 -04:00
|
|
|
margin-bottom: var(--section-separation);
|
|
|
|
|
|
|
|
&:not(:last-of-type):after {
|
|
|
|
content: "";
|
|
|
|
width: 100px;
|
|
|
|
height: 2px;
|
|
|
|
background-color: var(--body-text-color);
|
|
|
|
display: block;
|
|
|
|
margin-top: var(--section-separation);
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-23 13:03:40 -05:00
|
|
|
|
|
|
|
[data-scheme="dark"] {
|
|
|
|
#dark-mode-toggle {
|
|
|
|
color: var(--accent-color);
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
|
|
.icon-tabler-toggle-left {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-tabler-toggle-right {
|
|
|
|
display: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#dark-mode-toggle {
|
|
|
|
margin-top: auto;
|
|
|
|
color: var(--body-text-color);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.icon-tabler-toggle-right {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|