noname/layout/mode/story.css

96 lines
1.9 KiB
CSS
Raw Normal View History

2016-06-16 15:34:00 +00:00
.storyscene{
2016-06-15 14:16:41 +00:00
height: 500px;
top:calc(50% - 250px);
width: 100%;
position: absolute;
left: 0;
overflow-x: scroll;
overflow-y: hidden;
text-align: center;
white-space: nowrap;
}
2016-06-17 15:44:19 +00:00
.storyscene.removing{
pointer-events: none;
transform: translateY(500px);
}
2016-06-16 15:34:00 +00:00
.storyscene.lockscroll{
2016-06-15 14:16:41 +00:00
overflow-x: hidden;
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene{
2016-06-15 14:16:41 +00:00
width: 350px;
height: 420px;
position: relative;
left: 0;
top:40px;
margin-left: -40px;
margin-right: -40px;
z-index: 1;
border-radius: 16px !important;
overflow: hidden;
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene.flipped{
2016-06-15 14:16:41 +00:00
z-index: 2;
border-radius: 12px !important;
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene.flipped>div:not(.menu){
2016-06-15 14:16:41 +00:00
display: none;
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene:not(.flipped)>.menu{
2016-06-15 14:16:41 +00:00
display: none;
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene:first-child{
2016-06-15 14:16:41 +00:00
margin-left: 50px;
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene:last-child{
2016-06-15 14:16:41 +00:00
margin-right: 50px;
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene>.name{
2016-06-15 14:16:41 +00:00
font-size: 48px;
right: 25px;
left: auto;
top: auto;
bottom: 28px;
transform: rotateY(-180deg);
border-radius: 16px !important;
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene>.menu{
2016-06-15 14:16:41 +00:00
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
box-shadow: none;
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene>.avatar{
2016-06-15 14:16:41 +00:00
width: calc(100% - 26px);
height: calc(100% - 26px);
left: 13px;
top: 13px;
transform: rotateY(-180deg);
}
2016-06-16 15:34:00 +00:00
.storyscene>.player.scene.startscene{
2016-06-15 14:16:41 +00:00
-webkit-animation: scene_start 0.5s;
}
2016-06-17 15:44:19 +00:00
.player.scene>.menu>.menubutton.enter{
position: absolute;
top:auto;
bottom: 10px;
width: 70px;
left: calc(50% - 35px);
}
2016-06-15 14:16:41 +00:00
@-webkit-keyframes scene_start{
from{
opacity: 0;
transform:scale(0.5);
margin-left: -175px;
margin-right: -175px;
}
to{
opacity: 1;
transform: scale(1);
margin-left: 16px;
margin-right: 16px;
}
}