blog/frontend/src/lib/css/footer.css

74 lines
No EOL
1.4 KiB
Text

:root {
--ratio-container: 70%;
--ratio-content: 50%;
}
.footer-container:before {
content: "";
position: absolute;
left: 0;
height: 4rem;
top: -2rem;
width: 100%;
background-color: var(--color-background);
border-radius: 2rem;
}
.footer-container {
position: relative;
flex-direction: column;
margin-top: 3rem;
padding-top: 2rem;
height: fit-content;
background-image: linear-gradient(to right, var(--navbar-dark) 0%, var(--navbar-light) 100%);
box-shadow: rgba(72, 50, 93, 0.2) 0px 120px 60px -20px inset, rgba(0, 0, 0, 0.4) 0px 100px 60px -18px inset;
z-index: var(--z-index-last);
}
.footer-content {
width: inherit;
display: flex;
flex-direction: row;
}
.footer-left {
flex-basis: calc(100% - var(--ratio-content));
display: flex;
justify-content: center;
align-items: center;
}
.footer-left h1 {
font-size: 3rem;
}
.footer-right {
flex-basis: var(--ratio-content);
padding: 2rem;
overflow: hidden;
}
.footer-slider {
width: inherit;
height: calc(100% - var(--ratio-container));
padding: 1rem;
display: flex;
}
.footer-slider span {
font-family: 'JetBrains Mono';
padding-left: 2rem;
color: var(--color-hiddentext);
font-size: var(--1-rem);
}
.footer-slider div {
padding-right: 2rem;
}
.page-base {
min-height: 15rem;
max-height: 15rem;
display: flex;
flex-direction: column;
}