1 Star 0 Fork 0

pzwboy/Xash3D FWGS(半衰期)网页版

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 3.19 KB
一键复制 编辑 原始数据 按行查看 历史
pzwboy 提交于 2024-03-09 23:29 . 第一次发布
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="MobileOptimized" content="640"/>
<meta name="HandheldFriendly" content="true"/>
<title>Xash 3D 网页版</title>
<script>
document.addEventListener('contextmenu', event => event.preventDefault());
</script>
<style>
body {
font-family: Arial;
margin: 10; padding: none;
background-color: #555555;
color: #f0b418;
margin: 0px;
}
hr {
border-color: #ffa600;
}
#controls {
display: inline-block;
float: right;
vertical-align: top;
margin-top: 5px;
margin-right: 20px;
}
#output {
width: 100%;
height: 200px;
margin: 0 auto;
margin-top: 10px;
border-left: 0px;
border-right: 0px;
border-style: solid;
padding-left: 0px;
padding-right: 0px;
display: block;
background-color: black;
color: white;
font-family: 'Lucida Console', Monaco, monospace;
outline: none;
border-color:#f0B418;
}
a.glow, a.glow:hover, a.glow:focus
{
text-decoration: none;
color: #F0B418;
text-shadow: none;
-webkit-transition: 500ms linear 0s;
-moz-transition: 500ms linear 0s;
-o-transition: 500ms linear 0s;
transition: 100ms linear 0s;
outline: 0 none;
}
a.glow:hover, a.glow:focus
{
color: #ffa600;
text-shadow: -1px 1px 8px #ffa600, 1px -1px 8px #ffa600;
}
input[type="button" i]
{
color:#f0b418;
background-color: #555555;
border: 2px solid #f0b418;
border-radius: 40px;
width: 100%;
height: 40px;
font-family: Segoe UI;
font-size: 20px;
transition: 0.5s all;
}
input[type="button" i]:hover
{
color:#555555;
background-color: #f0b418;
font-size: 22px;
}
input[type="number" i] {
color:#f0b418;
background-color: #555555;
border: 2px solid #f0b418;
border-radius: 40px;
font-family: Segoe UI;
font-size: 15px;
transition: 0.5s all;
}
*{
cursor: default;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
if (document.createElement("detect").style.textShadow === "") {
document.getElementsByTagName("html")[0].className += " textshadow";
}
audio{
display: none;
}
</style>
</head>
<body bgcolor=#555555 text=#F0B418 link=#ffa600 vlink=#ffa600>
<p><h1><a onclick=location.href="https://github.com/FWGS/xash3d/" class="glow">Xash3D FWGS</a> Emscripten Port</h1></p>
</html>
<hr>
设置: <br>
<form>
内存大小: <input type=number value=150 id=mem >
<p><input type=button onclick=location.href="xash.html#"+document.getElementById('mem').value value=开始></p>
<p>原项目:<a href="https://github.com/Pixelsuft/hl" target="_blank">Pixelsuft hl</a></p>
</form>
<!-- <script>
var a = new Audio('music.mp3');
var pashalka_count = 0;
function play_sound(){
if(pashalka_count==10) a.play();
pashalka_count+=1;
}
window.addEventListener('click', play_sound);
window.addEventListener('keydown', play_sound);
</script> -->
</body>
<hr>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/pzwboy/xash-web.git
git@gitee.com:pzwboy/xash-web.git
pzwboy
xash-web
Xash3D FWGS(半衰期)网页版
master

搜索帮助