opencoil-paracity/website/preshow/main.css

220 lines
3.8 KiB
CSS
Raw Normal View History

2020-10-09 23:26:50 +02:00
body {
height: 100%;
width: 100%;
2020-10-09 23:26:50 +02:00
max-width: 100%;
max-height: 100%;
overflow: hidden;
margin: 0;
2020-10-11 14:46:11 +02:00
background: white;
2020-10-09 23:26:50 +02:00
}
a {
color: #d152b8;
}
#infolink {
color: white;
text-decoration: underline;
}
2020-10-09 23:26:50 +02:00
#inviteDiv {
position: absolute;
display: flex;
z-index: 200;
2020-10-09 23:26:50 +02:00
flex-direction: column;
justify-content: center;
align-items: center;
pointer-events: none;
white-space: pre;
2020-10-09 23:26:50 +02:00
word-wrap: break-word;
width: 100%;
}
#inviteDiv h1, h2 {
text-align: center;
font-family: monospace;
max-width: 100%;
margin: 0;
word-wrap: break-word;
text-shadow: 3px 3px 1px rgba(75, 75, 75, 1);
color: #d152b8;
}
#inviteDiv h1 {
font-size: 1vw;
padding-top: 5vh;
padding-left: 17vw;
}
#inviteDiv h2 {
font-size: 0.4vw;
padding-left: 24vw;
}
#invitetextDiv {
z-index: 300;
2020-10-09 23:26:50 +02:00
position: absolute;
display: flex;
justify-content: center;
align-items: center;
word-wrap: break-word;
height: 100%;
width: 100%;
max-height: 100%;
max-width: 100%;
}
#invitetextDiv p {
font-family: Arial;
font-weight: bold;
flex-grow: 1;
font-size: 1.2vw;
color: #d152b8;
text-align: center;
line-height: 2;
padding-top: 5vw;
padding-left: 2.5vw;
2020-10-09 23:26:50 +02:00
}
#backgroundDiv {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
#backgroundDiv h3 {
font-family: monospace;
white-space: pre;
padding-top: 5vw;
2020-10-09 23:26:50 +02:00
font-size: 0.8vw;
color: lightgrey;
}
#infotext, #infotext_en {
2020-10-12 16:41:50 +02:00
visibility: hidden;
2020-10-12 16:39:37 +02:00
opacity:0;
overflow-x: hidden !important;
overflow-y: scroll !important;
position: absolute;
z-index: 400;
width: 80%;
height: 70%;
max-height: 100%;
max-width: 100%;
word-wrap: break-word;
background-color: #d152b8;
color: white;
margin: 12% 20% 20% 10%;
2020-10-12 16:39:37 +02:00
transition: opacity 1s;
}
#infobuttons {
display: flex;
flex-direction: row;
justify-content: space-between;
}
#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 {
font-family: Arial;
font-size:2vw;
font-weight:bold;
text-align: center;
padding-bottom: 5vh;
margin: 0;
cursor: pointer;
}
#infotext p, #infotext_en p {
padding: 0% 10% 10% 10%;
font-family: Arial;
font-weight: bold;
font-size: 2.0vw;
}
2020-10-09 23:26:50 +02:00
@media only screen and (max-width: 768px) {
#inviteDiv h1 {
font-size: 1.5vw;
}
#inviteDiv h2 {
font-size: 0.8vw;
}
#invitetextDiv p {
padding-top: 7vh;
2020-10-09 23:26:50 +02:00
font-size: 3vw;
color: #d152b8;
}
#backgroundDiv h3 {
font-size: 1.8vw;
padding-top: 15vw;
padding-right: 2.5vw;
2020-10-09 23:26:50 +02:00
}
#infotext, #infotext_en {
visibility: hidden;
overflow-x: hidden !important;
overflow-y: scroll !important;
position: absolute;
z-index: 400;
width: 90%;
height: 70%;
max-height: 100%;
max-width: 100%;
word-wrap: break-word;
background-color: #d152b8;
color: white;
margin: 33% 5% 0% 5%;
}
#closeButton, #enButton {
font-family: Arial;
font-size:4vw;
font-weight:bold;
padding:3%;
}
#closeButtonbottom {
font-size:4vw;
font-weight:bold;
}
#infotext p, #infotext_en p {
padding: 20px;
font-family: Arial;
font-weight: bold;
font-size: 4vw;
margin: 0;
}
}