prismarine-web-client-mirror/index.html

86 lines
1.8 KiB
HTML
Raw Normal View History

2021-02-27 17:12:11 -05:00
<!DOCTYPE html>
<html>
<head>
<title>Prismarine Web Client</title>
2021-02-27 17:12:11 -05:00
<style type="text/css">
2021-02-27 18:58:21 -05:00
@font-face {
font-family: minecraft;
src: url(minecraftia.woff);
}
@font-face {
font-family: mojangles;
src: url(mojangles.ttf);
}
2021-02-27 17:12:11 -05:00
html {
overflow: hidden;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
canvas {
height: 100%;
width: 100%;
font-size: 0;
margin: 0;
padding: 0;
}
.chat-wrapper {
position: fixed;
background-color: rgba(0, 0, 0, 0.5);
}
.chat-display-wrapper {
bottom: calc(8px * 16);
padding: 4px;
max-height: calc(90px * 8);
width: calc(320px * 4);
}
.chat-input-wrapper {
bottom: calc(2px * 16);
width: 100%;
2021-02-27 19:02:50 -05:00
overflow: hidden;
background-color: rgba(0, 0, 0, 0);
}
.chat {
2021-02-27 19:02:50 -05:00
overflow: hidden;
color: white;
font-size: 32px;
margin: 0px;
line-height: 100%;
text-shadow: 4px 4px 0px #3f3f3f;
font-family: mojangles, minecraft, monospace;
width: 100%;
max-height: calc(90px * 8)
}
input[type=text] {
background-color: rgba(0, 0, 0, 0.5);
}
li {
display: block;
}
2021-02-27 17:12:11 -05:00
</style>
</head>
<body>
<div class="chat-wrapper chat-display-wrapper">
<div class="chat" id="chat">
<p>Welcome to prismarine-web-client! Chat appears here.</p>
</div>
</div>
<div class="chat-wrapper chat-input-wrapper">
<div class="chat" id="chat-input">
<input type="text" class="chat" id="chatinput"></input>
</div>
</div>
2021-02-27 17:12:11 -05:00
<script type="text/javascript" src="index.js"></script>
</body>
</html>