hextris/style/style.css

279 lines
4.2 KiB
CSS
Raw Normal View History

2014-06-21 20:58:18 +00:00
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
2014-07-21 02:36:45 +00:00
padding:0;
margin:0;
2014-06-21 20:58:18 +00:00
}
2014-07-21 02:39:28 +00:00
.twitter-share-button { width: 80px !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;
2014-05-31 15:13:40 +00:00
width: 30%;
}
2014-05-23 05:10:12 +00:00
#highscores {
text-align: center;
list-style: none;
}
2014-05-23 05:10:12 +00:00
.not-visible {
display: none;
}
button {
color: #ecf0f1;
background-color: rgba(0,0,0,0);
border: 0;
}
button:focus {
outline: 0;
2014-05-27 01:05:58 +00:00
}
2014-05-27 01:05:58 +00:00
#openSideBar {
position: absolute;
2014-07-04 20:42:55 +00:00
top: 2px;
left: 4px;
z-index: 3000;
color:#000;
cursor:pointer;
}
2014-07-16 04:06:23 +00:00
#pauseBtn {
2014-05-27 01:05:58 +00:00
position: absolute;
margin-bottom: 3px;
margin-right: 7px;
2014-05-31 15:13:40 +00:00
z-index: 3000;
2014-05-27 01:05:58 +00:00
color:#000;
cursor:pointer;
2014-07-04 20:42:55 +00:00
position:absolute;
right:0;
bottom:0;
z-index:99;
2014-06-30 16:29:26 +00:00
}
2014-07-04 20:42:55 +00:00
2014-06-30 16:29:26 +00:00
#restartBtn {
2014-07-04 20:42:55 +00:00
position:absolute;
left:0;
bottom:0;
z-index:99;
2014-06-30 16:29:26 +00:00
position: absolute;
margin-bottom: 3px;
margin-left: 7px;
2014-07-04 20:42:55 +00:00
z-index:99;
2014-06-30 16:29:26 +00:00
color:#000;
cursor:pointer;
2014-05-27 01:05:58 +00:00
}
2014-07-04 20:42:55 +00:00
2014-05-27 01:05:58 +00:00
#helpScreen {
height:480px;
width:320px;
z-index:3001;
position:fixed;
top:18px;
margin:0;
2014-07-05 02:23:19 +00:00
font-size:15px;
text-align:center;
2014-05-27 01:05:58 +00:00
display:none;
color:#000;
background-color:rgba(236,240,241,.7);
2014-05-27 01:05:58 +00:00
}
2014-07-04 20:42:55 +00:00
.instructions_body {
margin-left:3px;
width:calc(100% - 12px) ! important;
2014-07-04 20:42:55 +00:00
}
@media only screen and (min-device-width : 320px)
2014-07-04 18:58:33 +00:00
and (max-device-width : 480px) {
2014-07-04 20:42:55 +00:00
#helpScreen {
position:fixed;
top:2px;
padding-top:20px;
margin:0;
width:100%;
height:100%;
2014-07-05 02:23:19 +00:00
font-size:13px;
2014-07-04 20:42:55 +00:00
text-align:center;
background-color:rgba(255,255,255,0.9);
}
.instructions_body {
/*margin-top:20px;*/
margin-left:3px;
width:calc(100% - 12px) ! important;
2014-07-04 20:42:55 +00:00
}
2014-07-04 18:58:33 +00:00
}
2014-07-04 20:42:55 +00:00
#overlay {
position:absolute;
height:20%;
2014-06-22 15:16:00 +00:00
width:100%;
left:50%;
2014-06-22 15:16:00 +00:00
top:50%;
margin-left:-50%;
2014-06-21 20:06:23 +00:00
margin-top:-10%;
z-index:3000;
color:#000;
text-align:center;
}
.helpText {
z-index:3001;
}
.faded {
opacity:0;
}
2014-07-02 15:10:36 +00:00
.unfaded {
opacity:1;
}
.centeredHeader {
2014-06-22 15:16:00 +00:00
font-size:5em;
text-align:center;
2014-06-22 15:16:00 +00:00
line-height:1em;
}
2014-07-04 20:42:55 +00:00
2014-06-22 15:26:47 +00:00
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
2014-07-04 20:42:55 +00:00
.centeredHeader {
font-size:2em;
text-align:center;
line-height:0.6em;
}
.centeredSubHeader {
font-size:1em;
text-align:center;
}
.centeredSubSubHeader {
font-size:.7em;
text-align:center;
}
2014-07-04 20:42:55 +00:00
#overlay {
margin-top: -20%;
}
2014-06-22 15:26:47 +00:00
}
.centeredSubHeader {
2014-06-22 15:16:00 +00:00
font-size:2em;
text-align:center;
}
.centeredSubSubHeader {
font-size:1.4em;
text-align:center;
}
.blur {
2014-06-21 20:58:18 +00:00
opacity:0.1;
2014-05-31 15:13:40 +00:00
}
@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: '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:3;
}
#title {
z-index:99;
margin-top:20px;
color:#2c3e50;
2014-05-31 23:37:23 +00:00
}
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
2014-07-21 01:47:08 +00:00
#bottombar {
padding:0;
position:absolute;
2014-07-21 02:36:45 +00:00
width:60%;
2014-07-21 01:47:08 +00:00
text-align:center;
2014-07-21 02:36:45 +00:00
left:20%;
2014-07-21 01:47:08 +00:00
bottom:10px;
z-index:400000;
}
2014-07-21 02:36:45 +00:00
#attributions {
color:#000;
position:absolute;
width:50%;
left: 25%;
top: 70%;
text-align:center;
font-size:3vmin;
z-index:400000;
}