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

89 lines
1.4 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;
2021-12-24 06:20:07 +00:00
color: #212121;
padding: 2em 0 calc(2em + 4em);
@media (min-width: 960px) {
padding: 2em 0;
2021-12-23 06:57:14 +00:00
}
2021-12-24 06:20:07 +00:00
hr {display: none}
2021-12-23 05:32:17 +00:00
.container {
}
.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 {
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
}