chuck.js/static/css/screen.css
2015-02-28 19:57:05 +01:00

186 lines
2.8 KiB
CSS

@font-face {
font-family: 'Joystix';
src: url('/static/fonts/2D6D36_0_0.eot');
src: url('/static/fonts/2D6D36_0_0.eot?#iefix') format('embedded-opentype'),
url('/static/fonts/2D6D36_0_0.woff2') format('woff2'),
url('/static/fonts/2D6D36_0_0.woff') format('woff'),
url('/static/fonts/2D6D36_0_0.ttf') format('truetype');
}
h1, h2, h3, h4, th {
font-weight: normal;
}
html, body {
width: 100%;
height: 100%;
}
body {
background: #222;
color: #ccc;
font-family: 'Joystix', "Lucida Grande", sans-serif;
text-transform: uppercase;
margin: 0;
padding: 0;
display: table;
-moz-osx-font-smoothing: grayscale;
}
#menuBar {
list-style-type: none;
background: rgba(0, 0, 0, 0.5);
position: absolute;
z-index: 1;
width: 100%;
margin: 0;
padding: 5px 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#menuBar button {
outline : 0;
-moz-outline : 0;
}
#menuBar li {
float: left;
margin-left: 40px;
}
#menuBar li label {
padding: 5px 0;
display: block;
}
#back-to-menu {
margin-left: 5px !important;
}
#graph-fps {
background: rgba(0,0,0,0.3);
border: 1px solid rgba(0,0,0,0.5);
padding: 2px;
display: inline;
}
#fullscreen {
float: right !important;
margin-right: 5px;
}
::selection {
background: #720000; /* Safari */
}
::-moz-selection {
background: #720000; /* Firefox */
}
input, button {
background: black;
color: #ccc;
border: 0;
padding: 0.3em 0.6em 0.6em;
font-size: 1em;
font-family: inherit;
text-transform: inherit;
}
#createform, #customjoinform, #game {
display: none;
}
#createform #maps {
text-transform: capitalize;
}
#primarycolor {
padding: 0.3em;
width: 1em;
background-color: #777;
}
article#menu {
margin: 4em auto;
background: #1a1a1a;
padding: 2em;
max-width: 30em;
}
table, th, td {
border: 1px solid #777;
border-collapse: collapse;
}
th, td {
padding: 0.5em 1em;
}
ul {
list-style-type: none;
padding-left: 0;
}
#link {
width: 100%;
}
.offline {
background: #ccc;
}
tr:hover td {
background: #222;
}
a {
color: #ccc;
}
#canvasContainer {
/*
text-align: center;
display: table-cell;
vertical-align: middle;
*/
height: 100%;
}
#canvasContainer canvas {
position: absolute;/*
top: 50%;
left: 50%;
margin-top: -200px;
margin-left: -300px;*/
}
:-webkit-full-screen {
top: 0;
left: 0;
margin: 0;
padding: 0;
}
#devtools {
position: absolute;
right: 0;
top: 0;
padding: 10px;
background: #333;
}
#devtools p {
padding: 5px 0 0 0;
margin: 0;
}