139 lines
2.4 KiB
CSS
139 lines
2.4 KiB
CSS
::deep {
|
|
a {
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.active {
|
|
> .sidebar-btn {
|
|
background: var(--highlight-color);
|
|
}
|
|
|
|
> .bottom-bar-btn {
|
|
background: var(--highlight-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.bottom-bar-icon {
|
|
font-size: 20px !important;
|
|
}
|
|
}
|
|
|
|
.bottom-bar-btn {
|
|
display: inline-flex;
|
|
height: 3rem;
|
|
width: 5rem;
|
|
min-width: 5rem;
|
|
max-width: 5rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
color: white;
|
|
background: var(--background-color);
|
|
|
|
.text {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.btn:hover {
|
|
background: var(--hover-color);
|
|
}
|
|
|
|
.icon {
|
|
display: flex;
|
|
margin: 0.5rem;
|
|
align-items: center;
|
|
color: black;
|
|
}
|
|
|
|
.header {
|
|
height: 5rem;
|
|
}
|
|
|
|
.sidebar-btn {
|
|
display: flex;
|
|
/* This is possibly the jankiest parameter i have ever written (it should be percents but this works), it looks okay anyway */
|
|
width: 13rem;
|
|
height: 2.5rem;
|
|
align-items: center;
|
|
justify-content: start;
|
|
border-radius: 1.25rem;
|
|
padding-inline: 1rem;
|
|
margin-bottom: 0.5rem;
|
|
margin-inline: 1rem;
|
|
color: white;
|
|
font-size: 0.9em;
|
|
background: var(--foreground-color);
|
|
|
|
> i {
|
|
padding-right: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.sidebar-btn:hover {
|
|
background-color: var(--hover-color);
|
|
}
|
|
|
|
.post-btn {
|
|
background: var(--accent-color);
|
|
}
|
|
|
|
.rule {
|
|
width: 90%;
|
|
color: var(--highlight-color);
|
|
margin-bottom: 1rem;
|
|
border-style: solid;
|
|
}
|
|
|
|
.bottom-nav {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.open {
|
|
display: block !important;
|
|
position: fixed;
|
|
width: 15rem;
|
|
height: 100vh;
|
|
z-index: +25;
|
|
background-color: var(--foreground-color);
|
|
}
|
|
|
|
@media (min-width: 1001px) {
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
width: 15rem;
|
|
position: sticky;
|
|
top: 0;
|
|
background-color: var(--foreground-color);
|
|
}
|
|
|
|
.bottom-bar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.bottom-bar {
|
|
width: 100vw;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-color: var(--background-color);
|
|
z-index: +24;
|
|
border-top: 0.1rem var(--highlight-color) solid;
|
|
}
|
|
}
|