|
|
@ -3,6 +3,9 @@ html, body { |
|
|
|
padding: 0; |
|
|
|
|
|
|
|
--brand-color: rgb(252, 98, 0); |
|
|
|
--background-color: rgb(0,0,0); |
|
|
|
--text-color: #e8e8e8; |
|
|
|
--default-margin: 30px; |
|
|
|
} |
|
|
|
|
|
|
|
body { |
|
|
@ -10,8 +13,10 @@ body { |
|
|
|
top: 0; right: 0; bottom: 0; left: 0; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
background-color: #1a1a1a; |
|
|
|
color: #e8e8e8; |
|
|
|
padding: var(--default-margin) 0; |
|
|
|
background-color: var(--background-color); |
|
|
|
color: var(--text-color); |
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; |
|
|
|
} |
|
|
|
|
|
|
|
a, a:visited { |
|
|
@ -19,125 +24,127 @@ a, a:visited { |
|
|
|
} |
|
|
|
|
|
|
|
.container { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
height: 100%; |
|
|
|
justify-content: center; |
|
|
|
max-width: 1280px; |
|
|
|
max-width: 960px; |
|
|
|
margin: 0 auto; |
|
|
|
background-color: #000000; |
|
|
|
color: #e8e8e8; |
|
|
|
|
|
|
|
.text-center { |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
|
|
|
|
.margin-block { |
|
|
|
display: block; |
|
|
|
position: relative; |
|
|
|
width: 100%; |
|
|
|
margin: 2em 0; |
|
|
|
} |
|
|
|
background-color: var(--background-color); |
|
|
|
color: var(--text-color); |
|
|
|
} |
|
|
|
|
|
|
|
.game-title { |
|
|
|
font-size: 2.5em; |
|
|
|
font-weight: bold; |
|
|
|
color: var(--brand-color); |
|
|
|
} |
|
|
|
.text-center { |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
|
|
|
|
.margin-block { |
|
|
|
display: block; |
|
|
|
position: relative; |
|
|
|
width: 100%; |
|
|
|
margin: var(--default-margin) 0; |
|
|
|
} |
|
|
|
|
|
|
|
.game-title { |
|
|
|
font-size: 2.25em; |
|
|
|
font-weight: bold; |
|
|
|
color: var(--brand-color); |
|
|
|
} |
|
|
|
|
|
|
|
.game-subtitle { |
|
|
|
margin: 8px 0; |
|
|
|
color: var(--brand-color); |
|
|
|
font-style: italic; |
|
|
|
} |
|
|
|
.game-subtitle { |
|
|
|
margin: 8px 0; |
|
|
|
color: var(--brand-color); |
|
|
|
font-style: italic; |
|
|
|
} |
|
|
|
|
|
|
|
.game-display-wrapper { |
|
|
|
.game-display-wrapper { |
|
|
|
position: relative; |
|
|
|
width: 100%; |
|
|
|
max-width: 960px; |
|
|
|
margin: 0 auto; |
|
|
|
|
|
|
|
canvas.game-display { |
|
|
|
display: block; |
|
|
|
position: relative; |
|
|
|
box-sizing: border-box; |
|
|
|
width: 100%; |
|
|
|
max-width: 960px; |
|
|
|
margin: 0 auto; |
|
|
|
|
|
|
|
canvas.game-display { |
|
|
|
display: block; |
|
|
|
position: relative; |
|
|
|
box-sizing: border-box; |
|
|
|
width: 100%; |
|
|
|
max-width: 960px; |
|
|
|
margin: 0 auto; |
|
|
|
height: auto; |
|
|
|
border: solid 1px #4a4a4a; |
|
|
|
border-radius: 8px; |
|
|
|
} |
|
|
|
|
|
|
|
button.start-button { |
|
|
|
position: absolute; |
|
|
|
left: calc(50% - 120px); |
|
|
|
top: calc(50% - 32px); |
|
|
|
width: 240px; |
|
|
|
height: 64px; |
|
|
|
padding: 10px 20px; |
|
|
|
background-color: var(--brand-color); |
|
|
|
color: white; |
|
|
|
border: solid 3px white; |
|
|
|
border-radius: 8px; |
|
|
|
font-size: 24px; |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
button { |
|
|
|
border: solid 3px; |
|
|
|
border-color: rgba(255,255,255, 0); |
|
|
|
height: auto; |
|
|
|
border: solid 1px #4a4a4a; |
|
|
|
border-radius: 8px; |
|
|
|
width: 80px; |
|
|
|
height: 80px; |
|
|
|
|
|
|
|
-webkit-user-select: none; |
|
|
|
-webkit-touch-callout: none; |
|
|
|
-moz-user-select: none; |
|
|
|
-ms-user-select: none; |
|
|
|
user-select: none; |
|
|
|
} |
|
|
|
|
|
|
|
button.direction-button { |
|
|
|
background: rgba(0,0,0, 0.6); |
|
|
|
button.start-button { |
|
|
|
position: absolute; |
|
|
|
left: calc(50% - 120px); |
|
|
|
top: calc(50% - 32px); |
|
|
|
width: 240px; |
|
|
|
height: 64px; |
|
|
|
padding: 10px 20px; |
|
|
|
background-color: var(--brand-color); |
|
|
|
color: white; |
|
|
|
font-size: 4em; |
|
|
|
border: solid 3px white; |
|
|
|
border-radius: 8px; |
|
|
|
font-size: 24px; |
|
|
|
font-weight: bold; |
|
|
|
font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol; |
|
|
|
} |
|
|
|
|
|
|
|
button.action-button { |
|
|
|
background: rgba(255,0,0, 0.6); |
|
|
|
color: white; |
|
|
|
font-size: 3em; |
|
|
|
font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol; |
|
|
|
} |
|
|
|
|
|
|
|
button.action-button.active, |
|
|
|
button.direction-button.active { |
|
|
|
border-color: white; |
|
|
|
} |
|
|
|
|
|
|
|
button.direction-button#btn-move-left { |
|
|
|
position: absolute; |
|
|
|
bottom: 20px; |
|
|
|
left: 20px; |
|
|
|
} |
|
|
|
|
|
|
|
button.direction-button#btn-move-right { |
|
|
|
position: absolute; |
|
|
|
bottom: 20px; |
|
|
|
right: 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
button.action-button#btn-throw-egg { |
|
|
|
position: absolute; |
|
|
|
bottom: 120px; |
|
|
|
right: 20px; |
|
|
|
button { |
|
|
|
border: solid 3px; |
|
|
|
border-color: rgba(255,255,255, 0); |
|
|
|
border-radius: 8px; |
|
|
|
width: 80px; |
|
|
|
height: 80px; |
|
|
|
|
|
|
|
-webkit-user-select: none; |
|
|
|
-webkit-touch-callout: none; |
|
|
|
-moz-user-select: none; |
|
|
|
-ms-user-select: none; |
|
|
|
user-select: none; |
|
|
|
} |
|
|
|
|
|
|
|
button.direction-button { |
|
|
|
display: block; |
|
|
|
background: rgba(0,0,0, 0.6); |
|
|
|
color: white; |
|
|
|
font-size: 4em; |
|
|
|
font-weight: bold; |
|
|
|
font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol; |
|
|
|
|
|
|
|
img.button-icon { |
|
|
|
display: block; |
|
|
|
height: 0.8em; |
|
|
|
margin: 0 auto; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
button.action-button { |
|
|
|
background: rgba(255,0,0, 0.6); |
|
|
|
color: white; |
|
|
|
font-size: 3em; |
|
|
|
font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol; |
|
|
|
} |
|
|
|
|
|
|
|
button.action-button.active, |
|
|
|
button.direction-button.active { |
|
|
|
border-color: white; |
|
|
|
} |
|
|
|
|
|
|
|
button.direction-button#btn-move-left { |
|
|
|
position: absolute; |
|
|
|
bottom: 20px; |
|
|
|
left: 20px; |
|
|
|
} |
|
|
|
|
|
|
|
button.direction-button#btn-move-right { |
|
|
|
position: absolute; |
|
|
|
bottom: 20px; |
|
|
|
right: 20px; |
|
|
|
} |
|
|
|
|
|
|
|
button.action-button#btn-throw-egg { |
|
|
|
position: absolute; |
|
|
|
bottom: 120px; |
|
|
|
right: 20px; |
|
|
|
} |
|
|
|
|
|
|
|
@media only screen and (max-width: 480px) { |
|
|
|
.container .game-display-wrapper button.start-button { |
|
|
@ -169,4 +176,29 @@ a, a:visited { |
|
|
|
.container button.action-button#btn-throw-egg { |
|
|
|
bottom: 80px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.page-footer { |
|
|
|
display: flex; |
|
|
|
|
|
|
|
.game-data { |
|
|
|
flex-grow: 1; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.brand-link { |
|
|
|
display: block; |
|
|
|
width: 240px; |
|
|
|
|
|
|
|
img.brand-header { |
|
|
|
display: block; |
|
|
|
width: 100%; |
|
|
|
max-width: 960px; |
|
|
|
height: auto; |
|
|
|
margin: 0 auto; |
|
|
|
} |
|
|
|
|
|
|
|
.brand-prompt { |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
} |