131 lines
1.9 KiB
CSS
131 lines
1.9 KiB
CSS
html,body{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
body{
|
|
margin:0;
|
|
background: #ddd;
|
|
}
|
|
|
|
.no_select{
|
|
-webkit-user-select: none; /* Safari 3.1+ */
|
|
-moz-user-select: none; /* Firefox 2+ */
|
|
-ms-user-select: none; /* IE 10+ */
|
|
user-select: none; /* Standard syntax */
|
|
}
|
|
|
|
#game_container{
|
|
|
|
position: absolute;
|
|
top:0; left:0; bottom:0; right:0;
|
|
margin: auto;
|
|
|
|
width: 360px;
|
|
height: 600px;
|
|
background: #ccc;
|
|
|
|
font-size: 20px;
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
font-weight: 100;
|
|
line-height: 1.3em;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
#game_words{
|
|
width: auto;
|
|
position: relative;
|
|
top: 80px;
|
|
}
|
|
|
|
.human-bubble {
|
|
position: relative;
|
|
background: #ffffff;
|
|
color: #000000;
|
|
border-radius: .4em;
|
|
padding: 15px;
|
|
margin: 10px 30px;
|
|
|
|
opacity: 0;
|
|
left: -15px;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
.human-bubble:after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
border: 15px solid transparent;
|
|
border-right-color: #ffffff;
|
|
border-left: 0;
|
|
margin-top: -15px;
|
|
margin-left: -15px;
|
|
}
|
|
|
|
.wolf-bubble {
|
|
position: relative;
|
|
background: #000000;
|
|
color: #ffffff;
|
|
border-radius: .4em;
|
|
padding: 15px;
|
|
margin: 10px 30px;
|
|
|
|
opacity: 0;
|
|
left: 15px;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
.wolf-bubble:after {
|
|
content: '';
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
border: 15px solid transparent;
|
|
border-left-color: #000000;
|
|
border-right: 0;
|
|
margin-top: -15px;
|
|
margin-right: -15px;
|
|
}
|
|
|
|
#game_choices{
|
|
|
|
width: 100%;
|
|
height: 110px;
|
|
padding: 20px 0;
|
|
|
|
position: absolute;
|
|
bottom:0;
|
|
|
|
background: #666;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-weight: normal;
|
|
|
|
}
|
|
#game_choices > div{
|
|
margin-bottom:0.5em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/***********************************/
|
|
/***********************************/
|
|
/***********************************/
|
|
|
|
canvas{
|
|
border: none;
|
|
}
|
|
#game_canvas{
|
|
position: absolute;
|
|
top:0; left:0;
|
|
}
|
|
|
|
#game_hp{
|
|
position: absolute;
|
|
width: 360px;
|
|
height: 100px;
|
|
top:0; left:0;
|
|
}
|