Reorder header, make mobile 3x2

This commit is contained in:
Tanner
2026-09-24 00:24:30 +00:00
parent 1a264905ea
commit 35c513d08b
12 changed files with 43 additions and 33 deletions
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>
+21 -11
View File
@@ -76,7 +76,10 @@ header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 0;
padding: 10px 24px;
}
.brand {
flex-shrink: 0;
}
.brand img {
display: block;
@@ -87,13 +90,15 @@ header {
display: flex;
gap: 28px;
align-items: center;
flex-shrink: 0;
}
.nav a {
color: #fff;
white-space: nowrap;
text-decoration: none;
text-transform: uppercase;
font:
300 22px/1 "Yanone Kaffeesatz",
300 24px/1 "Yanone Kaffeesatz",
sans-serif;
}
.nav a:hover {
@@ -118,13 +123,14 @@ header {
}
.content {
max-width: 1140px;
width: calc(100% - 40px);
width: 100%;
margin: 0 auto 72px;
padding: 0 20px;
}
.layout {
display: grid;
grid-template-columns: minmax(0, 750px) 300px;
gap: 90px;
grid-template-columns: minmax(0, 1fr) 300px;
gap: 40px;
margin-top: 60px;
}
.layout.full {
@@ -250,7 +256,7 @@ footer p {
height: 30px;
vertical-align: middle;
}
@media (max-width: 760px) {
@media (max-width: 820px) {
.nav-wrap {
padding: 12px 20px;
display: block;
@@ -259,16 +265,20 @@ footer p {
margin: auto;
}
.nav {
display: grid;
grid-template-columns: repeat(3, auto);
justify-content: center;
gap: 15px;
column-gap: 20px;
row-gap: 10px;
margin-top: 20px;
}
.nav a {
font-size: 22px;
justify-self: center;
font-size: 24px;
}
.content {
width: calc(100% - 24px);
padding: 0;
width: 100%;
padding: 0 12px;
}
.layout {
display: block;
@@ -337,7 +347,7 @@ footer p {
}
@media (max-width: 560px) {
.area-grid {
width: calc(100% - 56px);
width: 80%;
margin-right: auto;
margin-left: auto;
grid-template-columns: 1fr;
+2 -2
View File
@@ -69,11 +69,11 @@
<a class="brand" href="/"><img width="360" height="70" src="/assets/logo-white.svg" alt="Protospace" /></a>
<nav class="nav">
<a href="/about/">About</a>
<a href="/spaces/">Spaces</a>
<a href="/join-us/">Membership</a>
<a href="/spaces/">Spaces</a>
<a href="/contact/">Contact</a>
<a href="https://wiki.protospace.ca" class="external">Wiki</a>
<a href="https://my.protospace.ca" class="external">Portal</a>
<a href="/contact/">Contact</a>
</nav>
</div>
</header>