finish split nav out; add directory page

This commit is contained in:
2025-12-28 11:39:01 -08:00
parent dde23f91de
commit 7f4dbebd6f
5 changed files with 128 additions and 8 deletions

48
css/directory.css Normal file
View File

@ -0,0 +1,48 @@
#directory {
display: grid;
flex-flow: row wrap;
grid-template-columns: repeat(2, 1fr);
gap: 3rem;
}
@media (max-width: 850px) {
#directory {
grid-template-columns: 1fr;
}
}
#directory li {
list-style: none;
border: solid thin var(--color-accent);
border-radius: .5rem;
outline-offset: .1rem;
}
@media (any-hover: hover) {
#directory li:hover {
outline: solid .25rem var(--color-accent);
}
}
#directory li:focus-within {
outline: solid .25rem var(--color-accent);
}
#directory a {
text-decoration: none;
margin: 0;
}
#directory a:focus-visible {
outline: none; /* outline handled by li:focus-within */
}
#directory h2 {
text-align: center;
margin-top: 1rem;
}
#directory img {
margin: 0;
border-radius: 0 0 .5rem .5rem;
}

View File

@ -36,7 +36,7 @@ body {
width: 100%;
flex-grow: 1;
border-radius: 0 0 2rem 2rem;
padding-top: 2rem;
padding: 1rem 0 2rem;
}
header,
@ -52,7 +52,7 @@ main {
}
}
@media (min-width: 1800px) {
@media (min-width: 2000px) {
header,
main {
width: 45%;

71
directory/index.html Normal file
View File

@ -0,0 +1,71 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Directory | Markets at the Beall Greenhouses</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<!-- Meta -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="canonical" href="/" />
<meta name="description" content="Directory | Markets at the Beall Greenhouses" />
<meta name="robots" content="index,follow" />
<meta property="og:title" content="Directory | Markets at the Beall Greenhouses" />
<meta property="og:type" content="article" />
<meta property="og:url" content="/" />
<meta property="og:description" content="Directory | Markets at the Beall Greenhouses" />
<meta property="og:image" content="/img/logo-light.png" />
<meta property="og:image:alt" content="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme" />
<!-- CSS -->
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/nav.css">
<link rel="stylesheet" href="/css/directory.css">
<link rel="stylesheet" href="/css/artist.css">
</head>
<body>
<div id="content">
<header>
<nav>
<a href="/">↩ back home</a>
</nav>
<img id="logo-dark" src="/img/logo-dark.png" alt="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme">
<img id="logo-light" src="/img/logo-light.png" alt="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme">
</header>
<main>
<h1>Markets at the Beall Greenhouses</h1>
<ol id="directory">
<li>
<a href="/2025/solstice">
<h2>Solstice 2025</h2>
<img src="/img/filler0.jpg" alt="a filler image for testing" />
</a>
</li>
<li>
<a href="/2025/solstice">
<h2>Solstice 2025</h2>
<img src="/img/filler0.jpg" alt="a filler image for testing" />
</a>
</li>
</ol>
</main>
</div>
<footer>
<div id="contacts">
<p>
Website questions or feedback?
<a href="mailto:lee.cattarin@gmail.com?cc=montanahawke@gmail.com&subject=Beall%20Greenhouses%20Market">
email Lee
</a>
</p>
<p>Market questions?
<a href="mailto:montanahawke@gmail.com?subject=Beall%20Greenhouses%20Market">
email Hawke
</a>
</p>
</div>
<p>brought to you in 2026</p>
</footer>
</body>
</html>

BIN
img/filler0.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@ -17,23 +17,24 @@
<meta property="og:image:alt" content="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme" />
<!-- CSS -->
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/nav.css">
<link rel="stylesheet" href="/css/artist.css">
</head>
<body>
<div id="content">
<header>
<nav>
<a id="directory-link" href="/directory">🧺 past markets</a>
</nav>
<img id="logo-dark" src="/img/logo-dark.png" alt="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme">
<img id="logo-light" src="/img/logo-light.png" alt="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme">
</header>
<main>
<h1>Markets at the Beall Greenhouses</h1>
<h2>Past markets</h2>
<ul id="market-list">
<li><a href="/2025/solstice">Solstice 2025</a></li>
</ul>
<h2>Status</h2>
<p>We've just completed a successful <a href="/2025/solstice">Solstice 2025</a> market. Stay tuned for more!</p>
</main>
</div>
<footer>