<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>小说详情</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: #333;
color: white;
}
header a {
color: white;
text-decoration: none;
margin: 0 10px;
}
nav {
background-color: #444;
padding: 10px 20px;
}
nav a {
color: white;
text-decoration: none;
margin: 0 10px;
}
nav .dropdown {
position: relative;
display: inline-block;
}
nav .dropdown-content {
display: none;
position: absolute;
background-color: #555;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
nav .dropdown-content a {
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
}
nav .dropdown:hover .dropdown-content {
display: block;
}
.container {
max-width: 800px;
margin: 20px auto;
background-color: white;
padding: 20px;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
overflow: hidden; /* Clearfix for containing floated elements */
}
.cover {
width: 200px;
height: 300px;
background-color: #ddd;
float: left;
margin-right: 20px;
background-image: url('150.webp'); /* Replace 'cover.jpg' with actual cover image URL */
background-size: cover;
background-position: center;
}
.details {
overflow: hidden;
}
.details h1 {
margin-top: 0;
font-size: 24px;
font-weight: bold;
}
.details p {
margin-top: 5px;
}
.details .category {
margin-top: 10px;
font-style: italic;
}
.details .description {
margin-top: 10px;
}
.actions {
margin-top: 20px;
}
.actions a {
display: inline-block;
padding: 10px 20px;
background-color: #333;
color: white;
text-decoration: none;
margin-right: 10px;
border-radius: 5px;
}
.actions a:hover {
background-color: #555;
}
.toc {
margin-top: 20px;
}
.toc h2 {
font-size: 18px;
font-weight: bold;
}
.toc ul {
list-style-type: none;
padding: 0;
}
.toc ul li {
display: inline-block;
margin-right: 10px;
}
</style>
</head>
<body>
<header>
<div><a href="#"><img src="logo.png" alt="小说网"></a></div>
<input type="text" placeholder="搜索">
<div>
<a href="#">注册</a>/
<a href="#">登录</a>
</div>
</header>
<nav>
<a href="index.html">首页</a>
<div class="dropdown">
<a href="#">排行</a>
<div class="dropdown-content">
<a href="#">小说排行</a>
<a href="#">作家排行</a>
</div>
</div>
<a href="#">分类</a>
</nav>
<div class="container">
<div class="cover"></div>
<div class="details">
<h1><strong>小说名</strong></h1>
<p>作者: <a href="#">作者名</a></p>
<p class="category">分类: <a href="#">小说分类</a></p>
<h2><strong>小说简介</strong></h2>
<p class="description">这里是小说的简介内容,可以是一段描述性文字。</p>
<div class="actions">
<a href="#">阅读</a>
<a href="#">下载</a>
</div>
</div>
<div style="clear: both;"></div>
<div class="toc">
<h2>小说目录</h2>
<div class="toc-columns">
<div class="toc-column">
<ul>
<li><a href="#">第1章</a></li>
<li><a href="#">第2章</a></li>
<li><a href="#">第3章</a></li>
<li><a href="#">第4章</a></li>
<li><a href="#">第5章</a></li>
<li><a href="#">第1章</a></li>
<li><a href="#">第2章</a></li>
<li><a href="#">第3章</a></li>
<li><a href="#">第4章</a></li>
<li><a href="#">第5章</a></li>
</ul>
</div>
<div class="toc-column">
<ul>
<li><a href="#">第6章</a></li>
<li><a href="#">第7章</a></li>
<li><a href="#">第8章</a></li>
<li><a href="#">第9章</a></li>
<li><a href="#">第10章</a></li>
</ul>
</div>
<div class="toc-column">
<ul>
<li><a href="#">第11章</a></li>
<li><a href="#">第12章</a></li>
<li><a href="#">第13章</a></li>
<li><a href="#">第14章</a></li>
<li><a href="#">第15章</a></li>
</ul>
</div>
<div class="toc-column">
<ul>
<li><a href="#">第1章</a></li>
<li><a href="#">第2章</a></li>
<li><a href="#">第3章</a></li>
<li><a href="#">第4章</a></li>
<li><a href="#">第5章</a></li>
<li><a href="#">第1章</a></li>
<li><a href="#">第2章</a></li>
<li><a href="#">第3章</a></li>
<li><a href="#">第4章</a></li>
<li><a href="#">第5章</a></li>
</ul>
</div>
<div class="toc-column">
<ul>
<li><a href="#">第6章</a></li>
<li><a href="#">第7章</a></li>
<li><a href="#">第8章</a></li>
<li><a href="#">第9章</a></li>
<li><a href="#">第10章</a></li>
</ul>
</div>
<div class="toc-column">
<ul>
<li><a href="#">第11章</a></li>
<li><a href="#">第12章</a></li>
<li><a href="#">第13章</a></li>
<li><a href="#">第14章</a></li>
<li><a href="#">第15章</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>
版权属于:
3440655380
作品采用:
《
署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)
》许可协议授权
评论 (0)