377 lines
6.4 KiB
CSS
377 lines
6.4 KiB
CSS
html,body{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
body{
|
|
margin:0;
|
|
background: #000;
|
|
}
|
|
|
|
#game_words, #game_choices, #paused{
|
|
-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: #2E2E2E;
|
|
|
|
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;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#paused, #loading{
|
|
display: none;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
background: rgba(40,40,40,0.9);
|
|
color: #fff;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
#paused > div, #loading > div{
|
|
position: absolute;
|
|
margin: auto;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 260px;
|
|
height: 70px;
|
|
font-size: 69px;
|
|
}
|
|
#paused > div > div{
|
|
font-size: 20px;
|
|
font-weight: lighter;
|
|
line-height: 1em;
|
|
width: 220px;
|
|
margin: 15px auto;
|
|
}
|
|
|
|
#loading{
|
|
display:block;
|
|
background: #333;
|
|
cursor: pointer;
|
|
}
|
|
#loading:hover{
|
|
background: #444;
|
|
}
|
|
#loading > div{
|
|
height: 50px;
|
|
font-size: 30px;
|
|
}
|
|
|
|
#end_demo{
|
|
position: absolute;
|
|
top:0; left:0;
|
|
background: #2E2E2E;
|
|
width: 100%;
|
|
height: 100%;
|
|
color:#fff;
|
|
text-align: center;
|
|
}
|
|
#end_demo_tbc{
|
|
background: url(../sprites/end_demo/tbc.png);
|
|
background-size: 100%;
|
|
width: 100%;
|
|
height: 100px;
|
|
}
|
|
#end_demo_words{
|
|
width: 310px;
|
|
margin: 0 auto;
|
|
font-size: 18px;
|
|
line-height: 1.3em;
|
|
}
|
|
#end_demo_words a{
|
|
color: #ff4040;
|
|
font-weight: normal;
|
|
}
|
|
#end_demo_words a:hover{
|
|
color: #ff8080;
|
|
}
|
|
#patreon{
|
|
width:200px; height:60px;
|
|
background: url(../sprites/end_demo/patreon.png);
|
|
background-size: 100%;
|
|
margin: 5px auto 15px auto;
|
|
}
|
|
|
|
#options{
|
|
position: absolute;
|
|
bottom: 0px;
|
|
}
|
|
#text_speed_preview{
|
|
color:#fff;
|
|
}
|
|
|
|
/*
|
|
Slider CSS by Noah Blon
|
|
https://codepen.io/noahblon/pen/OyajvN
|
|
*/
|
|
input[type="range"]{
|
|
margin: auto;
|
|
-webkit-appearance: none;
|
|
position: relative;
|
|
overflow: hidden;
|
|
/*height: 40px;
|
|
width: 200px;*/
|
|
cursor: pointer;
|
|
border-radius: 0; /* iOS */
|
|
|
|
width: 300px;
|
|
height: 30px;
|
|
}
|
|
::-webkit-slider-runnable-track{
|
|
background: #ddd;
|
|
}
|
|
::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
width: 30px; /* 1 */
|
|
height: 30px;
|
|
background: #fff;
|
|
box-shadow: -100vw 0 0 100vw #ff4040;
|
|
border: 2px solid #999; /* 1 */
|
|
}
|
|
::-moz-range-track {
|
|
height: 30px;
|
|
background: #ddd;
|
|
}
|
|
::-moz-range-thumb {
|
|
background: #fff;
|
|
height: 30px;
|
|
width: 30px;
|
|
border: 3px solid #999;
|
|
border-radius: 0 !important;
|
|
box-shadow: -100vw 0 0 100vw #ff4040;
|
|
box-sizing: border-box;
|
|
}
|
|
::-ms-fill-lower {
|
|
background: #ff4040;
|
|
}
|
|
::-ms-thumb {
|
|
background: #fff;
|
|
border: 2px solid #999;
|
|
height: 30px;
|
|
width: 30px;
|
|
box-sizing: border-box;
|
|
}
|
|
::-ms-ticks-after {
|
|
display: none;
|
|
}
|
|
::-ms-ticks-before {
|
|
display: none;
|
|
}
|
|
::-ms-track {
|
|
background: #ddd;
|
|
color: transparent;
|
|
height: 30px;
|
|
border: none;
|
|
}
|
|
::-ms-tooltip {
|
|
display: none;
|
|
}
|
|
|
|
|
|
|
|
/***************************************************
|
|
|
|
DIALOGUEZ
|
|
|
|
***************************************************/
|
|
|
|
|
|
.clear-both{
|
|
clear:both;
|
|
}
|
|
|
|
.narrator-bubble, .narrator-bubble-2{
|
|
position: relative;
|
|
color: #FFFFFF;
|
|
text-align: center;
|
|
padding: 0 10px;
|
|
font-size: 1.3em;
|
|
margin: 25px 15px;
|
|
font-weight: bold;
|
|
}
|
|
.narrator-bubble:before, .narrator-bubble-2:before{
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
top: -9px;
|
|
left: 0;
|
|
|
|
border: 6px solid #fff;
|
|
border-right: 0;
|
|
|
|
width: 10px;
|
|
height: calc(100% + 4px);
|
|
|
|
}
|
|
.narrator-bubble:after, .narrator-bubble-2:after{
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
top: -9px;
|
|
right: 0;
|
|
|
|
border: 6px solid #fff;
|
|
border-left: 0;
|
|
|
|
width: 10px;
|
|
height: calc(100% + 4px);
|
|
|
|
}
|
|
.narrator-bubble i, .narrator-bubble-2 i{
|
|
font-style: normal;
|
|
color: #ff4040;
|
|
}
|
|
.narrator-bubble-2{
|
|
color: #000;
|
|
}
|
|
.narrator-bubble-2:before, .narrator-bubble-2:after{
|
|
border-color: #000;
|
|
}
|
|
|
|
.hong-bubble {
|
|
position: relative;
|
|
background: #ffffff;
|
|
color: #000000;
|
|
border-radius: .4em;
|
|
padding: 15px;
|
|
margin: 5px 30px;
|
|
|
|
opacity: 0;
|
|
left: -15px;
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
display: inline-block;
|
|
float: left;
|
|
|
|
}
|
|
.hong-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;
|
|
}
|
|
|
|
.beebee-bubble {
|
|
position: relative;
|
|
background: #000000;
|
|
color: #ffffff;
|
|
border-radius: .4em;
|
|
padding: 15px;
|
|
margin: 5px 30px;
|
|
|
|
opacity: 0;
|
|
left: 15px;
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
display: inline-block;
|
|
float: right;
|
|
|
|
}
|
|
.beebee-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: #2E2E2E;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-weight: lighter;
|
|
|
|
}
|
|
#game_choices > div{
|
|
padding: 0.25em 0;
|
|
cursor: pointer;
|
|
position: relative;
|
|
|
|
/* Spring OUT only */
|
|
-webkit-transition: top 500ms cubic-bezier(0.350, 0.005, 0.370, 1); /* older webkit */
|
|
-webkit-transition: top 500ms cubic-bezier(0.350, 0.005, 0.370, 1.390);
|
|
-moz-transition: top 500ms cubic-bezier(0.350, 0.005, 0.370, 1.390);
|
|
-o-transition: top 500ms cubic-bezier(0.350, 0.005, 0.370, 1.390);
|
|
transition: top 500ms cubic-bezier(0.350, 0.005, 0.370, 1.390); /* custom */
|
|
|
|
-webkit-transition-timing-function: cubic-bezier(0.350, 0.005, 0.370, 1); /* older webkit */
|
|
-webkit-transition-timing-function: cubic-bezier(0.350, 0.005, 0.370, 1.390);
|
|
-moz-transition-timing-function: cubic-bezier(0.350, 0.005, 0.370, 1.390);
|
|
-o-transition-timing-function: cubic-bezier(0.350, 0.005, 0.370, 1.390);
|
|
transition-timing-function: cubic-bezier(0.350, 0.005, 0.370, 1.390); /* custom */
|
|
}
|
|
#game_choices > div:hover{
|
|
background: rgba(255,255,255,0.25);
|
|
}
|
|
|
|
/***********************************/
|
|
/***********************************/
|
|
/***********************************/
|
|
|
|
canvas{
|
|
border: none;
|
|
}
|
|
#game_canvas{
|
|
position: absolute;
|
|
top:0; left:0;
|
|
}
|
|
|
|
#game_hp{
|
|
position: absolute;
|
|
width: 360px;
|
|
height: 100px;
|
|
top:-100px;
|
|
left:0;
|
|
transition: top 0.5s ease-in-out;
|
|
}
|