508 lines
7.7 KiB
CSS
508 lines
7.7 KiB
CSS
* {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
padding:0;
|
|
margin:0;
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
}
|
|
|
|
#HIGHSCORE {
|
|
position:absolute;
|
|
left:50%;
|
|
width:250px;
|
|
overflow: visible;
|
|
margin-left: -175px;
|
|
font-family: Exo;
|
|
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Exo;
|
|
src:url("/fonts/Exo2-Regular.otf") format("opentype");
|
|
}
|
|
|
|
.tweet {
|
|
font-size:2rem;
|
|
color:#4099FF;
|
|
}
|
|
@media only screen
|
|
and (min-device-width : 320px)
|
|
and (max-device-width : 480px) {
|
|
.tweet{
|
|
font-size:1rem;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color:#232323;
|
|
}
|
|
|
|
.twitter-share-button { width: 90px !important; }
|
|
|
|
.navbar {
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
/*background-color: #34495e;*/
|
|
padding: 2.5vmin 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.navbar li {
|
|
display: inline-block;
|
|
text-align: center;
|
|
width: calc( 33% - 1.25vmin );
|
|
/*pointer-events: none;*/
|
|
}
|
|
|
|
#title {
|
|
color: #ecf0f1;
|
|
font-size: 6vmin;
|
|
}
|
|
|
|
#score {
|
|
font-size: 4vmin;
|
|
text-align: center;
|
|
width: 30%;
|
|
}
|
|
|
|
#highscores {
|
|
text-align: center;
|
|
list-style: none;
|
|
}
|
|
|
|
.not-visible {
|
|
display: none;
|
|
}
|
|
|
|
button {
|
|
color: #ecf0f1;
|
|
background-color: rgba(0,0,0,0);
|
|
border: 0;
|
|
}
|
|
|
|
button:focus {
|
|
outline: 0;
|
|
}
|
|
|
|
#openSideBar {
|
|
position: fixed;
|
|
margin-top: 6px;
|
|
width:72px;
|
|
height:72px;
|
|
margin-left: 11px;
|
|
z-index: 3003;
|
|
color:#232323;
|
|
cursor:pointer;
|
|
top:0;
|
|
left:0;
|
|
|
|
}
|
|
|
|
|
|
#pauseBtn {
|
|
display:none;
|
|
position: fixed;
|
|
margin-bottom: 7px;
|
|
width:72px;
|
|
height:72px;
|
|
margin-right: 11px;
|
|
z-index: 3000;
|
|
color:#232323;
|
|
cursor:pointer;
|
|
right:0;
|
|
bottom:0;
|
|
z-index:99;
|
|
}
|
|
|
|
#restartBtn {
|
|
display:none;
|
|
position: fixed;
|
|
margin-bottom: 7px;
|
|
width:72px;
|
|
height:72px;
|
|
margin-left: 11px;
|
|
z-index: 3000;
|
|
color:#232323;
|
|
cursor:pointer;
|
|
bottom:0;
|
|
z-index:99;
|
|
}
|
|
#startBtn {
|
|
position:absolute;
|
|
left:40%;
|
|
top:38%;
|
|
height:25%;
|
|
width:25%;
|
|
z-index:99999999;
|
|
cursor:pointer;
|
|
}
|
|
|
|
#helpScreen {
|
|
height:100%;
|
|
width:100%;
|
|
z-index:3001;
|
|
position:fixed;
|
|
top:0;
|
|
margin:0;
|
|
font-size:15px;
|
|
text-align:center;
|
|
display:none;
|
|
color:#232323;
|
|
background-color:rgba(236,240,241,1);
|
|
}
|
|
|
|
#colorBlindBtn {
|
|
position:absolute;
|
|
width:120px;
|
|
height:20px;
|
|
z-index:9999;
|
|
left: 47%;
|
|
top:65%;
|
|
font-size:15px;
|
|
text-align:center;
|
|
color:#232323;
|
|
cursor:pointer;
|
|
}
|
|
|
|
|
|
.instructions_body {
|
|
padding: 15px;
|
|
font-size: 1em;
|
|
text-align: left;
|
|
max-width: 310px;
|
|
margin-top:70px;
|
|
}
|
|
|
|
.instructions_body > a {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#inst_main_body > hr {
|
|
width:100%;
|
|
color: #232323;
|
|
background-color: #232323;
|
|
height: 1px;
|
|
border: 0;
|
|
/*margin-left: 10%;*/
|
|
}
|
|
|
|
#inst_main_body > p {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#instructions_head {
|
|
text-align: center;
|
|
font-size: 1.3em;
|
|
padding-bottom: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
@media only screen and (min-device-width : 320px)
|
|
and (max-device-width : 480px) {
|
|
#helpScreen {
|
|
position:fixed;
|
|
top:2px;
|
|
padding-top:20px;
|
|
margin:0;
|
|
width:100%;
|
|
height:100%;
|
|
font-size:13px;
|
|
text-align:center;
|
|
background-color:rgba(255,255,255,1);
|
|
}
|
|
#inst_main_body{
|
|
width:70% !important;
|
|
padding-left:15% !important;
|
|
margin-left:0;
|
|
}
|
|
|
|
#instructions_head {
|
|
padding-left:0%;
|
|
}
|
|
#openSideBar{
|
|
width:60px;
|
|
height:60px;
|
|
}
|
|
#pauseBtn {
|
|
width:60px;
|
|
height:60px;
|
|
}
|
|
#restartBtn {
|
|
width:60px;
|
|
height:60px;
|
|
}
|
|
}
|
|
|
|
.overlay {
|
|
position:absolute;
|
|
height:20%;
|
|
width:100%;
|
|
left:50%;
|
|
top:50%;
|
|
margin-left:-50%;
|
|
margin-top:-10%;
|
|
z-index:3000;
|
|
color:#232323;
|
|
text-align:center;
|
|
}
|
|
|
|
.helpText {
|
|
z-index:3001;
|
|
}
|
|
|
|
.centeredHeader {
|
|
font-size:5vw;
|
|
text-align:center;
|
|
line-height:4rem;
|
|
}
|
|
|
|
.centeredSubHeader {
|
|
font-size:2.2rem;
|
|
line-height:1em;
|
|
text-align:center;
|
|
}
|
|
|
|
.centeredSubSubHeader {
|
|
font-size:1.4rem;
|
|
text-align:center;
|
|
}
|
|
#attributions {
|
|
color:#232323;
|
|
position:absolute;
|
|
width:100%;
|
|
left: 0%;
|
|
text-align:center;
|
|
font-size:1.2rem;
|
|
z-index:98;
|
|
}
|
|
|
|
@media only screen and (orientation:landscape) {
|
|
#attributions {
|
|
top: calc(50vh + 11vh + 40px);
|
|
}
|
|
}
|
|
|
|
@media only screen and (orientation:portrait) {
|
|
#attributions {
|
|
top: calc(50vh + 11vw + 40px);
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-device-width : 320px) and (max-device-width : 600px) {
|
|
.centeredHeader {
|
|
font-size:2rem;
|
|
text-align:center;
|
|
line-height:0.6rem;
|
|
}
|
|
|
|
#attributions {
|
|
font-size:1.2rem;
|
|
}
|
|
|
|
.centeredSubHeader {
|
|
font-size:1rem;
|
|
text-align:center;
|
|
}
|
|
|
|
.overlay {
|
|
margin-top: -20%;
|
|
}
|
|
}
|
|
.blur {
|
|
opacity:0.1;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('Roboto Regular'), local('Roboto-Regular'), url("fonts/roboto.woff") format('woff');
|
|
}
|
|
@font-face {
|
|
font-family: 'ico on';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('icomoon Regular'), url("fonts/icomoon.ttf"), format('ttf');
|
|
}
|
|
@font-face {
|
|
font-family: 'Q';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('Q Regular'), local('Q-Regular'), url("fonts/QuattrocentoSans-Regular.ttf") format('ttf');
|
|
}
|
|
|
|
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
color: #ecf0f1;
|
|
font-family: 'Roboto', sans-serif;
|
|
background-color:#ecf0f1;
|
|
}
|
|
|
|
#clickToExit {
|
|
cursor:pointer;
|
|
}
|
|
|
|
#canvas {
|
|
transition: all 0.5s ease;
|
|
position: absolute;
|
|
left:0;
|
|
right:0;
|
|
height:100%;
|
|
width:100%;
|
|
background-color:#ecf0f1;
|
|
z-index:0;
|
|
}
|
|
#title {
|
|
z-index:99;
|
|
margin-top:20px;
|
|
color:#2c3e50;
|
|
}
|
|
|
|
#gameoverscreen {
|
|
/*display:none;*/
|
|
}
|
|
#container {
|
|
display:none
|
|
}
|
|
#restart{
|
|
display:none;
|
|
cursor: pointer;
|
|
cursor: pointer !important;
|
|
}
|
|
#socialShare{
|
|
display:none;
|
|
}
|
|
#buttonCont{
|
|
display block !important;
|
|
|
|
}
|
|
|
|
|
|
.unselectable {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
#afterhr {
|
|
margin: 0;
|
|
padding: 0;
|
|
margin-bottom: -10px;
|
|
padding-bottom: -10px;
|
|
}
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Exo;
|
|
font-weight: light;
|
|
src:url("/style/fonts/Exo2-ExtraLight.otf") format("opentype");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Exo;
|
|
src:url("/style/fonts/Exo2-Regular.otf") format("opentype");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Exo;
|
|
font-weight: bold;
|
|
src:url("/style/fonts/Exo2-SemiBold.otf") format("opentype");
|
|
}
|
|
|
|
#container {
|
|
color: #232323;
|
|
position: absolute;
|
|
left:50%;
|
|
top:50%;
|
|
text-align: center;
|
|
transform: translate(-50%, -50%);
|
|
font-family: Exo;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
-moz-transform: translate(-50%, -50%);
|
|
-ms-transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.GOTitle {
|
|
font-weight: bold;
|
|
font-size: 24.2000px;
|
|
}
|
|
|
|
#gameOverBox {
|
|
|
|
}
|
|
|
|
.scoreNum {
|
|
font-weight: normal ! important;
|
|
}
|
|
|
|
#cScore {
|
|
font-size: 60.5000px;
|
|
font-weight:light;
|
|
margin-bottom: 5px;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
#highScoresTitle {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.score {
|
|
font-weight: light;
|
|
line-height: 18px;
|
|
}
|
|
|
|
#restart {
|
|
bottom:0;
|
|
position: absolute;
|
|
left:calc(50% - 124px);
|
|
transform: translate(-50%, 0%);
|
|
-webkit-transform: translate(-50%, 0%);
|
|
-moz-transform: translate(-50%, 0%);
|
|
-ms-transform: translate(-50%, 0%);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#socialShare {
|
|
bottom: 0;
|
|
margin-bottom: 10px;
|
|
position: absolute;
|
|
left:calc(50% + 30px);
|
|
transform: translate(-50%, 0%);
|
|
-webkit-transform: translate(-50%, 0%);
|
|
-moz-transform: translate(-50%, 0%);
|
|
-ms-transform: translate(-50%, 0%);
|
|
}
|
|
|
|
#bottomContainer {
|
|
position: absolute;
|
|
width:100%;
|
|
bottom: 0;
|
|
}
|
|
|
|
#buttonCont {
|
|
position: absolute;
|
|
/*width:100%;*/
|
|
left: 50%;
|
|
width: 310px;
|
|
margin-left:-8px;
|
|
bottom:78px;
|
|
transform: translate(-50%, 0%);
|
|
-webkit-transform: translate(-50%, 0%);
|
|
-moz-transform: translate(-50%, 0%);
|
|
-ms-transform: translate(-50%, 0%);
|
|
/*width:300px;*/
|
|
}
|
|
|