style: integrate CHRNX navigation and footer
This commit is contained in:
8 files changed
+437
-26
No files matched your search
@@ -83,7 +83,66 @@ footer a {
|
||||
|
||||
.chrnx-primary-navigation a,
|
||||
.chrnx-footer-navigation a {
|
||||
color: var(--chrnx-link);
|
||||
position: relative;
|
||||
color: var(--chrnx-muted);
|
||||
font-family: var(--wp--preset--font-family--heading);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.035em;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.chrnx-primary-navigation a::after,
|
||||
.chrnx-footer-navigation a::after {
|
||||
position: absolute;
|
||||
right: 0.55rem;
|
||||
bottom: 0.3rem;
|
||||
left: 0.55rem;
|
||||
height: 2px;
|
||||
border-radius: 999px;
|
||||
background: currentcolor;
|
||||
content: "";
|
||||
opacity: 0;
|
||||
transform: scaleX(0.35);
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
.chrnx-primary-navigation a:hover,
|
||||
.chrnx-primary-navigation a:focus-visible,
|
||||
.chrnx-primary-navigation a[aria-current="page"],
|
||||
.chrnx-footer-navigation a:hover,
|
||||
.chrnx-footer-navigation a:focus-visible,
|
||||
.chrnx-footer-navigation a[aria-current="page"] {
|
||||
color: var(--chrnx-green);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.chrnx-primary-navigation a:hover::after,
|
||||
.chrnx-primary-navigation a:focus-visible::after,
|
||||
.chrnx-primary-navigation a[aria-current="page"]::after,
|
||||
.chrnx-footer-navigation a:hover::after,
|
||||
.chrnx-footer-navigation a:focus-visible::after,
|
||||
.chrnx-footer-navigation a[aria-current="page"]::after {
|
||||
opacity: 1;
|
||||
transform: scaleX(1);
|
||||
}
|
||||
|
||||
.chrnx-site-footer__site {
|
||||
font-family: var(--wp--preset--font-family--heading);
|
||||
font-size: var(--wp--preset--font-size--large);
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.chrnx-site-footer__site a {
|
||||
color: var(--chrnx-text);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.chrnx-site-footer__credit,
|
||||
.chrnx-site-footer__line {
|
||||
color: var(--chrnx-muted);
|
||||
font-family: var(--wp--preset--font-family--metadata);
|
||||
}
|
||||
|
||||
.wp-site-blocks h1,
|
||||
|
||||
Reference in new issue
Block a user