abdullahtarawneh.com/assets/scss/partials/site-footer.scss

156 lines
2.7 KiB
SCSS
Raw Normal View History

2020-10-10 19:47:58 +00:00
.site-footer {
2021-12-23 06:57:14 +00:00
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;
}
}
2021-12-23 05:32:17 +00:00
.container {
position: relative;
padding: 1em;
display: flex;
2021-12-23 06:57:14 +00:00
flex-flow: column-reverse;
2021-12-23 05:32:17 +00:00
justify-content: center;
align-items: center;
gap: 2rem;
2021-12-23 06:57:14 +00:00
@media (min-width: 41rem) {
2021-12-23 05:32:17 +00:00
display: grid;
grid-template-columns: 18rem 1fr;
2021-12-23 06:57:14 +00:00
align-items: stretch;
gap: 1rem;
2021-12-23 05:32:17 +00:00
}
}
2021-12-23 06:57:14 +00:00
.about {max-width: 100%;}
2021-12-23 05:32:17 +00:00
.h-card {
font-family: monospace;
overflow: hidden;
display: flex;
flex-flow: column;
2021-12-23 06:57:14 +00:00
height: 100%;
width: 100%;
2021-12-23 05:32:17 +00:00
.banner {
background-image: url('/images/sunset.jpg');
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
2021-12-23 06:57:14 +00:00
padding: 1rem;
2021-12-23 05:32:17 +00:00
}
img {
border-radius: 100em;
width: 50%;
aspect-ratio: 1;
background: rgba(0,0,0,0.5);
}
background: white;
2021-12-23 06:57:14 +00:00
color: #212121;
2021-12-23 05:32:17 +00:00
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;}
}
2021-12-23 06:57:14 +00:00
.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;
}
}
2021-12-23 05:32:17 +00:00
.git-lastcommit {
2021-12-23 06:57:14 +00:00
margin-bottom: 0.7rem;
2021-12-23 05:32:17 +00:00
display: grid;
grid-template-areas:
2021-12-23 06:57:14 +00:00
"time time"
"hash subj";
grid-template-columns: max-content 1fr;
2021-12-23 05:32:17 +00:00
time {
grid-area: time;
2021-12-23 06:57:14 +00:00
display: flex;
justify-content: start;
align-items: center;
padding: 0.25rem 0;
2021-12-23 05:32:17 +00:00
}
p {
grid-area: subj;
2021-12-23 06:57:14 +00:00
padding: 1em;
2021-12-23 05:32:17 +00:00
}
a {
grid-area: hash;
display: flex;
justify-content: center;
align-items: center;
border-radius: 0.25rem;
font-family: monospace;
}
}
2020-10-10 19:47:58 +00:00
}