forked from vergnet/site-accueil-insa
86 lines
No EOL
1.4 KiB
CSS
86 lines
No EOL
1.4 KiB
CSS
* {
|
|
text-align: center;
|
|
}
|
|
|
|
section {
|
|
background-color: rgba(255,255,255,0.5);
|
|
max-width: 800px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
font-size: 1.2rem;
|
|
margin-top: 40px;
|
|
text-align: left;
|
|
display: block;
|
|
width: 80vw;
|
|
padding: 50px;
|
|
}
|
|
|
|
#maps {
|
|
position: relative;
|
|
display: block;
|
|
margin: 5vh auto auto;
|
|
width: 90vw;
|
|
min-height: 50vh;
|
|
border: none;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
#maps {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/*iframe {
|
|
margin-top: 50px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
display: block;
|
|
width: 90vw;
|
|
aspect-ratio: 1220/710;
|
|
border: 0;
|
|
}*/
|
|
|
|
|
|
.change-map-button {
|
|
cursor: pointer;
|
|
border: solid 2px #c49621;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.animated {
|
|
background-image: linear-gradient(-225deg, #231557 0%, #44107a 29%, #ff1361 67%, #fff800 100%);
|
|
background-size: auto auto;
|
|
background-clip: border-box;
|
|
background-size: 200% auto;
|
|
color: #fff;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
animation: textclip 2s linear infinite;
|
|
display: inline-block;
|
|
}
|
|
|
|
@keyframes textclip {
|
|
to {
|
|
background-position: 200% center;
|
|
}
|
|
}
|
|
|
|
.change-map-button:after {
|
|
content: "2D";
|
|
}
|
|
|
|
body.flat .change-map-button:after {
|
|
content: "3D";
|
|
}
|
|
|
|
body.flat #map3d {
|
|
display: none;
|
|
}
|
|
|
|
#map2d {
|
|
display: none;
|
|
}
|
|
|
|
body.flat #map2d {
|
|
display: block;
|
|
} |