site/_includes/styles/base/footer.css
2025-10-28 09:53:57 -05:00

133 lines
No EOL
3.8 KiB
CSS

/* ╭────────────────────────────────╮
/ │ __ _ │
/ │ / _| ___ ___ | |_ ___ _ __ │
/ │ | |_ / _ \ / _ \| __/ _ \ '__| │
/ │ | _| (_) | (_) | || __/ | │
/ │ |_| \___/ \___/ \__\___|_| │
/ ╰────────────────────────────────╯
/ footer - related styling for the footer window on all pages */
footer {
width: fit-content;
margin-left: auto;
margin-right: auto;
width: 50rem;
.header {
padding: .25rem !important;
a {
margin-left: .5rem;
font-size: .9rem;
}
}
window-contents {
display: flex !important;
flex-flow: row wrap;
gap: 2rem;
padding: 1rem !important;
footer-section {
display: flex;
flex-flow: column wrap;
p {
margin-top: 0;
margin-bottom: .6rem;
}
p:last-child { margin-bottom: 0; }
h3 {
border-bottom: unset;
font-size: 1.5rem;
margin-bottom: .8rem;
margin-top: 0;
}
}
footer-section[icon] {
margin-right: 1rem;
img {
width: 3rem;
height: 3rem;
}
}
footer-section[webrings] {
width: 13rem;
p {
margin-bottom: .8rem;
margin-top: 0;
}
a {
border-radius: .5rem;
padding: 0.25rem .06rem;
text-decoration-color: transparent;
icon-tabler {
pointer-events: none;
}
&:hover {
text-decoration-color: inherit;
}
}
a[aria-label="Previous"] {
color: var(--yellow);
background: light-dark(color-mix(in srgb, var(--yellow) 30%, transparent), color-mix(in srgb, var(--yellow) 25%, transparent));
}
a[aria-label="Next"] {
color: var(--green);
background: light-dark(color-mix(in srgb, var(--green) 30%, transparent), color-mix(in srgb, var(--green) 25%, transparent));
}
a[href="https://fediring.net"] {
padding: 0.25rem .3rem;
color: var(--purple);
background: light-dark(color-mix(in srgb, var(--purple) 25%, transparent), color-mix(in srgb, var(--purple) 15%, transparent));
}
a[href="https://keithhacks.cyou/furryring.php"] {
padding: 0.25rem .3rem;
color: var(--blue);
background: light-dark(color-mix(in srgb, var(--blue) 20%, transparent), color-mix(in srgb, var(--blue) 15%, transparent));
}
a[href="https://stellophiliac.github.io/roboring"] {
padding: 0.25rem .3rem;
color: var(--foreground);
background: light-dark(color-mix(in srgb, var(--foreground) 20%, var(--background)), color-mix(in srgb, var(--foreground) 15%, var(--background)));
}
}
footer-section[links] {
a {
margin-bottom: .2rem;
margin-top: 0;
width: fit-content;
}
span:last-of-type {
margin-top: .5rem;
}
}
}
@media screen and (max-width: 50rem) {
& {
width: unset !important;
border-radius: 0 !important;
margin-top: 1rem;
section {
footer-section[webrings] {
width: unset;
}
}
}
}
}