Return link is now everything outside main column
This commit is contained in:
parent
0cc9e20c7c
commit
bc05b9fc72
|
@ -7,7 +7,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="overlay"></div>
|
||||
<main class="offset-grid--top--wide fullsize">
|
||||
<main class="offset-grid--top--wide fullsize side-a">
|
||||
<div>
|
||||
<div>
|
||||
<h1>
|
||||
|
@ -45,9 +45,13 @@ linux distros don't matter
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a href="../">
|
||||
</a>
|
||||
<div class="side-a__main-content-cover"></div>
|
||||
</main>
|
||||
<footer class="lock-bottom">
|
||||
<p><a href="../">Return</a></p>
|
||||
</footer>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
<link rel="stylesheet" href="/css/about.css">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
</head>
|
||||
<body>
|
||||
<body class="no-overflow">
|
||||
<div id="overlay">
|
||||
</div>
|
||||
<main class="offset-grid--top--wide">
|
||||
<main class="offset-grid--top--wide side-a">
|
||||
<div>
|
||||
<h1>
|
||||
Cool Stuff
|
||||
|
@ -35,9 +35,12 @@ If a page uses/requires JavaScript, its link will be marked with (☕).
|
|||
<li><a href="recipes">Recipes</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a href="../">
|
||||
</a>
|
||||
<div class="side-a__main-content-cover"></div>
|
||||
</main>
|
||||
<footer class="lock-bottom">
|
||||
<p><a href="../">Return</a></p>
|
||||
</footer>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
z-index: 10;
|
||||
|
||||
h1, h2, h3 {
|
||||
display: inline-block;
|
||||
//width: min-content; // Looks terrible in practice
|
||||
|
@ -72,3 +74,19 @@ $offset-amt: 0.33fr;
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.side-a {
|
||||
a {
|
||||
grid-area: nw / nw / se / se;
|
||||
z-index: 2;
|
||||
}
|
||||
.side-a__main-content-cover {
|
||||
grid-area: n / n / s / s;
|
||||
width: 110%;
|
||||
height: 100%;
|
||||
z-index: 3;
|
||||
background: rgba(1,1,1,0.05);
|
||||
box-shadow: 0px 0px 10px 10px rgba(1,1,1,0.05);
|
||||
backdrop-filter: blur(1px);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,3 +18,7 @@ $gap-sizes: ("small": 1vmin, "mid": 3vmin, "large": 5vmin);
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.no-overflow {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue