commit 384889bd22efc36062dee032679f4ae053f43958
Author: root <root@hub.scroll.pub> Date: 2024-12-24 02:21:23 +0000 Subject: Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..fd529e5 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# microvision.scroll.pub +Website generated from prompt: a site about microscopes. all the different kinds and a historical timeline of the smallest things that could be seen. links to where to buy. links to communities of micrscope users \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..8a81b1c --- /dev/null +++ b/index.html @@ -0,0 +1,160 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="description" content="Explore the fascinating world of microscopes, from historical timelines to modern buying guides and community connections."> + <meta name="keywords" content="microscopes, microscopy, scientific instruments, optical microscopes, electron microscopes"> + <title>MicroVision - Exploring the Microscopic World</title> + <link rel="stylesheet" href="style.css"> +</head> +<body> + <header> + <nav> + <div class="logo">MicroVision</div> + <button class="menu-toggle" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#types">Types</a></li> + <li><a href="#timeline">Timeline</a></li> + <li><a href="#buy">Where to Buy</a></li> + <li><a href="#community">Community</a></li> + </ul> + </nav> + </header> + + <main> + <section class="hero"> + <h1>Discover the Invisible World</h1> + <div class="parallax-container"> + <div class="microscope-overlay"></div> + </div> + </section> + + <section id="types" class="types-section"> + <h2>Types of Microscopes</h2> + <div class="microscope-grid"> + <article class="microscope-card"> + <h3>Optical Microscopes</h3> + <div class="card-content"> + <p>Traditional light microscopes using visible light and lenses.</p> + <ul> + <li>Compound</li> + <li>Stereo</li> + <li>Digital</li> + </ul> + </div> + </article> + <article class="microscope-card"> + <h3>Electron Microscopes</h3> + <div class="card-content"> + <p>Using electron beams for ultra-high magnification.</p> + <ul> + <li>TEM</li> + <li>SEM</li> + <li>STEM</li> + </ul> + </div> + </article> + <article class="microscope-card"> + <h3>Scanning Probe</h3> + <div class="card-content"> + <p>Modern microscopes using physical probes.</p> + <ul> + <li>AFM</li> + <li>STM</li> + <li>SNOM</li> + </ul> + </div> + </article> + </div> + </section> + + <section id="timeline" class="timeline-section"> + <h2>Discovery Timeline</h2> + <div class="timeline"> + <div class="timeline-item"> + <div class="year">1665</div> + <div class="discovery">First cell observed by Robert Hooke</div> + </div> + <div class="timeline-item"> + <div class="year">1674</div> + <div class="discovery">Bacteria discovered by van Leeuwenhoek</div> + </div> + <div class="timeline-item"> + <div class="year">1931</div> + <div class="discovery">First electron microscope</div> + </div> + <div class="timeline-item"> + <div class="year">1981</div> + <div class="discovery">Scanning tunneling microscope invented</div> + </div> + <div class="timeline-item"> + <div class="year">2018</div> + <div class="discovery">Individual atoms imaged in 3D</div> + </div> + </div> + </section> + + <section id="buy" class="buy-section"> + <h2>Where to Buy</h2> + <div class="vendor-grid"> + <div class="vendor-card"> + <h3>Educational</h3> + <ul> + <li><a href="#">ScienceFirst</a></li> + <li><a href="#">EduScope</a></li> + <li><a href="#">Learning Labs</a></li> + </ul> + </div> + <div class="vendor-card"> + <h3>Professional</h3> + <ul> + <li><a href="#">MicroTech Pro</a></li> + <li><a href="#">Lab Equipment Co</a></li> + <li><a href="#">Research Gear</a></li> + </ul> + </div> + </div> + </section> + + <section id="community" class="community-section"> + <h2>Join the Community</h2> + <div class="community-grid"> + <a href="#" class="community-card"> + <h3>Forums</h3> + <p>Connect with enthusiasts</p> + </a> + <a href="#" class="community-card"> + <h3>Gallery</h3> + <p>Share your microscope images</p> + </a> + <a href="#" class="community-card"> + <h3>Research</h3> + <p>Latest microscopy papers</p> + </a> + </div> + </section> + </main> + + <footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>Contact</h4> + <p>info@microvision.scroll.pub</p> + </div> + <div class="footer-section"> + <h4>Follow Us</h4> + <div class="social-links"> + <a href="#" aria-label="Twitter">Twitter</a> + <a href="#" aria-label="Instagram">Instagram</a> + </div> + </div> + </div> + <p class="footer-bottom">Made with passion for microscopy</p> + </footer> + + <script src="script.js"></script> +</body> +</html> diff --git a/style.css b/style.css new file mode 100644 index 0000000..9258038 --- /dev/null +++ b/style.css @@ -0,0 +1,293 @@ +:root { + --primary-color: #2c3e50; + --secondary-color: #3498db; + --accent-color: #e74c3c; + --background-color: #f5f6fa; + --text-color: #2c3e50; + --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + --transition-speed: 0.3s; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); +} + +/* Header and Navigation */ +header { + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + padding: 1rem; + position: fixed; + width: 100%; + top: 0; + z-index: 1000; + box-shadow: 0 2px 5px rgba(0,0,0,0.2); +} + +nav { + max-width: 1200px; + margin: 0 auto; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + color: white; + font-size: 1.5rem; + font-weight: bold; + text-transform: uppercase; + letter-spacing: 2px; +} + +.nav-links { + display: flex; + list-style: none; +} + +.nav-links li { + margin-left: 2rem; +} + +.nav-links a { + color: white; + text-decoration: none; + transition: var(--transition-speed); +} + +.nav-links a:hover { + color: var(--accent-color); +} + +/* Hero Section */ +.hero { + height: 100vh; + display: flex; + align-items: center; + justify-content: center; + text-align: center; + position: relative; + overflow: hidden; +} + +.hero h1 { + font-size: 3.5rem; + color: white; + text-shadow: 2px 2px 4px rgba(0,0,0,0.5); + z-index: 2; +} + +.parallax-container { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); +} + +.microscope-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%); +} + +/* Sections */ +section { + padding: 5rem 2rem; + max-width: 1200px; + margin: 0 auto; +} + +h2 { + text-align: center; + margin-bottom: 3rem; + font-size: 2.5rem; + color: var(--primary-color); +} + +/* Microscope Cards */ +.microscope-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; +} + +.microscope-card { + background: white; + padding: 2rem; + border-radius: 10px; + box-shadow: var(--card-shadow); + transition: var(--transition-speed); +} + +.microscope-card:hover { + transform: translateY(-5px); + box-shadow: 0 6px 12px rgba(0,0,0,0.15); +} + +/* Timeline */ +.timeline { + position: relative; + max-width: 800px; + margin: 0 auto; +} + +.timeline::before { + content: ''; + position: absolute; + width: 2px; + background: var(--secondary-color); + top: 0; + bottom: 0; + left: 50%; + transform: translateX(-50%); +} + +.timeline-item { + padding: 1rem; + position: relative; + width: 50%; + margin: 2rem 0; +} + +.timeline-item:nth-child(odd) { + left: 0; +} + +.timeline-item:nth-child(even) { + left: 50%; +} + +.year { + font-weight: bold; + color: var(--secondary-color); +} + +/* Community Section */ +.community-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; +} + +.community-card { + background: white; + padding: 2rem; + border-radius: 10px; + text-align: center; + text-decoration: none; + color: var(--text-color); + box-shadow: var(--card-shadow); + transition: var(--transition-speed); +} + +.community-card:hover { + transform: scale(1.05); + box-shadow: 0 8px 16px rgba(0,0,0,0.2); +} + +/* Footer */ +footer { + background: var(--primary-color); + color: white; + padding: 3rem 2rem; +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; +} + +.social-links a { + color: white; + text-decoration: none; + margin-right: 1rem; +} + +.footer-bottom { + text-align: center; + margin-top: 2rem; + padding-top: 2rem; + border-top: 1px solid rgba(255,255,255,0.1); +} + +/* Mobile Responsiveness */ +.menu-toggle { + display: none; + background: none; + border: none; + cursor: pointer; +} + +.menu-toggle span { + display: block; + width: 25px; + height: 3px; + background: white; + margin: 5px 0; + transition: var(--transition-speed); +} + +@media (max-width: 768px) { + .menu-toggle { + display: block; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: var(--primary-color); + padding: 1rem; + flex-direction: column; + } + + .nav-links.active { + display: flex; + } + + .nav-links li { + margin: 1rem 0; + } + + .hero h1 { + font-size: 2.5rem; + } + + .timeline::before { + left: 0; + } + + .timeline-item { + width: 100%; + left: 0 !important; + padding-left: 2rem; + } +} + +/* Animations */ +@keyframes fadeIn { + from { opacity: 0; } + to { opacity: 1; } +} + +.microscope-card, .community-card { + animation: fadeIn 0.5s ease-in; +}