aframe-motion-capture-components
Version:
A-Frame motion capture components
87 lines (76 loc) • 1.09 kB
CSS
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
bottom: 0;
left: 0;
position: fixed;
right: 0;
top: 0;
font-family: sans-serif;
font-size: 22px;
}
/* Applied to the body element */
body {
height: 100%;
margin: 0;
overflow: hidden;
padding: 0;
width: 100%;
}
.container {
width: 100%;
height: 100%;
}
.sidebar {
color: white;
font-size: 16px;
float: left;
height: 100%;
width: 25%;
background-color: #33425B;
padding: 30px;
line-height: 1.4;
overflow: auto;
}
.sidebar h1{
margin-bottom: 20px;
}
a-scene {
margin-left: 25%;
height: 100%;
width: 75%;
}
@media screen and (max-width: 1024px) {
html {
font-size: 14px;
}
.sidebar {
padding: 10px;
}
}
@media screen and (max-width: 600px) {
.sidebar {
position: absolute;
bottom: 0;
float: none;
height: 30%;
width: 100%;
padding: 10px;
}
a-scene {
margin-left: 0;
height: 70%;
width: 100%;
}
}
@media screen and (max-width: 320px) {
html {
font-size: 12px;
}
.sidebar {
padding: 10px;
}
}