first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,152 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
list-style: none;
text-decoration: none;
border: none;
outline: none;
}
.left {
float: left;
}
.right {
float: right;
}
.center {
width: 1200px;
margin: 0 auto;
}
.header {
height: 66px;
background: #1a1a1a;
}
.header_left {}
.header_left .logo {
margin-top: 15px;
margin-right: 35px;
}
.header_left ul {
line-height: 53px;
}
.header_left ul li,
.header_right li {
float: left;
margin-left: 15px;
width: 70px;
text-align: center;
border-bottom: 6px solid #1a1a1a;
border-top: 6px solid #1a1a1a;
}
.header_left ul li:hover,
.header_right li:hover {
background: #d22222;
border-top-color: #d22222;
border-bottom-color: #d22222;
}
.header_left .active {
border-bottom-color: #d22222;
}
.header_left ul li a,
.header_right li a,
.header_right li span {
font-size: 18px;
color: #fff;
opacity: .8;
}
.header_right {
line-height: 53px;
}
.header_right li {}
.header_right li:nth-child(4) {
width: 104px;
background: #2e6cf3;
border-top-color: #2e6cf3;
border-bottom-color: #2e6cf3;
}
.header_right li a {}
.header_right li span {
vertical-align: bottom;
}
.header_right li img {
width: 9px;
}
</style>
</head>
<body>
<div class="header">
<div class="center">
<div class="header_left left">
<a class="left" href="">
<img class="logo" src="https://img.ithome.com/www/ithome.logo.svg" alt="">
</a>
<ul class="left">
<li class="active">
<a href="">首页</a>
</li>
<li>
<a href="">IT圈</a>
</li>
<li>
<a href="">辣品</a>
</li>
</ul>
</div>
<ul class="header_right right">
<li>
<span>设置</span>
<img src="./more.png" alt="">
</li>
<li>
<a href="">投稿</a>
</li>
<li>
<span>订阅</span>
<img src="./more.png" alt="">
</li>
<li>
<span>软媒应用</span>
<img src="./more.png" alt="">
</li>
<li>
<span>登录</span>
</li>
</ul>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,105 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
list-style: none;
text-decoration: none;
border: none;
outline: none;
}
.left {
float: left;
}
.search {
width: 282px;
}
.top {
width: 280px;
height: 36px;
border: 1px solid #d9dde0;
}
.top input {
width: 210px;
height: 100%;
padding-left: 3px;
box-sizing: border-box;
}
.top .submit {
width: 70px;
height: 100%;
background: #d22222;
color: #fff;
text-align: center;
line-height: 36px;
font-size: 15px;
}
.menu {
margin-top: 10px;
overflow: hidden;
margin-left: 15px;
}
.menu li {
float: left;
margin-right: 11px;
color: #777;
font-size: 15px;
}
.menu li:first-child {
margin-right: 0;
}
.menu li a {
color: #777;
font-size: 15px;
}
</style>
</head>
<body>
<div class="search">
<div class="top">
<input class="left" type="text" placeholder="请输入关键字">
<div class="submit left">搜索</div>
</div>
<ul class="menu">
<li>热搜:</li>
<li>
<a href="">苹果</a>
</li>
<li>
<a href="">俄罗斯</a>
</li>
<li>
<a href="">华为</a>
</li>
<li>
<a href="">联想</a>
</li>
<li>
<a href="">微信</a>
</li>
</ul>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB