2020-05-19 16:18:12 +02:00
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
font-size: 100%;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
2020-05-17 19:29:06 +02:00
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-05-30 20:13:00 +02:00
|
|
|
button::-moz-focus-inner, input::-moz-focus-inner {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
p, h1, h2, button, a {
|
2020-05-19 16:18:12 +02:00
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
h1, h2 {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 32px;
|
|
|
|
}
|
|
|
|
|
2020-05-30 17:39:27 +02:00
|
|
|
h1>a:link, h1>a:visited {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1>a:hover, h1>a:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2, div.header.small h1 {
|
2020-05-30 15:37:26 +02:00
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p, h2 {
|
|
|
|
line-height: 150%;
|
|
|
|
}
|
|
|
|
|
2020-05-19 16:18:12 +02:00
|
|
|
p {
|
|
|
|
font-weight: 300;
|
2020-05-30 15:37:26 +02:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
2020-05-19 16:18:12 +02:00
|
|
|
}
|
|
|
|
|
2020-05-23 01:25:43 +02:00
|
|
|
.mono {
|
|
|
|
font-family: 'Roboto Mono', monospace;
|
|
|
|
}
|
|
|
|
|
2020-05-19 16:18:12 +02:00
|
|
|
.bold {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
.small {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.justify {
|
|
|
|
text-align: justify;
|
|
|
|
}
|
|
|
|
|
|
|
|
.marginTop {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.marginBottom {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg.inline {
|
|
|
|
vertical-align: -0.15em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:link, a:visited {
|
|
|
|
color: #3b5998;
|
|
|
|
font-weight: 500;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2020-05-30 17:39:27 +02:00
|
|
|
a:hover, a:focus {
|
2020-05-30 15:37:26 +02:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
button, a.button {
|
2020-05-19 16:18:12 +02:00
|
|
|
cursor: pointer;
|
2020-05-21 01:58:47 +02:00
|
|
|
font-size: 16px;
|
2020-05-19 16:18:12 +02:00
|
|
|
font-weight: 500;
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: #5e77aa;
|
2020-05-21 01:58:47 +02:00
|
|
|
padding: 0 15px;
|
|
|
|
height: 35px;
|
2020-05-19 16:18:12 +02:00
|
|
|
border: none;
|
|
|
|
border-radius: 3px;
|
2020-05-30 15:37:26 +02:00
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 35px;
|
2020-05-19 16:18:12 +02:00
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
button:enabled:hover, button:enabled:focus, a.button:hover, a.button:focus {
|
2020-05-19 16:18:12 +02:00
|
|
|
background-color: #29457f;
|
|
|
|
outline: none;
|
2020-05-30 15:37:26 +02:00
|
|
|
text-decoration: none;
|
2020-05-19 16:18:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
button:disabled {
|
2020-05-22 23:29:04 +02:00
|
|
|
cursor: not-allowed;
|
2020-05-19 16:18:12 +02:00
|
|
|
color: #dddddd;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
button.fullWidth, a.button.fullWidth {
|
2020-05-21 01:58:47 +02:00
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
button.gray, a.button.gray {
|
2020-05-21 01:58:47 +02:00
|
|
|
background-color: #808080;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
button.gray:hover, button.gray:focus, a.button.gray:hover, a.button.gray:focus {
|
2020-05-21 01:58:47 +02:00
|
|
|
background-color: #555555;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
div.header {
|
|
|
|
background-color: #333333;
|
|
|
|
height: 50px;
|
|
|
|
line-height: 50px;
|
|
|
|
padding: 0 12px;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2020-05-30 19:11:38 +02:00
|
|
|
div.header>div.grid {
|
2020-05-30 17:39:27 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.header.small {
|
|
|
|
height: 40px;
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
div.main {
|
|
|
|
padding: 6px 12px;
|
|
|
|
}
|
|
|
|
|
2020-05-21 01:58:47 +02:00
|
|
|
div.buttonContainer {
|
|
|
|
height: 35px;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
div.buttonContainer>button {
|
2020-05-23 02:07:50 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
div.mapContainer {
|
|
|
|
display: grid;
|
2020-05-21 01:58:47 +02:00
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
div.mapItem {
|
2020-05-30 19:11:38 +02:00
|
|
|
width: 350px;
|
2020-05-30 15:37:26 +02:00
|
|
|
background-color: #eeeeee;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 10px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.mapItem>div.title {
|
|
|
|
background-color: #28a745;
|
|
|
|
color: white;
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
padding: 4px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.mapItem>div.title>p.title {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2020-05-30 19:11:38 +02:00
|
|
|
div.mapItem>img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
div.mapItem>div.inner {
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.mapItem>div.inner>div.info {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.mapItem>div.inner>div.info>p:nth-child(1) {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.mapItem>div.inner>div.info>p:nth-child(2) {
|
|
|
|
text-align: right;
|
2020-05-21 01:58:47 +02:00
|
|
|
}
|
|
|
|
|
2020-05-20 15:54:09 +02:00
|
|
|
#loading {
|
|
|
|
position: absolute;
|
2020-05-24 14:02:42 +02:00
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
2020-05-20 15:54:09 +02:00
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
2020-05-24 14:02:42 +02:00
|
|
|
margin-top: -32px;
|
|
|
|
margin-left: -32px;
|
2020-05-30 20:13:00 +02:00
|
|
|
z-index: 5;
|
2020-05-20 15:54:09 +02:00
|
|
|
}
|
|
|
|
|
2020-05-23 01:25:43 +02:00
|
|
|
#roundInfo {
|
2020-05-30 17:39:27 +02:00
|
|
|
line-height: inherit;
|
|
|
|
text-align: right;
|
2020-05-23 01:25:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#roundInfo p {
|
|
|
|
font-size: 16px;
|
2020-05-30 15:37:26 +02:00
|
|
|
line-height: inherit;
|
2020-05-23 01:25:43 +02:00
|
|
|
}
|
|
|
|
|
2020-05-17 19:29:06 +02:00
|
|
|
#panorama {
|
|
|
|
width: 100%;
|
2020-05-30 17:39:27 +02:00
|
|
|
height: calc(100% - 40px);
|
2020-05-17 19:29:06 +02:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2020-05-30 20:13:00 +02:00
|
|
|
#cover {
|
|
|
|
position: absolute;
|
|
|
|
top: 40px;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
background-color: #000000;
|
|
|
|
opacity: 0.5;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
|
2020-05-17 19:29:06 +02:00
|
|
|
#guess {
|
|
|
|
position: absolute;
|
2020-05-21 15:08:03 +02:00
|
|
|
bottom: 30px;
|
2020-05-21 01:58:47 +02:00
|
|
|
right: 20px;
|
2020-05-17 19:29:06 +02:00
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2020-05-30 20:13:00 +02:00
|
|
|
#guess.result {
|
|
|
|
z-index: 4;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
#guess>#continueButtonContainer {
|
2020-05-23 02:07:50 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
#guess.result>#closeGuessButtonContainer, #guess.result>#guessButtonContainer {
|
2020-05-22 23:22:11 +02:00
|
|
|
display: none;
|
2020-05-17 19:29:06 +02:00
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
#guess.result>#continueButtonContainer {
|
2020-05-23 02:07:50 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2020-05-22 23:23:54 +02:00
|
|
|
#map {
|
2020-05-22 23:22:11 +02:00
|
|
|
width: 100%;
|
2020-05-19 16:18:12 +02:00
|
|
|
border-radius: 3px;
|
2020-05-17 19:29:06 +02:00
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
#guess.result>#map {
|
2020-05-23 02:07:50 +02:00
|
|
|
height: calc(100% - 170px);
|
2020-05-19 16:18:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#resultInfo {
|
2020-05-23 02:07:50 +02:00
|
|
|
margin-top: 5px;
|
2020-05-19 16:18:12 +02:00
|
|
|
width: 100%;
|
2020-05-30 15:37:26 +02:00
|
|
|
height: 120px;
|
2020-05-23 02:07:50 +02:00
|
|
|
padding: 5px 20px;
|
2020-05-19 16:18:12 +02:00
|
|
|
text-align: center;
|
|
|
|
box-sizing: border-box;
|
2020-05-22 23:22:11 +02:00
|
|
|
background-color: #ffffff;
|
2020-05-23 02:07:50 +02:00
|
|
|
border-radius: 3px;
|
2020-05-22 23:22:11 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
#guess.result>#resultInfo {
|
2020-05-22 23:22:11 +02:00
|
|
|
display: block;
|
2020-05-19 16:18:12 +02:00
|
|
|
}
|
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
#resultInfo>div {
|
2020-05-20 01:07:01 +02:00
|
|
|
width: 100%;
|
2020-05-30 15:37:26 +02:00
|
|
|
height: 33.33%;
|
2020-05-20 01:07:01 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-05-19 16:18:12 +02:00
|
|
|
#resultInfo p {
|
|
|
|
font-size: 24px;
|
2020-05-30 15:37:26 +02:00
|
|
|
line-height: 1;
|
2020-05-17 19:29:06 +02:00
|
|
|
}
|
2020-05-20 01:07:01 +02:00
|
|
|
|
2020-05-30 15:37:26 +02:00
|
|
|
#distanceInfo>p:nth-child(2), #scoreInfo>p:nth-child(2) {
|
2020-05-21 23:43:17 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-05-20 01:07:01 +02:00
|
|
|
#scoreBarBase {
|
2020-05-21 01:58:47 +02:00
|
|
|
height: 24px;
|
2020-05-20 01:07:01 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
background-color: #eeeeee;
|
2020-05-21 02:26:36 +02:00
|
|
|
border-radius: 3px;
|
2020-05-20 01:07:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#scoreBar {
|
2020-05-20 15:00:11 +02:00
|
|
|
width: 0;
|
2020-05-30 15:37:26 +02:00
|
|
|
height: 100%;
|
2020-05-21 01:58:47 +02:00
|
|
|
border-radius: 3px;
|
2020-05-20 01:07:01 +02:00
|
|
|
transition-property: width;
|
2020-05-20 15:54:09 +02:00
|
|
|
transition-duration: 2.0s;
|
2020-05-20 01:07:01 +02:00
|
|
|
}
|
2020-05-21 01:58:47 +02:00
|
|
|
|
2020-05-21 23:43:17 +02:00
|
|
|
#showSummaryButton, #startNewGameButton {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-05-30 19:11:38 +02:00
|
|
|
@media screen and (min-width: 1504px) {
|
2020-05-30 15:37:26 +02:00
|
|
|
div.mapContainer {
|
|
|
|
grid-template-columns: auto auto auto auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-30 19:11:38 +02:00
|
|
|
@media screen and (min-width: 1134px) and (max-width: 1503px) {
|
2020-05-30 15:37:26 +02:00
|
|
|
div.mapContainer {
|
|
|
|
grid-template-columns: auto auto auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-30 19:11:38 +02:00
|
|
|
@media screen and (min-width: 764px) and (max-width: 1133px) {
|
2020-05-30 15:37:26 +02:00
|
|
|
div.mapContainer {
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-30 19:11:38 +02:00
|
|
|
@media screen and (max-width: 763px) {
|
2020-05-30 15:37:26 +02:00
|
|
|
div.mapContainer {
|
|
|
|
grid-template-columns: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-30 19:11:38 +02:00
|
|
|
@media screen and (max-width: 374px) {
|
|
|
|
div.mapItem {
|
|
|
|
width: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-21 01:58:47 +02:00
|
|
|
@media screen and (max-width: 599px) {
|
2020-05-30 17:39:27 +02:00
|
|
|
div.header.small h1 span {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-05-21 01:58:47 +02:00
|
|
|
button {
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#showGuessButtonContainer {
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
2020-05-21 15:08:03 +02:00
|
|
|
bottom: 30px;
|
2020-05-21 01:58:47 +02:00
|
|
|
right: 20px;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
#guess {
|
2020-05-30 17:39:27 +02:00
|
|
|
top: 50px;
|
2020-05-30 20:13:00 +02:00
|
|
|
left: 20px;
|
2020-05-21 01:58:47 +02:00
|
|
|
opacity: 0.95;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2020-05-22 23:23:54 +02:00
|
|
|
#map {
|
2020-05-21 15:08:03 +02:00
|
|
|
height: calc(100% - 90px);
|
2020-05-21 01:58:47 +02:00
|
|
|
}
|
|
|
|
#scoreBarBase {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 600px) {
|
|
|
|
#showGuessButtonContainer {
|
2020-05-22 23:22:11 +02:00
|
|
|
display: none;
|
2020-05-21 01:58:47 +02:00
|
|
|
}
|
|
|
|
#guess {
|
2020-05-21 03:24:09 +02:00
|
|
|
width: 500px;
|
2020-05-21 15:08:03 +02:00
|
|
|
height: 375px;
|
2020-05-21 03:24:09 +02:00
|
|
|
opacity: 0.95;
|
|
|
|
}
|
|
|
|
#guess.adapt {
|
|
|
|
top: initial;
|
2020-05-21 01:58:47 +02:00
|
|
|
width: 250px;
|
2020-05-21 15:08:03 +02:00
|
|
|
height: 200px;
|
2020-05-21 01:58:47 +02:00
|
|
|
opacity: 0.5;
|
|
|
|
transition-property: width, height, opacity;
|
|
|
|
transition-duration: 0.1s;
|
|
|
|
transition-delay: 0.8s;
|
|
|
|
}
|
2020-05-21 03:24:09 +02:00
|
|
|
#guess.adapt:hover {
|
2020-05-21 01:58:47 +02:00
|
|
|
width: 500px;
|
2020-05-21 15:08:03 +02:00
|
|
|
height: 375px;
|
2020-05-21 01:58:47 +02:00
|
|
|
opacity: 0.95;
|
|
|
|
transition-delay: 0s;
|
|
|
|
}
|
|
|
|
#closeGuessButtonContainer {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-05-22 23:23:54 +02:00
|
|
|
#map {
|
2020-05-21 15:08:03 +02:00
|
|
|
height: calc(100% - 45px);
|
2020-05-21 01:58:47 +02:00
|
|
|
}
|
2020-05-22 23:22:11 +02:00
|
|
|
#guess.result {
|
|
|
|
width: initial;
|
|
|
|
height: initial;
|
2020-05-30 17:39:27 +02:00
|
|
|
top: 50px;
|
2020-05-21 01:58:47 +02:00
|
|
|
left: 50px;
|
|
|
|
right: 50px;
|
|
|
|
bottom: 50px;
|
|
|
|
}
|
|
|
|
#scoreBarBase {
|
|
|
|
width: 60%;
|
|
|
|
}
|
2020-05-22 23:22:11 +02:00
|
|
|
@media screen and (max-height: 424px) {
|
2020-05-21 03:24:09 +02:00
|
|
|
#guess {
|
2020-05-30 17:39:27 +02:00
|
|
|
top: 50px;
|
2020-05-21 03:24:09 +02:00
|
|
|
height: initial;
|
|
|
|
}
|
|
|
|
#guess.adapt:hover {
|
2020-05-30 17:39:27 +02:00
|
|
|
top: 50px;
|
2020-05-21 03:24:09 +02:00
|
|
|
height: initial;
|
|
|
|
}
|
2020-05-23 01:34:40 +02:00
|
|
|
#guess.result {
|
|
|
|
left: 20px;
|
|
|
|
right: 20px;
|
|
|
|
bottom: 30px;
|
|
|
|
}
|
2020-05-21 03:24:09 +02:00
|
|
|
}
|
2020-05-21 01:58:47 +02:00
|
|
|
}
|