mirror of
https://github.com/PrismarineJS/prismarine-web-client.git
synced 2024-11-14 19:25:07 -05:00
81 lines
1.7 KiB
HTML
81 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Prismarine Web Client</title>
|
|
<style type="text/css">
|
|
@font-face {
|
|
font-family: minecraft;
|
|
src: url(minecraftia.woff);
|
|
}
|
|
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%;
|
|
overflow: scroll;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
.chat {
|
|
overflow: scroll;
|
|
color: white;
|
|
font-size: 32px;
|
|
margin: 0px;
|
|
line-height: 100%;
|
|
text-shadow: 4px 4px 0px #3f3f3f;
|
|
font-family: minecraft, monospace;
|
|
width: 100%;
|
|
max-height: calc(90px * 8)
|
|
}
|
|
|
|
input[type=text] {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
li {
|
|
display: block;
|
|
}
|
|
</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>
|
|
<script type="text/javascript" src="index.js"></script>
|
|
</body>
|
|
</html>
|