Add usda and fair trade stamps

This commit is contained in:
Nathan Chapman 2024-01-06 18:49:09 -07:00
parent d71381715d
commit 5e4bee3c37
5 changed files with 430 additions and 364 deletions

17
.editorconfig Normal file
View File

@ -0,0 +1,17 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.js]
indent_size = 2
[*.html]
indent_size = 2
[*.css]
indent_size = 2

BIN
images/fair_trade_stamp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
images/usda_organic.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -1,220 +1,253 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Better Living Through Coffee</title> <title>Better Living Through Coffee</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1" name="viewport"> <meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="apple-touch-icon" href="img/favicon.icns"> <link rel="apple-touch-icon" href="img/favicon.icns">
<link rel="shortcut icon" href="img/favicon.ico"> <link rel="shortcut icon" href="img/favicon.ico">
<meta content="Bustling and cozy cafe with a waterfront view." name="description"> <meta content="Bustling and cozy cafe with a waterfront view." name="description">
<meta content="Port Townsend, Coffee, Organic, Roast, Espresso, Cappuccino, Latte, Mocha, Decaf, French Roast, " name="keywords"> <meta content="Port Townsend, Coffee, Organic, Roast, Espresso, Cappuccino, Latte, Mocha, Decaf, French Roast, "
name="keywords">
<link href="styles/main.css?v1.0.1" rel="stylesheet"> <link href="styles/main.css?v1.0.2" rel="stylesheet">
<script defer src="scripts/index.js"></script> <script defer src="scripts/index.js"></script>
</head> </head>
<body> <body>
<nav> <nav>
<a id="site__name" href="/">Better Living Through Coffee</a> <a id="site__name" href="/">Better Living Through Coffee</a>
<div class="menu desktop"> <div class="menu desktop">
<a href="#coffee">coffee</a> <a href="#coffee">coffee</a>
<a href="#food">food menu</a> <a href="#food">food menu</a>
<a href="#tea">tea</a> <a href="#tea">tea</a>
<a href="https://ptcoffee.com">port townsend roasting co.</a> <a href="https://ptcoffee.com">port townsend roasting co.</a>
</div> </div>
<a class="menu__icon mobile"><span></span></a> <a class="menu__icon mobile"><span></span></a>
<ul class="menu mobile"> <ul class="menu mobile">
<li><a href="#coffee">coffee</a></li> <li><a href="#coffee">coffee</a></li>
<li><a href="#food">food menu</a></li> <li><a href="#food">food menu</a></li>
<li><a href="#tea">tea</a></li> <li><a href="#tea">tea</a></li>
<li><a href="https://ptcoffee.com">port townsend<br>roasting co.</a></li> <li><a href="https://ptcoffee.com">port townsend<br>roasting co.</a></li>
</ul> </ul>
</nav> </nav>
<header class="site__header"> <header class="site__header">
<img class="site__logo" src="/images/site-logo.png"> <img class="site__logo" src="/images/site-logo.png">
<!-- <div class="site__notice"> <!-- <div class="site__notice">
<h4>We will be closed on Tuesday May 31st &<br> <h4>We will be closed on Tuesday May 31st &<br>
Wednesday June 1st for repairs.</h4> Wednesday June 1st for repairs.</h4>
</div> --> </div> -->
<h3>Open everyday: 7:30am - 5pm</h3> <h3>Open everyday: 7:30am - 5pm</h3>
<h4>Phone: <a href="tel:+13603853388">(360) 385-3388</a></h4> <h4>Phone: <a href="tel:+13603853388">(360) 385-3388</a></h4>
<p>Better Living Through Coffee is located in the beautiful,<br>historic downtown district of Port Townsend, Washington.</p> <p>Better Living Through Coffee is located in the beautiful,<br>historic downtown district of Port Townsend,
Washington.</p>
<p>Fair-trade, organic, locally roasted drip coffee and espresso.</p> <p>Fair-trade, organic, locally roasted drip coffee and espresso.</p>
<p>Organic herbal teas, and specialty drinks.</p> <p>Organic herbal teas, and specialty drinks.</p>
<h4>Location</h4> <h4>Location</h4>
<address> <address>
<a href="https://www.google.com/maps/place/100+Tyler+St,+Port+Townsend,+WA+98368/">100 Tyler St,<br> <a href="https://www.google.com/maps/place/100+Tyler+St,+Port+Townsend,+WA+98368/">100 Tyler St,<br>
Port Townsend,<br> Port Townsend,<br>
WA 98368</a> WA 98368</a>
</address> </address>
</header> </header>
<main> <main>
<article id="coffee"> <article id="coffee">
<header> <header>
<img alt="" src="/images/coffee_black.png"> <img alt="" src="/images/coffee_black.png">
<h2>Coffee</h2> <h2>Coffee</h2>
<p><em>Fair-trade, organic, locally roasted drip coffee and espresso;<br> <p><em>Fair-trade, organic, locally roasted drip coffee and espresso;<br>
organic herbal teas, smoothies, and specialty drinks.</em></p><!-- <p><em>Now serving Beer and Wine!</em></p> --> organic herbal teas, smoothies, and specialty drinks.</em></p>
</header> <div class="stamp-gallery">
<div class="wrapper"> <img src="/images/fair_trade_stamp.png">
<section> <img src="/images/usda_organic.jpg">
<h3>Drip Coffee</h3> </div>
<p><strong>Nicaragua</strong> - Mild Roast<br> </header>
Central American. Medium body. Good acidity.</p> <div class="wrapper">
<p><strong>Dantes Tornado</strong> - Medium Roast (Full City)<br>
Good body. Rounded flavor. Medium acidity.</p>
<p><strong>Sumatra</strong> - Dark Roast<br>
Low acid. Heavy body. Like a Vienna roast.</p>
<p><strong>Ethiopa Sidamo</strong> - Dark Roast<br>
Earthy, fruity, wild and complex. Good body.</p>
<p><strong>Loop d Loop</strong> - Dark Roast<br>
Smooth. Well-rounded. Good body. Chocolatey.</p>
<p><strong>Pantomime</strong> - Very Dark French Roast<br>
Smokey, caramel flavors.</p>
<p><strong>Decaf French</strong> - Dark Roast<br>
Smooth, smokey.</p>
</section>
<section>
<h3>Espresso</h3>
<p><strong>Espresso</strong><br>
Double ristretto.</p>
<p><strong>Macchiato</strong><br>
Espresso marked with foam.</p>
<p><strong>Con Panna</strong><br>
Espresso marked with whipped cream.</p>
<p><strong>Americano</strong><br>
Espresso in hot water.</p>
<p><strong>Cappuccino</strong><br>
Dry foam over espresso.</p>
<p><strong>Caffè Latte</strong><br>
Microfoam over espresso.</p>
<p><strong>Caffè Breve</strong><br>
Dry foam.</p>
<p><strong>Flavored Latte</strong><br>
Vanilla, hazelnut, or caramel.</p>
<p><strong>Caffè Vienois</strong><br>
Vanilla, cinnamon.</p>
<p><strong>Caffè Mocha</strong><br>
Organic cocoa.</p>
<p><strong>Caffè Arancia</strong><br>
Organic cocoa, orange peel, vanilla.</p>
<p><strong>Caffè Chetzemocha</strong><br>
Cocoa, spices, chipotle peppers.</p>
<p><strong>Salted Caramel Latte</strong><br>
House-made caramel.</p>
</section>
</div>
</article>
<article id="food">
<header>
<h2>Food Menu</h2>
<p><em>Freshly baked, delicious, nutrient-dense:<br>
pastries, soups, quiches, and other treats made with organic ingredients.</em></p>
</header>
<div class="wrapper">
<section>
<p><strong>NYC Bagels from Midtown Manhattan</strong><br>
<small>Saturday & Sunday Mornings</small></p>
<p><strong>Fresh Pastries</strong></p>
<p><strong>Organic Cookies</strong></p>
<p><strong>Spinach Quiche</strong></p>
<p><strong>Sausage Quiche</strong></p>
</section>
<section>
<p><strong>Salmon Quiche</strong></p>
<p><strong>Vegetarian Tamale Pie</strong></p>
<p><strong>Salmon Chowder</strong></p>
<p><strong>Lentil Soup</strong></p>
<p><strong>Apple Walnut Salad</strong></p>
</section>
</div>
</article>
<article id="tea">
<header>
<h2>Tea</h2>
<p><em>Organic herbal teas, and specialty drinks.</em></p>
</header>
<div class="wrapper">
<section>
<h3>Black</h3>
<p><strong>Assam</strong><br>
Tasting notes: Full bodied, lovely balanced astringency with jammy hints of malt and toast. A good stout Assam.</p>
<p><strong>Ceylon</strong><br>
Tasting notes: A classic Ceylong tea. Light liquoring with hints of delicate floral notes. A lovely afternoon tea.</p>
<p><strong>Darjeeling</strong><br>
Tasting notes: Wonderful muscatel highlights with delicate strength — the hallmark of a premium 2nd flush Darjeeling.</p>
<p><strong>Earl Grey</strong><br>
Tasting notes: An unbelievable aroma that portends an unbelievable taste. We have been told repeatedly: “This is the best Earl Grey I have ever tasted!”</p>
<p><strong>Keemun</strong><br>
Tasting notes: A winey and fruity tea with depth and complexity. Takes milk very well.</p>
<p><strong>Lapsang Souchong</strong><br>
Tasting notes: A superior leaf Lapsang Souchong offering a crisp character with the remarkable and heady aroma of an oak fire.</p>
<p><strong>Mango</strong><br>
Tasting notes: Piquant and exotic with mysterious fruit notes. Sweet and delicate hints of island musk that peep out. Makes a superb iced tea.</p>
</section>
<section>
<h3>Green</h3>
<p><strong>Oolong</strong><br>
Tasting notes: Floral-like orchid notes with a smooth and haunting finish. This is an excellent vintage Ti Kuan Yin that has no calories when consumed without milk or sugar.</p>
<p><strong>Jasmine</strong><br>
Tasting notes: A green tea with surprising body and a captivating floral character accentuated by specially selected May Jasmine blossoms.</p>
<p><strong>Sencha</strong><br>
Tasting notes: A delicious green tea character with depth, body and some pungency. Cup tends bright forest green.</p>
</section>
</div>
<div class="wrapper">
<section>
<h3>Herbal</h3>
<p><strong>Chamomile</strong><br>
Tasting notes: Lively and relaxing. On the nose, the cup offers a soothing floral bouquet. On the tongue, the infusion impresses with exceptionally lively honey notes. Aromatic with a fruity tending floral flavor.</p>
<p><strong>Licorice</strong><br>
Tasting notes: Slight sweetness glows in the cup.Tending somewhat herbaceous and woody but with an enchanting sweet licorice lightly spice finish.</p>
<p><strong>Nettle</strong><br>
Tasting notes: Dark and mysterious cup with a dry herbaceous finish.</p>
<p><strong>Peppermint</strong><br>
Tasting notes: Sourced from an excellent family grower in Washington State, it exhibits all the character and nuance we look for in herbal leaf teas. Pungent, cool, fresh, menthol.</p>
<p><strong>Yummy Berry</strong><br>
Tasting notes: A full flavored tea with deep berry notes. The infused cup is burgundy red and provides strength and character. A terrific tasting herbal tea.</p>
</section>
<section>
<h3>Yerba Mate</h3>
<p><strong>Fresh Yerba Mate</strong><br>
Tasting notes: Smooth, creamy, grassy flavor with a round texture and a refreshing finish.</p>
<p><strong>Roasted Yerba Mate</strong><br>
Tasting notes: Rich and toasty with a oaky and nutty notes.</p>
<p><strong>Chai Yerba Mate</strong><br>
Tasting notes: Traditional Indian spices make for a sharp flavor with medium body.</p>
</section>
</div>
</article>
</main>
<footer>
<section> <section>
<p><strong>Phone:</strong> <a href="tel:+13603853388">(360) 385-3388</a></p> <h3>Pour Over</h3>
<address> <p><strong>Nicaragua</strong> - Mild Roast<br>
<strong>Location:</strong><br> Central American. Medium body. Good acidity.</p>
<a href="https://www.google.com/maps/place/100+Tyler+St,+Port+Townsend,+WA+98368/"> <p><strong>Ethiopian</strong> - Light Roast<br>
100 Tyler St,<br> Wild and complex. Solid body. Light roast with medium
Port Townsend,<br> acidity. Earthy, chocolate, and fruit flavor notes.
WA 98368 </p>
</a> <p><strong>Dantes Tornado</strong> - Medium Roast (Full City)<br>
</address> Good body. Rounded flavor. Medium acidity.</p>
<p> <p><strong>Brazil</strong> - Medium Dark Roast<br>
<strong>Hours:</strong><br> A distinct flavor, specifically being low in acidity,
Sun-Sat: 7:30am - 5pm smooth-bodied, and sweet. It has hints of chocolate and
</p> caramel notes that shine through.
</p>
<p><strong>Sumatra</strong> - Dark Roast<br>
Low acid. Heavy body. Like a Vienna roast.</p>
<p><strong>Ethiopa Sidamo</strong> - Dark Roast<br>
Earthy, fruity, wild and complex. Good body.</p>
<p><strong>Loop d Loop</strong> - Dark Roast<br>
Smooth. Well-rounded. Good body. Chocolatey.</p>
<p><strong>Pantomime</strong> - Very Dark French Roast<br>
Smokey, caramel flavors.</p>
<p><strong>Decaf French</strong> - Dark Roast<br>
Smooth, smokey.</p>
</section> </section>
<section> <section>
<p>Better Living Through Coffee is located in the beautiful,<br> historic downtown district of Port Townsend, Washington.</p> <h3>Espresso</h3>
<p><strong>Espresso</strong><br>
Double ristretto</p>
<p><strong>Macchiato</strong><br>
Espresso marked with foam</p>
<p><strong>Con Panna</strong><br>
Espresso marked with whipped cream</p>
<p><strong>Americano</strong><br>
Espresso in hot water</p>
<p><strong>Cappuccino</strong><br>
Dry foam over espresso</p>
<p><strong>Caffè Latte</strong><br>
Microfoam over espresso</p>
<p><strong>Caffè Breve</strong><br>
Dry foam</p>
<p><strong>Flavored Latte</strong><br>
Vanilla, hazelnut, or caramel</p>
<p><strong>Caffè Vienois</strong><br>
Vanilla, cinnamon</p>
<p><strong>Caffè Mocha</strong><br>
Organic cocoa</p>
<p><strong>Irish Mocha</strong><br>
Organic Cocoa and Irish Cream</p>
<p><strong>Caffè Arancia</strong><br>
Organic cocoa, orange peel, vanilla</p>
<p><strong>Caffè Chetzemocha</strong><br>
Cocoa, spices, chipotle peppers</p>
<p><strong>Salted Caramel Latte</strong><br>
House-made caramel</p>
</section>
</div>
</article>
<article id="food">
<header>
<h2>Food Menu</h2>
<p><em>Freshly baked, delicious, nutrient-dense:<br>
pastries, soups, quiches, and other treats made with organic ingredients.</em></p>
</header>
<div class="wrapper">
<section>
<p><strong>NYC Bagels from Midtown Manhattan</strong></p>
<p><strong>Fresh Pastries</strong></p>
<p><strong>Organic Cookies</strong></p>
<p><strong>Spinach Quiche</strong></p>
<p><strong>Sausage Quiche</strong></p>
</section> </section>
<section> <section>
<p><small>Website by <a href="https://nathanjchapman.com">Nathan Chapman</a></small></p> <p><strong>Salmon Quiche</strong></p>
<p><strong>Vegetarian Tamale Pie</strong></p>
<p><strong>Salmon Chowder</strong></p>
<p><strong>Lentil Soup</strong></p>
</section> </section>
</footer> </div>
</article>
<article id="tea">
<header>
<h2>Tea</h2>
<p><em>Organic herbal teas, and specialty drinks.</em></p>
</header>
<div class="wrapper">
<section>
<h3>Black</h3>
<p><strong>Assam</strong><br>
Tasting notes: Full bodied, lovely balanced astringency with jammy hints of malt and toast. A good stout
Assam.</p>
<p><strong>Ceylon</strong><br>
Tasting notes: A classic Ceylong tea. Light liquoring with hints of delicate floral notes. A lovely
afternoon tea.</p>
<p><strong>Darjeeling</strong><br>
Tasting notes: Wonderful muscatel highlights with delicate strength — the hallmark of a premium 2nd flush
Darjeeling.</p>
<p><strong>Earl Grey</strong><br>
Tasting notes: An unbelievable aroma that portends an unbelievable taste. We have been told repeatedly:
“This is the best Earl Grey I have ever tasted!”</p>
<p><strong>Keemun</strong><br>
Tasting notes: A winey and fruity tea with depth and complexity. Takes milk very well.</p>
<p><strong>Lapsang Souchong</strong><br>
Tasting notes: A superior leaf Lapsang Souchong offering a crisp character with the remarkable and heady
aroma of an oak fire.</p>
<p><strong>Mango</strong><br>
Tasting notes: Piquant and exotic with mysterious fruit notes. Sweet and delicate hints of island musk that
peep out. Makes a superb iced tea.</p>
</section>
<section>
<h3>Green</h3>
<p><strong>Oolong</strong><br>
Tasting notes: Floral-like orchid notes with a smooth and haunting finish. This is an excellent vintage Ti
Kuan Yin that has no calories when consumed without milk or sugar.</p>
<p><strong>Jasmine</strong><br>
Tasting notes: A green tea with surprising body and a captivating floral character accentuated by specially
selected May Jasmine blossoms.</p>
<p><strong>Sencha</strong><br>
Tasting notes: A delicious green tea character with depth, body and some pungency. Cup tends bright forest
green.</p>
</section>
</div>
<div class="wrapper">
<section>
<h3>Herbal</h3>
<p><strong>Chamomile</strong><br>
Tasting notes: Lively and relaxing. On the nose, the cup offers a soothing floral bouquet. On the tongue,
the infusion impresses with exceptionally lively honey notes. Aromatic with a fruity tending floral flavor.
</p>
<p><strong>Licorice</strong><br>
Tasting notes: Slight sweetness glows in the cup.Tending somewhat herbaceous and woody but with an
enchanting sweet licorice lightly spice finish.</p>
<p><strong>Nettle</strong><br>
Tasting notes: Dark and mysterious cup with a dry herbaceous finish.</p>
<p><strong>Peppermint</strong><br>
Tasting notes: Sourced from an excellent family grower in Washington State, it exhibits all the character
and nuance we look for in herbal leaf teas. Pungent, cool, fresh, menthol.</p>
<p><strong>Yummy Berry</strong><br>
Tasting notes: A full flavored tea with deep berry notes. The infused cup is burgundy red and provides
strength and character. A terrific tasting herbal tea.</p>
</section>
<section>
<h3>Yerba Mate</h3>
<p><strong>Fresh Yerba Mate</strong><br>
Tasting notes: Smooth, creamy, grassy flavor with a round texture and a refreshing finish.</p>
<p><strong>Roasted Yerba Mate</strong><br>
Tasting notes: Rich and toasty with a oaky and nutty notes.</p>
<p><strong>Chai Yerba Mate</strong><br>
Tasting notes: Traditional Indian spices make for a sharp flavor with medium body.</p>
</section>
</div>
</article>
</main>
<footer>
<section>
<p><strong>Phone:</strong> <a href="tel:+13603853388">(360) 385-3388</a></p>
<address>
<strong>Location:</strong><br>
<a href="https://www.google.com/maps/place/100+Tyler+St,+Port+Townsend,+WA+98368/">
100 Tyler St,<br>
Port Townsend,<br>
WA 98368
</a>
</address>
<p>
<strong>Hours:</strong><br>
Sun-Sat: 7:30am - 5pm
</p>
</section>
<section>
<p>Better Living Through Coffee is located in the beautiful,<br> historic downtown district of Port Townsend,
Washington.</p>
</section>
<section>
<p><small>Website by <a href="https://nathanjchapman.com">Nathan Chapman</a></small></p>
</section>
</footer>
</body> </body>
</html>
</html>

View File

@ -6,77 +6,80 @@
@import url("fonts.css"); @import url("fonts.css");
html { html {
font-size: 1.25em; font-size: 1.25em;
} }
body { body {
background-color: white; background-color: white;
font-family: 'gentium_basic', serif; font-family: 'gentium_basic', serif;
font-weight: 400; font-weight: 400;
line-height: 1.45; line-height: 1.45;
color: #333; color: #333;
padding: 0; padding: 0;
max-width: 100%; max-width: 100%;
margin: 0 auto; margin: 0 auto;
} }
p { p {
margin-bottom: 1.3em; margin-bottom: 1.3em;
} }
h1, h2, h3, h4 { h1,
font-family: "eczar"; h2,
margin: 1.414em 0 0.5em; h3,
font-weight: bold; h4 {
line-height: 1.2; font-family: "eczar";
margin: 1.414em 0 0.5em;
font-weight: bold;
line-height: 1.2;
} }
h1 { h1 {
margin-top: 0; margin-top: 0;
font-size: 2.441em; font-size: 2.441em;
} }
h2 { h2 {
font-size: 1.953em; font-size: 1.953em;
} }
h3 { h3 {
font-size: 1.563em; font-size: 1.563em;
} }
h4 { h4 {
font-size: 1.25em; font-size: 1.25em;
} }
small { small {
font-size: 0.8em; font-size: 0.8em;
} }
address { address {
font-style: inherit; font-style: inherit;
} }
.byline { .byline {
font-size: 1.563em; font-size: 1.563em;
} }
img { img {
max-width: 100%; max-width: 100%;
} }
.wrapper { .wrapper {
display: grid; display: grid;
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
gap: 4rem; gap: 4rem;
} }
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
.wrapper { .wrapper {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
} }
/* ========================================================================== /* ==========================================================================
@ -84,53 +87,54 @@ img {
========================================================================== */ ========================================================================== */
.site__header { .site__header {
min-height: 100vh; min-height: 100vh;
padding: 6rem 2rem 2em; padding: 6rem 2rem 2em;
margin: 0; margin: 0;
background-color: rgba(0, 0, 0, 0.35); background-color: rgba(0, 0, 0, 0.35);
background-image: url("/images/bg.jpg"); background-image: url("/images/bg.jpg");
background-blend-mode: multiply; background-blend-mode: multiply;
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: top center; background-position: top center;
text-align: center; text-align: center;
color: white; color: white;
text-shadow: 1px 1px 2px black; text-shadow: 1px 1px 2px black;
} }
.site__header a { .site__header a {
color: white; color: white;
} }
.site__logo { .site__logo {
max-width: 20rem; max-width: 20rem;
width: 100%; width: 100%;
} }
/* Nav /* Nav
========================================================================== */ ========================================================================== */
nav { nav {
width: 100%; width: 100%;
background-color: rgba(0,0,0,.95); background-color: rgba(0, 0, 0, .95);
color: white; color: white;
margin: 0; margin: 0;
padding: 1rem; padding: 1rem;
position: fixed; position: fixed;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: baseline; align-items: baseline;
flex-flow: row wrap; flex-flow: row wrap;
box-sizing: border-box; box-sizing: border-box;
} }
nav div { nav div {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
nav div a:not(:last-child) { nav div a:not(:last-child) {
margin-right: 1.5rem; margin-right: 1.5rem;
} }
nav ul { nav ul {
@ -140,154 +144,156 @@ nav ul {
} }
nav a { nav a {
color: white; color: white;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-variant: small-caps; font-variant: small-caps;
text-transform: lowercase; text-transform: lowercase;
} }
.menu__icon { .menu__icon {
height: 2rem; height: 2rem;
width: 2.25rem; width: 2.25rem;
margin: 0.75rem 1rem; margin: 0.75rem 1rem;
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
vertical-align: middle; vertical-align: middle;
z-index: 20; z-index: 20;
} }
.menu__icon span { .menu__icon span {
display: block; display: block;
background: white; background: white;
width: 100%; width: 100%;
height: 0.25rem; height: 0.25rem;
margin-top: -0.125rem; margin-top: -0.125rem;
position: absolute; position: absolute;
left: 0; left: 0;
top: 50%; top: 50%;
} }
.menu__icon:before, .menu__icon:before,
.menu__icon:after { .menu__icon:after {
content: ""; content: "";
display: block; display: block;
background: white; background: white;
width: 100%; width: 100%;
height: 0.25rem; height: 0.25rem;
position: absolute; position: absolute;
left: 0; left: 0;
transform-origin: center center; transform-origin: center center;
transform: rotate(0deg); transform: rotate(0deg);
transition: all 0.3s ease; transition: all 0.3s ease;
} }
.menu__icon:before { .menu__icon:before {
top: 0.125rem; top: 0.125rem;
margin-top: -0.125rem; margin-top: -0.125rem;
} }
.menu__icon:after { .menu__icon:after {
bottom: 0.125rem; bottom: 0.125rem;
margin-bottom: -0.125rem; margin-bottom: -0.125rem;
} }
.menu_shown .menu__icon span { .menu_shown .menu__icon span {
background: transparent; background: transparent;
} }
.menu_shown .menu__icon:before { .menu_shown .menu__icon:before {
top: 50%; top: 50%;
transform: rotate(45deg); transform: rotate(45deg);
} }
.menu_shown .menu__icon:after { .menu_shown .menu__icon:after {
bottom: 50%; bottom: 50%;
transform: rotate(-45deg); transform: rotate(-45deg);
} }
.mobile.menu { .mobile.menu {
font-size: 1.5rem; font-size: 1.5rem;
position: absolute; position: absolute;
margin: 0; margin: 0;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
min-height: 100vh; min-height: 100vh;
background: black; background: black;
z-index: 10; z-index: 10;
transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out;
transform: translateX(-100%); transform: translateX(-100%);
} }
#site__name { #site__name {
z-index: 11; z-index: 11;
} }
.mobile.menu a { .mobile.menu a {
color: white; color: white;
} }
.menu_shown .mobile.menu { .menu_shown .mobile.menu {
transform: translateX(0); transform: translateX(0);
} }
.mobile { .mobile {
display: none; display: none;
} }
@media (max-width: 37.5rem) { @media (max-width: 37.5rem) {
.mobile { .mobile {
display: block; display: block;
} }
.menu__icon { .menu__icon {
display: inline-block; display: inline-block;
} }
.desktop { .desktop {
display: none; display: none;
} }
nav {
position: fixed;
background-color: black;
top: 0;
right: 0;
left: 0;
margin: 0;
padding: 1rem;
}
nav a, nav {
#site__name { position: fixed;
color: white; background-color: black;
} top: 0;
right: 0;
left: 0;
margin: 0;
padding: 1rem;
}
.mobile.menu { nav a,
display: grid; #site__name {
grid-template-columns: 1fr; color: white;
gap: 1rem; }
justify-items: center;
align-content: center;
}
.menu_shown #site__name { .mobile.menu {
color: white; display: grid;
} grid-template-columns: 1fr;
gap: 1rem;
justify-items: center;
align-content: center;
}
.menu_shown #site__name {
color: white;
}
} }
/* Site notice /* Site notice
========================================================================== */ ========================================================================== */
.site__notice { .site__notice {
background-color: rgba(0, 0, 0, 0.6); background-color: rgba(0, 0, 0, 0.6);
padding: 1rem; padding: 1rem;
max-width: 25rem; max-width: 25rem;
margin: 0 auto; margin: 0 auto;
} }
.site__notice h4 { .site__notice h4 {
margin: 0; margin: 0;
} }
@ -296,17 +302,27 @@ nav a {
========================================================================== */ ========================================================================== */
main { main {
max-width: 40em; max-width: 40em;
margin: 0 auto; margin: 0 auto;
padding: 1em; padding: 1em;
} }
article { article {
padding-top: 1.563em; padding-top: 1.563em;
} }
article header { article header {
text-align: center; text-align: center;
}
.stamp-gallery {
display: flex;
justify-content: center;
gap: 2rem;
}
.stamp-gallery img {
max-height: 4rem;
} }
@ -314,17 +330,17 @@ article header {
Footer Footer
========================================================================== */ ========================================================================== */
footer { footer {
background-color: rgba(0,0,0,.95); background-color: rgba(0, 0, 0, .95);
color: white; color: white;
text-align: center; text-align: center;
padding: 0 1rem; padding: 0 1rem;
display: flex; display: flex;
/*justify-content: left;*/ /*justify-content: left;*/
flex-flow: column; flex-flow: column;
} }
footer a { footer a {
color: white; color: white;
} }