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