improve rendering

This commit is contained in:
Asraelite 2016-03-29 21:21:01 +01:00
parent c47ad92f21
commit 8a059b92d5
30 changed files with 286 additions and 260 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1,59 +0,0 @@
@font-face {
font-family: 'FreePixel';
src: url("/css/FreePixel.ttf");
}
* {
margin: 0;
padding: 0;
font-family: FreePixel;
}
body {
overflow: hidden;
}
#gui {
color: #fff;
}
.container {
position: fixed;
}
#chat {
bottom: 0;
left: 0;
width: 400px;
max-height: 300px;
overflow: hidden;
background-color: rgba(0,0,0,0.55);
}
#chat #chat-messages > span {
display: block;
margin-top: 5px;
}
#chat #chat-messages > span > span {
color: #afa;
}
#chat #chat-messages > span > span.teama {
color: #f76;
}
#chat #chat-messages > span > span.teamb {
color: #8af;
}
#chat #chat-messages > span.server {
color: #68c;
}
#chat input {
font-family: inherit;
font-size: 16px;
border: 0;
display: block;
width: 100%;
padding: 2px 0 2px 0;
background-color: rgba(20,20,20,0.5);
}
#chat input:focus {
background-color: #eee;
}
#weapons {
bottom: 0;
left: 50%;
transform: translate(-50%, 0);
}

BIN
public/static/css/test.ttf Normal file

Binary file not shown.