海绵宝宝主题网页源码(大作业html)

该文章已生成可运行项目,

源码链接:

「海绵宝宝主题网站」
链接:https://pan.quark.cn/s/8a43564b708d

之前代做的大作业(doge),全部放出来,放着也是吃灰~

纯搬砖,技术力很差,天天耕地,在代码的田野里,干就完了!

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Bikini Bottom Welcome!</title>
    <link rel="stylesheet" href="css/style.css">
    <style>
        /* Page specific styles */
        .hero {
            position: relative;
            height: 80vh; /* Make hero section tall */
            overflow: hidden; /* Hide overflow for parallax/animations */
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: var(--color-text-light);
            text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
        }

        .hero-background {
             position: absolute;
             top: 0;
             left: 0;
             width: 100%;
             height: 100%;
             background-image: url('img/bg.jfif'); /* Placeholder */
             background-size: cover;
             background-position: center;
             /* Add parallax effect here later with JS or CSS */
             z-index: -1; /* Send to back */
        }

        .hero-content h1 {
            font-size: 4em; /* Large title */
            margin-bottom: 0.2em;
            color: var(--color-spongebob-yellow); /* Themed color */
            text-shadow: 3px 3px 7px rgba(0,0,0,0.6);
        }

         .page-links .grid {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
        }

        .page-link-card {
             text-align: center;
        }

        .page-link-card img {
            max-height: 150px; /* Control card image size */
            object-fit: cover;
            border-radius: 10px;
             margin-bottom: 10px;
        }

         .featured {
            background-color: rgba(var(--color-sand), 0.9); /* Themed background */
            padding: 20px;
            border-radius: 10px;
            margin-top: 40px; /* Space from section above */
        }

    </style>
</head>
<body>

    <header class="site-header">
        <div class="container">
            <div class="site-title">
                <h1>Bikini Bottom Fan Site</h1>
            </div>
            <nav class="site-nav">
                <ul>
                    <li><a href="index.html" class="active">Home</a></li>
                    <li><a href="characters.html">Characters</a></li>
                    <li><a href="locations.html">Locations</a></li>
                    <li><a href="menu.html">Krusty Krab Menu</a></li>
                    <li><a href="gallery.html">Gallery & Fun</a></li>
                </ul>
            </nav>
        </div>
    </header>

    <main>
        <section class="hero">
            <div class="hero-background"></div>
            <div class="hero-content container">
                <p>Dive deep into the vibrant world of SpongeBob SquarePants and his friends.</p>
                 <a href="#intro" class="button">Learn More</a>
            </div>
        </section>

         <section id="intro" class="intro container">
             <h2>About the Site</h2>
             <p>
                 This fan website is a loving tribute to everyone's favorite porous pal and the zany inhabitants of Bikini Bottom.
                 Explore character profiles, iconic locations, the delicious menu of the Krusty Krab, and a gallery of memorable moments.
                 Prepare for fun!
             </p>
         </section>

        <section class="page-links container">
            <h2>Explore Bikini Bottom</h2>
            <div class="grid">
                <article class="card page-link-card">
                    <a href="characters.html">
                        <img src="img/海绵宝宝.png" alt="Characters"> <h3>Meet the Residents</h3>
                        <p>Get to know SpongeBob, Patrick, Squidward, and more!</p>
                    </a>
                </article>

                 <article class="card page-link-card">
                     <a href="locations.html">
                        <img src="img/菠萝屋.png" alt="Locations"> <h3>Explore the Locations</h3>
                        <p>Visit the Krusty Krab, Pineapple House, Jellyfish Fields, and beyond!</p>
                     </a>
                 </article>

                 <article class="card page-link-card">
                     <a href="menu.html">
                        <img src="img/蟹黄包.png" alt="Krusty Krab Menu"> <h3>See the Menu</h3>
                         <p>Discover the secrets of the Krabby Patty and other delights!</p>
                     </a>
                 </article>

                 <article class="card page-link-card">
                     <a href="gallery.html">
                        <img src="img/派大星.png" alt="Gallery and Fun"> <h3>Gallery & Fun</h3>
                         <p>Relive classic moments and find some fun activities!</p>
                     </a>
                 </article>
                </div>
        </section>

        <section class="container">
             <aside class="featured">
                 <h3>Did You Know?</h3>
                 <p>SpongeBob's full name is SpongeBob SquarePants, and he lives in a pineapple under the sea!</p>
                 </aside>
        </section>

    </main>

    <footer class="site-footer">
        <div class="container">
            <p>&copy; 2023 Bikini Bottom Fan Site. All rights reserved. SpongeBob SquarePants and all related titles, logos, and characters are trademarks of Viacom International Inc.</p>
        </div>
    </footer>

    </body>
</html>

本文章已经生成可运行项目
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

peter123123123123

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值