abdullahtarawneh.com/assets/scss/partials/site-footer.scss
2021-12-23 00:57:14 -06:00

156 lines
2.7 KiB
SCSS

.site-footer {
background: #ddd;
hr {
width: 0.5rem;
height: 0.5rem;
background: #212121;
border: 0;
border-radius: 100em;
position: relative;
margin-top: 1.5rem;
display: none;
&:before, &:after {
content: '';
position: absolute;
width: 0.5rem;
height: 0.5rem;
top: 0;
left: 0;
background: #212121;
border-radius: 100em;
}
&:before {
margin-left: -0.75rem;
}
&:after {
margin-left: 0.75rem;
}
}
.container {
position: relative;
padding: 1em;
display: flex;
flex-flow: column-reverse;
justify-content: center;
align-items: center;
gap: 2rem;
@media (min-width: 41rem) {
display: grid;
grid-template-columns: 18rem 1fr;
align-items: stretch;
gap: 1rem;
}
}
.about {max-width: 100%;}
.h-card {
font-family: monospace;
overflow: hidden;
display: flex;
flex-flow: column;
height: 100%;
width: 100%;
.banner {
background-image: url('/images/sunset.jpg');
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
}
img {
border-radius: 100em;
width: 50%;
aspect-ratio: 1;
background: rgba(0,0,0,0.5);
}
background: white;
color: #212121;
dl {
dt, dd {width: max-content;}
padding: 1rem;
dt {font-weight: 700; margin-bottom: 0.25em}
dd {margin-bottom: 0.5em; max-width: 100%;}
}
}
.external-links {
margin: 0 auto;
display: grid;
grid-template-columns: repeat(6,1fr);
gap: 1em;
margin-top: 2rem;
a {
width: 2em;
aspect-ratio: 1;
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
color: inherit;
}
i {font-size: 1.6em;}
}
.footer-copy {
background: white;
color: #212121;
font-family: monospace;
padding: 1rem;
width: 100%;
h1 {
font-weight: 700;
font-size: 1.21em;
margin-bottom: 1em;
}
h2 {
font-weight: 700;
font-size: 1.1em;
margin-bottom: 0.7rem;
margin-top: 1rem;
}
h3 {
font-weight: 700;
font-size: 1em;
margin-bottom: 0.5rem;
margin-top: 1rem;
}
ul {
display: flex;
flex-flow: column;
gap: 0.5rem;
}
p {
line-height: 1.4;
max-width: 55ch;
}
a h3 {
display: inline-block;
}
}
.git-lastcommit {
margin-bottom: 0.7rem;
display: grid;
grid-template-areas:
"time time"
"hash subj";
grid-template-columns: max-content 1fr;
time {
grid-area: time;
display: flex;
justify-content: start;
align-items: center;
padding: 0.25rem 0;
}
p {
grid-area: subj;
padding: 1em;
}
a {
grid-area: hash;
display: flex;
justify-content: center;
align-items: center;
border-radius: 0.25rem;
font-family: monospace;
}
}
}