Rewrite footer to support links and socials, tweak heading sizes, deprecate page/site links and replace with "external" class, change discalimer heading from plural to singular
This commit is contained in:
@ -1,11 +1,81 @@
|
||||
#site-footer {
|
||||
margin-top: 4rem;
|
||||
padding: 3rem 0 3rem;
|
||||
font-size: 1rem;
|
||||
margin-top: 6rem;
|
||||
background-color: var(--fg-muted-1);
|
||||
padding: 2rem 0 2rem;
|
||||
text-align: center;
|
||||
|
||||
#links {
|
||||
display: block;
|
||||
column-gap: 2rem;
|
||||
column-width: 25ex;
|
||||
margin: 0 auto 1rem;
|
||||
padding: 0;
|
||||
max-width: min(var(--content-width) + 10rem, 90%);
|
||||
|
||||
li {
|
||||
display: block;
|
||||
padding: 0.25rem 0;
|
||||
list-style: none;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
margin: auto;
|
||||
color: var(--fg-muted-5);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: var(--primary-color);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#socials {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: baseline;
|
||||
gap: 1rem;
|
||||
margin: 1rem 0 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
display: block;
|
||||
padding: 0;
|
||||
padding: 0.25rem 0;
|
||||
list-style: none;
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
transition: var(--transition);
|
||||
margin: 0;
|
||||
background-color: var(--fg-muted-5);
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
content: "";
|
||||
|
||||
&:hover {
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin: auto;
|
||||
padding: 0.5rem;
|
||||
max-width: min(var(--content-width) + 10rem, 90%);
|
||||
}
|
||||
|
||||
details {
|
||||
all: unset;
|
||||
margin: 0 auto;
|
||||
color: var(--fg-muted-5);
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
@ -1,7 +1,11 @@
|
||||
.link-page::after {
|
||||
content: " →";
|
||||
}
|
||||
|
||||
.link-site::after {
|
||||
content: " ↗";
|
||||
.external::after {
|
||||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' %3E%3Cpath d='m6 6 5-5M7 1h4v4M4 2H3a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V8' style='fill:none;stroke:black;stroke-linejoin:round;stroke-linecap:round;stroke-width:2;stroke-dasharray:none'/%3E%3C/svg%3E");
|
||||
display: inline-block;
|
||||
opacity: 0.6;
|
||||
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' %3E%3Cpath d='m6 6 5-5M7 1h4v4M4 2H3a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V8' style='fill:none;stroke:black;stroke-linejoin:round;stroke-linecap:round;stroke-width:2;stroke-dasharray:none'/%3E%3C/svg%3E");
|
||||
margin-left: 3px;
|
||||
background-color: var(--primary-color);
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
content: "";
|
||||
}
|
||||
|
@ -91,11 +91,11 @@ h6 {
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2.4rem;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
Reference in New Issue
Block a user