88 lines
1.3 KiB
SCSS
88 lines
1.3 KiB
SCSS
// Sidebar
|
|
[data-theme="light"] {
|
|
--sb-color: #101419;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--sb-color: #09090c;
|
|
}
|
|
|
|
#sidebar {
|
|
width: 8em;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
overflow: auto;
|
|
overflow-x: hidden;
|
|
position: fixed;
|
|
z-index: 1;
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 1.6em;
|
|
|
|
background-color: var(--sb-color);
|
|
}
|
|
|
|
.sb_header {
|
|
font-size:25px;
|
|
margin-left: 15px;
|
|
}
|
|
|
|
.sb_link {
|
|
margin: 0.5em;
|
|
padding: 0.5em;
|
|
color:#ffffff;
|
|
font-size:16px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sb_link:hover {
|
|
color:#7ccbd5;
|
|
font-size:17px;
|
|
text-decoration:none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sb_img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
max-width: calc(100% - 1.2em);
|
|
}
|
|
|
|
.sb_img img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: calc(100% - 2em);
|
|
}
|
|
|
|
.theme-toggle {
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
border: none;
|
|
margin-bottom: 10px;
|
|
width: 100%;
|
|
|
|
cursor: crosshair;
|
|
|
|
font-size: 18px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.theme-toggle:hover {
|
|
background-color: var(--elm-inv-bg-color);
|
|
color: var(--text-inv-color);
|
|
}
|
|
|
|
.personal { color:#fc3f5b; }
|
|
.nixfox { color:#2abafc; }
|
|
|
|
.pers:hover { color:#fca9c0; }
|
|
.fox:hover { color:#a9c0fc; }
|