Some updates to layout for heading
Build and copy to prod / build-and-copy (push) Has been cancelled

This commit is contained in:
Lewis Dale committed 2024-04-10 12:36:28 +01:00
1 parent 707283da51
commit 4f0e396df3
6 files changed
+35 -27

No files matched your search

+4 -6
View File
@@ -1,15 +1,13 @@
header > * {
flex-grow: 1;
}
.color-scheme {
border: 0;
padding: 0;
display: flex;
gap: var(--space-size-xs);
flex-grow: 1;
justify-content: center;
justify-self: flex-end;
grid-column: auto/span 2;
justify-content: end;
width: 100%;
--grid-item-size: 20rem;
legend {
position:absolute;
+4
View File
@@ -0,0 +1,4 @@
.nav-container {
--grid-item-size: clamp(30rem, 70vw, var(--screen-lg));
grid-column: auto / span 4;
}
+1
View File
@@ -3,6 +3,7 @@
letter-spacing: clamp(-0.2rem,1vw,-0.5rem);
line-height: 1;
text-decoration: none;
place-self: start;
&:hover, &:focus, &:focus-visible {
outline: 0px transparent;
+7 -6
View File
@@ -153,12 +153,13 @@ nav {
}
header {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
padding-top: var(--space-size-s);
padding-bottom: var(--space-size-s);
display: grid;
grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-size, 10rem), 1fr));
grid-gap: 10px;
padding: var(--space-size-m);
place-items: center;
justify-content: center;
width: 100%;
}
p {
+4
View File
@@ -1,3 +1,7 @@
.space-between {
justify-content: space-between;
}
.space-around {
justify-content: space-around;
}