Return link is now everything outside main column

This commit is contained in:
Emilia Allison 2023-07-19 12:52:22 -04:00
parent 0cc9e20c7c
commit bc05b9fc72
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
4 changed files with 38 additions and 9 deletions

View File

@ -7,7 +7,7 @@
</head> </head>
<body> <body>
<div id="overlay"></div> <div id="overlay"></div>
<main class="offset-grid--top--wide fullsize"> <main class="offset-grid--top--wide fullsize side-a">
<div> <div>
<div> <div>
<h1> <h1>
@ -45,9 +45,13 @@ linux distros don't matter
</ul> </ul>
</div> </div>
</div> </div>
</div>
<a href="../">
</a>
<div class="side-a__main-content-cover"></div>
</main>
<footer class="lock-bottom"> <footer class="lock-bottom">
<p><a href="../">Return</a></p> <p><a href="../">Return</a></p>
</footer> </footer>
</main>
</body> </body>
</html> </html>

View File

@ -5,10 +5,10 @@
<link rel="stylesheet" href="/css/about.css"> <link rel="stylesheet" href="/css/about.css">
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
</head> </head>
<body> <body class="no-overflow">
<div id="overlay"> <div id="overlay">
</div> </div>
<main class="offset-grid--top--wide"> <main class="offset-grid--top--wide side-a">
<div> <div>
<h1> <h1>
Cool Stuff Cool Stuff
@ -35,9 +35,12 @@ If a page uses/requires JavaScript, its link will be marked with (&#x2615).
<li><a href="recipes">Recipes</a></li> <li><a href="recipes">Recipes</a></li>
</ul> </ul>
</div> </div>
<a href="../">
</a>
<div class="side-a__main-content-cover"></div>
</main>
<footer class="lock-bottom"> <footer class="lock-bottom">
<p><a href="../">Return</a></p> <p><a href="../">Return</a></p>
</footer> </footer>
</main>
</body> </body>
</html> </html>

View File

@ -32,6 +32,8 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
z-index: 10;
h1, h2, h3 { h1, h2, h3 {
display: inline-block; display: inline-block;
//width: min-content; // Looks terrible in practice //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);
}
}

View File

@ -18,3 +18,7 @@ $gap-sizes: ("small": 1vmin, "mid": 3vmin, "large": 5vmin);
} }
} }
} }
.no-overflow {
overflow: hidden;
}