update
This commit is contained in:
parent
804159352f
commit
b70349e775
5 changed files with 46 additions and 29 deletions
|
@ -19,12 +19,12 @@
|
|||
border: 1px solid var(--sidebar-border);
|
||||
border-left: 0;
|
||||
overflow: hidden;
|
||||
@media (max-width: 1040px) {
|
||||
@media (max-width: 1140px) {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
border-radius: 2rem 2rem 0 0;
|
||||
flex-direction: row;
|
||||
width: 100vw;
|
||||
min-width: 100vw;
|
||||
height: 5rem;
|
||||
margin: 0;
|
||||
overflow-y: hidden;
|
||||
|
@ -52,7 +52,7 @@
|
|||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
@media (max-width: 1040px) {
|
||||
@media (max-width: 1140px) {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 100%;
|
||||
|
@ -69,7 +69,7 @@
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background-color 0.2s linear;
|
||||
@media (max-width: 1040px) {
|
||||
@media (max-width: 1140px) {
|
||||
margin: 0 0.5rem;
|
||||
}
|
||||
a {
|
||||
|
@ -89,7 +89,7 @@
|
|||
opacity: 1;
|
||||
opacity: 0.5;
|
||||
transition: left 0.5s ease-out, opacity 0.5s ease-out, background-color 0.2s linear, top 0.5s ease-out;
|
||||
@media (max-width: 1040px) {
|
||||
@media (max-width: 1140px) {
|
||||
left: 0;
|
||||
top: 100%;
|
||||
}
|
||||
|
@ -107,7 +107,7 @@
|
|||
&::after {
|
||||
left: 0;
|
||||
opacity: 1;
|
||||
@media (max-width: 1040px) {
|
||||
@media (max-width: 1140px) {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
@ -123,24 +123,31 @@
|
|||
}
|
||||
}
|
||||
aside {
|
||||
@media (max-width: 1040px) {
|
||||
@media (max-width: 1140px) {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
#social-links {
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding: 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
@media (max-width: 1140px) {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
.icon {
|
||||
height: 2em;
|
||||
height: 1.25rem;
|
||||
width: 1.25rem;
|
||||
transition: color 0.2s ease-in-out;
|
||||
display: block;
|
||||
&.mastodon-icon {
|
||||
color: hsl(239.6, 100%, 69.4%);
|
||||
&:hover {
|
||||
|
@ -153,6 +160,9 @@
|
|||
text-align: center;
|
||||
transition: background-color 0.2s ease-in-out;
|
||||
border-radius: 0.5rem 0.5rem 1.85rem 0.5rem;
|
||||
@media (max-width: 1140px) {
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
&:hover {
|
||||
background-color: var(--sidebar-accent-1);
|
||||
}
|
||||
|
@ -164,7 +174,7 @@
|
|||
text-decoration: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0.5rem 1rem;
|
||||
padding: 1rem 1rem;
|
||||
pointer-events: all;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue