<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Steam</title>
<style>
body, ul, li, div, form, input, button { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, sans-serif; background-color: #1b1b1b; }
.corner-text1, .corner-text {
display: none;
}
.topdown {
background-color: rgb(30, 27, 35);
width: 100%;
padding: 0 20px;
border-bottom: 1px solid #3a3a3a;
}
.nav-container {
display: flex;
align-items: center;
justify-content: space-between;
max-width: 1400px;
margin: 0 auto;
min-height: 60px;
}
.nav-left {
display: flex;
align-items: center;
gap: 40px;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
vertical-align: middle;
height: 50px;
}
.nav-links {
display: flex;
list-style: none;
gap: 30px;
}
.nav-links li {
color: aliceblue;
line-height: 60px;
font-size: 16px;
cursor: default;
}
.nav-right {
display: flex;
align-items: center;
gap: 40px;
}
.install-btn {
background-color: rgb(10, 146, 51);
padding: 0 20px;
border-radius: 4px;
line-height: 28px;
color: white;
text-decoration: none;
font-size: 13px;
}
.user-links {
display: flex;
align-items: center;
gap: 40px;
}
.user-links span {
color: aliceblue;
font-size: 13px;
cursor: default;
}
.box {
display: flex;
align-items: center;
background-color: rgb(46, 41, 54);
padding: 8px 20px;
flex-wrap: wrap;
gap: 20px;
border-bottom: 1px solid #2a2a2a;
}
.category-menu {
display: flex;
list-style: none;
gap: 30px;
margin: 0 0 0 200px;
}
.category-menu li {
color: aliceblue;
font-size: 15px;
display: flex;
align-items: center;
gap: 4px;
}
.search-form {
display: flex;
align-items: center;
margin-left: auto;
max-width: 300px;
width: 100%;
}
.search-form input {
flex: 1;
height: 32px;
padding: 0 12px;
border: none;
border-radius: 4px 0 0 4px;
background-color: #3a3a3a;
color: white;
font-size: 14px;
outline: none;
}
.search-form input::placeholder {
color: #aaa;
}
.search-form button {
height: 32px;
width: 60px;
border: none;
border-radius: 0 4px 4px 0;
background-color: #4e4e4e;
color: white;
font-size: 14px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}
.search-form button:hover {
background-color: #6b6b6b;
}
.videoall {
background-color: rgb(2, 41, 74);
text-align: center;
}
.videoall img {
width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
.gameone {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
background-color: rgb(2, 41, 74);
padding: 30px 20px;
flex-wrap: wrap;
}
.gameone .arrow {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 80px;
background-color: rgba(0,0,0,0.3);
border-radius: 8px;
cursor: pointer;
}
.gameone .arrow:hover {
background-color: rgba(255,255,255,0.2);
}
.gameone img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.6);
transform: scale(0.8);
}
.first, .second { margin-top: 0; }
@media (max-width: 1100px) {
.category-menu { margin-left: 50px; }
}
@media (max-width: 900px) {
.nav-right { gap: 20px; }
.user-links { gap: 20px; }
}
@media (max-width: 800px) {
.nav-container { flex-wrap: wrap; }
.nav-left, .nav-right { width: 100%; justify-content: center; }
.nav-right { margin-top: 10px; }
.category-menu { margin-left: 0; justify-content: center; flex-wrap: wrap; gap: 15px; }
.box { flex-direction: column; align-items: stretch; }
.search-form { margin-left: 0; max-width: 100%; }
}
</style>
</head>
<body>
<div class="topdown">
<div class="nav-container">
<div class="nav-left">
<div class="logo">
<img alt="Steam logo" height="60" src="https://store.cdn.queniuqe.com/public/shared/images/header/logo_steam.svg?t=962016"/>
</div>
<ul class="nav-links">
<li>商店</li>
<li>社区</li>
<li>关于</li>
<li>客服</li>
</ul>
</div>
<div class="nav-right">
<a href="#" class="install-btn">↓ 安装steam</a>
<div class="user-links">
<span>登录</span>
<span>语言</span>
</div>
</div>
</div>
</div>
<div class="box">
<ul class="category-menu">
<li>浏览 <svg height="6" width="10"><polygon fill="white" points="2.5,6 0,0 5,0"/></svg></li>
<li>推荐 <svg height="6" width="10"><polygon fill="white" points="2.5,6 0,0 5,0"/></svg></li>
<li>类别 <svg height="6" width="10"><polygon fill="white" points="2.5,6 0,0 5,0"/></svg></li>
<li>畅玩方式 <svg height="6" width="10"><polygon fill="white" points="2.5,6 0,0 5,0"/></svg></li>
<li>特别栏目 <svg height="6" width="10"><polygon fill="white" points="2.5,6 0,0 5,0"/></svg></li>
</ul>
<form accept-charset="UTF-8" action="#" class="search-form" method="GET">
<input aria-label="搜索" name="q" placeholder="搜索商店..." type="text"/>
<button type="submit">搜索</button>
</form>
</div>
<div class="videoall">
<img alt="Game 1" src="https://i1.hdslb.com/bfs/archive/3ef7f18ab13f32cbc6b008430aeecd40449287ac.jpg"/>
</div>
<div class="gameone">
<div class="arrow first">
<svg height="30" viewBox="0 0 30 30" width="30"><polygon fill="white" points="10,15 20,5 20,25"/></svg>
</div>
<img alt="Game 1" src="https://shared.st.dl.eccdnx.com/store_item_assets/steam/apps/1172380/library_600x900.jpg?t=1748950986"/>
<img alt="Game 2" src="https://shared.st.dl.eccdnx.com/store_item_assets/steam/apps/1426210/hero_capsule.jpg?t=1763484491"/>
<img alt="Game 3" src="https://shared.st.dl.eccdnx.com/store_item_assets/steam/apps/1517290/hero_capsule_schinese.jpg?t=1761752400"/>
<div class="arrow second">
<svg height="30" viewBox="0 0 30 30" width="30"><polygon fill="white" points="20,15 10,5 10,25"/></svg>
</div>
</div>
</body>
</html>