freebie-web-toolkit / floor-plan.html
doomsday6's picture
flowchart TD
40cb704 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Floor Plan - Home Design</title>
<style>
:root {
--primary: #4361ee;
--secondary: #3a0ca3;
--accent: #f72585;
--light: #f8f9fa;
--dark: #212529;
--success: #4cc9f0;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f7ff;
color: var(--dark);
line-height: 1.6;
}
header {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
padding: 2rem 0;
text-align: center;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 2rem 0;
}
h1, h2, h3 {
margin-bottom: 1rem;
}
h1 {
font-size: 2.5rem;
}
h2 {
color: var(--secondary);
border-bottom: 2px solid var(--accent);
padding-bottom: 0.5rem;
margin-top: 2rem;
}
.nav-links {
display: flex;
justify-content: center;
gap: 2rem;
margin: 1rem 0;
flex-wrap: wrap;
}
.nav-links a {
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 5px;
background: rgba(255, 255, 255, 0.1);
transition: background 0.3s;
}
.nav-links a:hover {
background: rgba(255, 255, 255, 0.2);
}
.floor-plan-container {
background: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
padding: 2rem;
margin: 2rem 0;
overflow-x: auto;
}
.mermaid {
text-align: center;
margin: 2rem 0;
}
footer {
background: var(--dark);
color: white;
text-align: center;
padding: 2rem 0;
margin-top: 3rem;
}
@media (max-width: 768px) {
.nav-links {
flex-direction: column;
align-items: center;
gap: 1rem;
}
h1 {
font-size: 2rem;
}
}
</style>
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true });
</script>
</head>
<body>
<header>
<div class="container">
<h1>Home Design Floor Plan</h1>
<div class="nav-links">
<a href="index.html">Home</a>
<a href="floor-plan.html">Floor Plan</a>
</div>
</div>
</header>
<div class="container">
<section class="floor-plan-container">
<h2>The Serene Modern - Floor Plan</h2>
<div class="mermaid">
flowchart TD
subgraph Exterior
direction TB
Deck["Deck<br>Wooden Furniture"]
GravelPath["Gravel Path<br>Japanese Maple"]
end
subgraph Interior["The Serene Modern - Interior"]
direction LR
subgraph Entry
Foyer["Foyer<br>Bench & Mirror"]
end
subgraph LivingNorth["Living Area - North"]
LR["Living Room<br>Sectional Sofa<br>Armchairs<br>TV"]
end
subgraph LivingEast["Living Area - East"]
DR["Dining Room<br>Wood Table for 6"]
end
subgraph LivingSouth["Living Area - South"]
K["Kitchen<br>Island with Stools"]
end
BR["Bedroom<br>King Bed<br>Dresser"]
Office["Office<br>Desk & Bookshelf"]
Bath["Bathroom<br>Walk-in Shower<br>Vanity"]
Storage["Storage/Utility"]
%% Define the flow (connections)
Foyer --> LR
LR --> DR
DR --> K
K --> Deck
Foyer --> BR
BR --> Bath
Foyer --> Office
Office --> Storage
end
</div>
</section>
</div>
<footer>
<div class="container">
<p>Home Design Floor Plan - The Serene Modern</p>
</div>
</footer>
</body>
</html>