add h2 for site title

This commit is contained in:
2026-01-06 21:41:20 -08:00
parent 9160878d32
commit cda2bd26a4
3 changed files with 43 additions and 7 deletions

View File

@ -2,9 +2,34 @@
nav {
position: relative;
margin: 0 auto 1.5rem;
display: flex;
justify-content: space-between;
align-items: flex-start;
}
nav div {
display: grid;
grid-template:
"home title links";
row-gap: 1rem;
}
@media (max-width: 650px) {
nav div {
grid-template:
"title title"
"home links";
}
}
#home {
grid-area: home;
justify-self: start;
}
nav h2 {
grid-area: title;
border: none;
text-align: center;
align-self: center;
margin: 0;
}
nav a:not(:has(img)) {
@ -56,7 +81,7 @@ nav a:not(:has(img)):focus-visible {
z-index: 999;
}
@media (max-width: 650px) {
@media (max-width: 750px) {
#skip:focus-visible {
left: 5rem;
}
@ -89,6 +114,8 @@ nav a:has(img):focus img {
}
nav ul {
grid-area: links;
justify-self: end;
display: flex;
justify-content: flex-end;
gap: .6rem;