This commit is contained in:
恍兮惚兮 2024-07-19 00:28:56 +08:00
parent d5c817506d
commit 7c1b9aee5f
2 changed files with 52 additions and 54 deletions

View File

@ -19,50 +19,48 @@
</head> </head>
<body> <body>
<div class="headercenter"> <div class="header">
<div class="header"> <div class="buttons">
<div class="buttons"> <div class="buttonitem buttonsize"><a class="goodlink buttonsize" target="_blank"
<div class="buttonitem buttonsize"><a class="goodlink buttonsize" target="_blank" href="https://lunatranslator.xyz/" id="homepage">官方网站</a></div>
href="https://lunatranslator.xyz/" id="homepage">官方网站</a></div> <div class="buttonitem buttonsize">
<div class="buttonitem buttonsize"> <div class="dropdown buttonsize">
<div class="dropdown buttonsize"> <span class="goodlinknormal" id="downloadlink">
<span class="goodlinknormal" id="downloadlink"> 软件下载
软件下载 </span>
</span> <div class="dropdown-content ">
<div class="dropdown-content "> <a class="goodlink buttonsize" target="_blank"
<a class="goodlink buttonsize" target="_blank" href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip">64位<br></a>
href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip">64位<br></a> <a class="goodlink buttonsize" target="_blank"
<a class="goodlink buttonsize" target="_blank" href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip">32位<br></a>
href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip">32位<br></a>
</div>
</div> </div>
</div> </div>
<div class="buttonitem buttonsize"><a class="goodlink buttonsize" </div>
href="https://space.bilibili.com/592120404/video" target="_blank" id="vediotutorial">视频教学</a> <div class="buttonitem buttonsize"><a class="goodlink buttonsize"
</div> href="https://space.bilibili.com/592120404/video" target="_blank" id="vediotutorial">视频教学</a>
<div class="buttonitem buttonsize"> </div>
<div class="dropdown buttonsize"> <div class="buttonitem buttonsize">
<span class="goodlinknormal" id="contactme"> <div class="dropdown buttonsize">
交流群 <span class="goodlinknormal" id="contactme">
</span> 交流群
<div class="dropdown-content "> </span>
<a class="goodlink buttonsize" target="_blank" <div class="dropdown-content ">
href="https://lunatranslator.xyz/Resource/QQGroup">QQ群<br></a> <a class="goodlink buttonsize" target="_blank"
<a class="goodlink buttonsize" target="_blank" href="https://lunatranslator.xyz/Resource/QQGroup">QQ群<br></a>
href="https://lunatranslator.xyz/Resource/DiscordGroup">Discord<br></a> <a class="goodlink buttonsize" target="_blank"
</div> href="https://lunatranslator.xyz/Resource/DiscordGroup">Discord<br></a>
</div> </div>
</div> </div>
<div class="buttonitem buttonsize"> </div>
<div class="dropdown buttonsize"> <div class="buttonitem buttonsize">
<span class="goodlinknormal"> <div class="dropdown buttonsize">
语言/Language <span class="goodlinknormal">
</span> 语言/Language
<div class="dropdown-content "> </span>
<a class="goodlink buttonsize" href="#/zh/">简体中文<br></a> <div class="dropdown-content ">
<a class="goodlink buttonsize" href="#/en/">English<br></a> <a class="goodlink buttonsize" href="#/zh/">简体中文<br></a>
<a class="goodlink buttonsize" href="#/ru/">Русский язык<br></a> <a class="goodlink buttonsize" href="#/en/">English<br></a>
</div> <a class="goodlink buttonsize" href="#/ru/">Русский язык<br></a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -50,7 +50,8 @@
background-color: white; background-color: white;
} }
.goodlink , .goodlinknormal { .goodlink,
.goodlinknormal {
text-decoration: none; text-decoration: none;
color: black; color: black;
line-height: 50px; line-height: 50px;
@ -58,7 +59,8 @@
} }
.goodlink:hover , .goodlinkhover{ .goodlink:hover,
.goodlinkhover {
color: deepskyblue; color: deepskyblue;
background-color: rgba(255, 192, 203, 0.3); background-color: rgba(255, 192, 203, 0.3);
} }
@ -74,15 +76,12 @@
text-align: center; text-align: center;
} }
.headercenter {
width: 100%;
display: flex;
justify-content: center;
}
.header { .header {
width: 100%;
font-size: 21px; font-size: 21px;
position: fixed; position: fixed;
top: 0px;
height: 50px; height: 50px;
box-shadow: 0 0 4px 1px gray; box-shadow: 0 0 4px 1px gray;
z-index: 100; z-index: 100;
@ -103,14 +102,15 @@
z-index: -2; z-index: -2;
} }
.xiamian { .sidebar,
.sidebar-toggle {
position: fixed; position: fixed;
left: 0; top: 50px;
right: 0; }
top: 60px;
bottom: 0; .github-corner {
overflow-x: auto; position: fixed;
overflow-y: auto; top: 50px;
} }
.buttons { .buttons {