opencoil-paracity/website/map/main.css

245 lines
4.2 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;
z-index: 1000;
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%;
font-size: 15vw;
align-self: flex-start;
}
h2 {
padding-top: 15%;
padding-right: 2.5%;
font-size: 5vw;
align-self: flex-start;
}
h3 {
padding-top: 18%;
font-size: 2rem;
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;
font-size: 2.5vw;
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-15 12:42:54 +02:00
#infotext, #infotext_en, #abouttext, #contacttext:-webkit-scrollbar {
2020-10-15 12:09:51 +02:00
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
2020-10-15 12:42:54 +02:00
#infotext, #infotext_en, #abouttext, #contacttext {
2020-10-15 12:09:51 +02:00
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
2020-10-15 12:42:54 +02:00
#infotext, #infotext_en, #abouttext, #contacttext {
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;
margin: 23% 20% 20% 10%;
2020-10-15 11:11:35 +02:00
transition: opacity 1s;
}
2020-10-15 12:42:54 +02:00
#infotext p, #infotext_en p, #abouttext p {
2020-10-15 12:09:51 +02:00
padding: 0% 10% 10% 10%;
margin: 0;
font-family: Arial;
font-weight: bold;
font-size: 2.0vw;
color: white;
2020-10-15 12:42:54 +02:00
}
#infotext a, #infotext_en a, #abouttext a {
color: white;
2020-10-15 12:09:51 +02:00
}
2020-10-15 12:42:54 +02:00
#contacttext p {
padding: 0% 10% 10% 10%;
margin: 0;
font-family: Arial;
font-weight: bold;
font-size: 2.5vw;
2020-10-15 12:09:51 +02:00
color: white;
}
2020-10-15 15:26:08 +02:00
#contacttext a, #contacttext span {
2020-10-15 12:42:54 +02:00
color: white;
padding-left: 5vw;
font-size: 2vw;
}
2020-10-15 15:54:36 +02:00
#abouttext p {
font-size: 2.5vw;
}
#abouttext span {
font-size: 2vw;
}
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-15 12:09:51 +02:00
@media only screen and (max-width: 768px) {
2020-10-15 12:42:54 +02:00
#infotext, #infotext_en, #abouttext, #contacttext {
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-15 15:26:08 +02:00
#contacttext p {
font-size: 5vw;
}
#contacttext a, #contacttext span {
font-size: 3vw;
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-15 12:42:54 +02:00
#infotext p, #infotext_en p, #abouttext p, #contacttext 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
}