opencoil-paracity/website/map/main.css

294 lines
5.1 KiB
CSS
Raw Normal View History

2020-10-15 11:11:35 +02:00
body {
height: 100%;
width: 100%;
2020-10-15 12:09:51 +02:00
max-width: 100%;
max-height: 100%;
2020-10-15 11:11:35 +02:00
margin: 0;
2020-10-15 12:09:51 +02:00
overflow: hidden;
2020-10-15 11:11:35 +02:00
}
#map {
position: absolute;
height: 100%;
width: 100%;
2020-10-15 12:09:51 +02:00
max-height: 100%;
max-width: 100%;
2020-10-15 11:11:35 +02:00
border: none;
}
#title-container {
position: absolute;
2020-10-15 12:09:51 +02:00
pointer-events: none;
2020-10-15 11:11:35 +02:00
display: flex;
flex-flow: row wrap;
2020-10-16 04:00:55 +02:00
z-index: 800;
2020-10-15 11:11:35 +02:00
text-align: right;
width: 100%;
height: 100%;
}
2020-10-15 12:09:51 +02:00
h1, h2, h3 {
2020-10-15 11:11:35 +02:00
position: absolute;
width: 100%;
pointer-events: none;
font-family: Courier;
color: #d152b8;
margin: 0;
}
h1 {
padding-top: 2%;
padding-right: 2%;
2020-10-16 04:00:55 +02:00
font-size: 10vw;
2020-10-15 11:11:35 +02:00
align-self: flex-start;
}
h2 {
2020-10-16 04:00:55 +02:00
padding-top: 10%;
2020-10-15 11:11:35 +02:00
padding-right: 2.5%;
2020-10-16 04:00:55 +02:00
font-size: 3vw;
2020-10-15 11:11:35 +02:00
align-self: flex-start;
}
h3 {
padding-top: 15%;
font-size: 2.5vw;
padding-right: 2%;
2020-10-15 11:11:35 +02:00
align-self: flex-start;
}
#bottom_menu {
position: absolute;
2020-10-15 12:09:51 +02:00
pointer-events: all !important;
2020-10-15 11:11:35 +02:00
display: flex;
justify-content: space-between;
align-self: flex-end;
z-index: 1000;
background: white;
2020-10-15 15:54:36 +02:00
height: 4%;
2020-10-15 11:11:35 +02:00
width: 100%;
font-family: Courier;
font-weight: bold;
2020-10-16 04:00:55 +02:00
font-size: 2vw;
2020-10-15 11:11:35 +02:00
text-align: center;
align-items: center;
2020-10-15 12:09:51 +02:00
border: 1px #d152b8;
2020-10-15 11:11:35 +02:00
}
#bottom_menu a {
padding: 1vw 3vw 1vw 3vw;
color: #d152b8;
}
2020-10-15 12:09:51 +02:00
/* Hide scrollbar for Chrome, Safari and Opera */
2020-10-16 04:00:55 +02:00
#infotext, #infotext_en, #abouttext, #contacttext, #howtotext, #howtotext_en:-webkit-scrollbar {
2020-10-15 12:09:51 +02:00
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
2020-10-16 04:00:55 +02:00
#infotext, #infotext_en, #abouttext, #contacttext, #howtotext, #howtotext_en {
2020-10-15 12:09:51 +02:00
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
2020-10-16 04:00:55 +02:00
#infotext, #infotext_en, #abouttext, #contacttext, #howtotext, #howtotext_en {
2020-10-15 12:09:51 +02:00
visibility: hidden;
2020-10-15 11:11:35 +02:00
opacity:0;
2020-10-15 12:09:51 +02:00
overflow-x: hidden !important;
overflow-y: scroll !important;
position: absolute;
z-index: 1000;
width: 80%;
height: 70%;
max-height: 100%;
max-width: 100%;
word-wrap: break-word;
background-color: #d152b8;
color: white;
2020-10-16 04:00:55 +02:00
margin: 14% 10% 10% 10%;
2020-10-15 11:11:35 +02:00
transition: opacity 1s;
}
2020-10-16 04:00:55 +02:00
#infotext p, #infotext_en p, #abouttext p, #howtotext p, #howtotext_en p {
2020-10-15 12:09:51 +02:00
padding: 0% 10% 10% 10%;
margin: 0;
font-family: Arial;
font-weight: bold;
2020-10-16 04:00:55 +02:00
font-size: 1.5vw;
2020-10-15 12:09:51 +02:00
color: white;
2020-10-15 12:42:54 +02:00
}
2020-10-16 04:00:55 +02:00
#infotext a, #infotext_en a, #abouttext a, #howtotext a, #howtotext_en a {
2020-10-15 12:42:54 +02:00
color: white;
2020-10-15 12:09:51 +02:00
}
2020-10-16 04:00:55 +02:00
#howtotext a {
text-decoration: underline !important;
}
#howto {
font-size: 2vw;
}
2020-10-15 12:42:54 +02:00
#contacttext p {
padding: 0% 10% 10% 10%;
margin: 0;
font-family: Arial;
font-weight: bold;
2020-10-16 04:00:55 +02:00
font-size: 1.5vw;
2020-10-15 12:09:51 +02:00
color: white;
}
2020-10-16 04:00:55 +02:00
#contacttext a, #contacttext span, , #howtotext span, #howtotext_en span {
2020-10-15 12:42:54 +02:00
color: white;
padding-left: 5vw;
2020-10-16 04:00:55 +02:00
font-size: 1.5vw;
2020-10-15 12:42:54 +02:00
}
2020-10-15 15:54:36 +02:00
#abouttext p {
2020-10-16 04:00:55 +02:00
font-size: 1.5vw;
2020-10-15 15:54:36 +02:00
}
#abouttext span {
2020-10-16 04:00:55 +02:00
font-size: 1.5vw;
2020-10-15 15:54:36 +02:00
}
2020-10-15 11:11:35 +02:00
#infobuttons {
display: flex;
flex-direction: row;
justify-content: space-between;
2020-10-15 12:09:51 +02:00
padding: 1vw;
2020-10-15 11:11:35 +02:00
}
#closeButton {
height: min-content;
width: min-content;
font-family: Arial;
font-size:2vw;
font-weight:bold;
padding:1%;
cursor: pointer;
margin: 0;
}
#enButton {
position: relative;
height: min-content;
width: min-content;
margin: 0;
font-family: Arial;
font-size:2vw;
font-weight:bold;
color: white;
padding:1%;
text-align: right;
cursor: pointer;
}
#closeButtonbottom {
2020-10-15 12:09:51 +02:00
position: relative;
2020-10-15 11:11:35 +02:00
font-family: Arial;
2020-10-15 12:09:51 +02:00
font-size: 2vw;
font-weight: bold;
2020-10-15 11:11:35 +02:00
text-align: center;
padding-bottom: 5vh;
margin: 0;
cursor: pointer;
}
2020-10-27 01:04:23 +01:00
/*client location*/
.leaflet-control-locate a {
padding-top: 4px;
}
.leaflet-control-locate a span {
font-size: 1.4em;
cursor: pointer;
}
.leaflet-control-locate.active a {
color: #2A93EE;
}
.leaflet-control-locate.active.following a {
color: #2A93EE;
}
2020-10-15 12:09:51 +02:00
@media only screen and (max-width: 768px) {
2020-10-16 04:00:55 +02:00
h1 {
font-size: 15vw;
}
h2 {
padding-top: 10vh;
font-size: 5vw;
}
h3 {
padding-top: 15vh;
font-size: 5vw;
}
2020-10-16 04:00:55 +02:00
#howto {
font-size: 6vw;
}
#infotext, #infotext_en, #abouttext, #contacttext, #howtotext, #howtotext_en {
2020-10-15 12:09:51 +02:00
visibility: hidden;
overflow-x: hidden !important;
overflow-y: scroll !important;
position: absolute;
z-index: 400;
width: 90%;
height: 73%;
max-height: 100%;
max-width: 100%;
word-wrap: break-word;
background-color: #d152b8;
color: white;
margin: 28% 5% 0% 5%;
}
2020-10-16 04:00:55 +02:00
#abouttext span {
font-size: 4vw;
}
2020-10-15 15:26:08 +02:00
#contacttext p {
font-size: 5vw;
}
2020-10-16 04:00:55 +02:00
#contacttext a, #contacttext span, , #howtotext span, #howtotext_en span {
font-size: 4vw;
2020-10-15 12:42:54 +02:00
}
2020-10-15 12:09:51 +02:00
#closeButton, #enButton {
font-family: Arial;
font-size:4vw;
font-weight:bold;
padding:3%;
}
#closeButtonbottom {
font-size:4vw;
font-weight:bold;
}
2020-10-16 04:00:55 +02:00
#infotext p, #infotext_en p, #abouttext p, #contacttext p, #howtotext p, #howtotext_en p {
2020-10-15 12:09:51 +02:00
padding: 20px;
font-family: Arial;
font-weight: bold;
font-size: 4vw;
margin: 0;
}
#bottom_menu {
height: 5%;
font-size: 5vw;
}
2020-10-15 11:11:35 +02:00
}