Merge commit '9475df0914
'
This commit is contained in:
parent
232e4c414e
commit
ce09642e23
332 changed files with 25244 additions and 0 deletions
91
themes/tabi-lean/sass/parts/_footer.scss
Normal file
91
themes/tabi-lean/sass/parts/_footer.scss
Normal file
|
@ -0,0 +1,91 @@
|
|||
footer {
|
||||
margin-top: auto;
|
||||
margin-block-end: 1.4rem;
|
||||
color: var(--meta-color);
|
||||
font-size: 0.88rem;
|
||||
font-family: var(--post-font-family);
|
||||
text-align: center;
|
||||
|
||||
.nav-links {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
footer section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0rem;
|
||||
}
|
||||
|
||||
footer nav {
|
||||
display: flex;
|
||||
margin: 0 0rem;
|
||||
}
|
||||
|
||||
.socials {
|
||||
display: flex;
|
||||
flex-grow: 0;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: flex-end;
|
||||
|
||||
svg {
|
||||
max-height: 15px;
|
||||
}
|
||||
|
||||
ul {
|
||||
gap: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.social {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: unset;
|
||||
padding: 0.5vmin;
|
||||
}
|
||||
|
||||
.social > img {
|
||||
aspect-ratio: 1/1;
|
||||
width: 1.5rem;
|
||||
height: auto;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.social {
|
||||
&:hover {
|
||||
& > img {
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin dark-theme-social {
|
||||
.social {
|
||||
&:hover {
|
||||
& > img {
|
||||
filter: invert(0);
|
||||
}
|
||||
}
|
||||
|
||||
& > img {
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
@include dark-theme-social;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
@include dark-theme-social;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue