0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-12-26 02:23:48 +01:00
doodle3d-connect/css/bg.css

83 lines
1.4 KiB
CSS
Raw Normal View History

2013-10-03 16:59:40 +02:00
.uiButtonsContainer {
position: absolute;
max-width: 1024px;
/*min-width: 800px;*/
width: 100%;
2013-10-03 16:59:40 +02:00
height: 100%;
/*max-height: 768px;*/
/*min-height: 300px;*/
top: 0; left: 0; right: 0; bottom: 0;
/*overflow: hidden;*/
margin: 0 auto;
outline: 2px solid #5e8c71;
box-shadow: 0 0 8px rgba(8, 8, 8, 0.25);
2013-10-03 16:59:40 +02:00
/* height: 768px;*/
}
#d3dlogo {
position: absolute;
top: 2.5%;
/*left: 31%;*/
width: 100%;
margin: 0 auto;
2013-10-03 16:59:40 +02:00
height: 139px;
background: url('../img/logo_full.png') no-repeat center center;
2013-10-03 16:59:40 +02:00
cursor: pointer;
}
.bgContainer {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.bgTop, .bgMiddle, .bgBottom {
opacity: 1.0;
transition: opacity .35s linear;
position: absolute;
left: 0;
z-index: -5;
}
2013-10-03 16:59:40 +02:00
.bgTop {
top: 0;
2013-10-03 16:59:40 +02:00
}
.bgMiddle {
top: 30%;
2013-10-03 16:59:40 +02:00
}
.bgBottom {
bottom: 0;
2013-10-03 16:59:40 +02:00
}
/* The code below is for resizing UI elements as the viewport becomes less high (suitable for tablets & smartphones) */
@media screen and (max-height: 655px) {
.bgMiddle { opacity: 0; }
}
2013-10-03 16:59:40 +02:00
@media screen and (max-height: 675px) {
#d3dlogo {
/*width: 399px;*/
2013-10-03 16:59:40 +02:00
height: 74px;
background-image: url('../img/logo_small.png');
top: 6%;
2013-10-03 16:59:40 +02:00
}
}
@media screen and (max-height: 560px) {
#d3dlogo {
/*width: 399px;*/
2013-10-03 16:59:40 +02:00
height: 57px;
background-image: url('../img/logo_smaller_wide.png');
top: 6%;
}
}
@media screen and (max-height: 420px) {
#d3dlogo {
top: 3%;
2013-10-03 16:59:40 +02:00
}
}