????
| Current Path : /home/carpe/www/Martine Nasa/css/ |
| Current File : /home/carpe/www/Martine Nasa/css/apod.css |
span.consigne{
color: var(--CouleurPop);
width: 100%;
padding: 1% 7%;
text-align: center;
}
main section:nth-of-type(4){
overflow: hidden;
position: relative;
}
#appareil{
background-color: var(--Appareil);
border: solid 2vw black;
width: 90vw;
height: 60vw;
margin-top: 20%;
border-radius: 10px;
box-sizing: border-box;
display: flex;
justify-content: space-around;
align-items: center;
position: relative;
z-index: 70;
}
#appareil::before{
content:'';
background-image: url('../images/haut-appareil.svg');
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width:50%;
height: 18.75%;
position: absolute;
top:-18.75%;
left: 10%;
}
#bras{
position: absolute;
top: 74vw;
width: 108vw;
height: 74vw;
}
#appareil .bouton-container{
display: flex;
align-items: center;
justify-content: center;
width: 20%;
}
#appareil .bouton-container > div{
display: flex;
flex-direction: column; ;
justify-content: center;
align-items: space-around;
}
#appareil button{
border: none;
background-color:#00f0;
}
.fleche {
width: 0px;
height: 0px;
}
button:disabled .fleche{
opacity: 0.3;
}
.fleche#haut{
border-left: var(--FlecheSide) solid transparent;
border-right: var(--FlecheSide) solid transparent;
border-bottom: var(--FlecheTop) solid var(--Appareil-Bouton);
}
.fleche#gauche{
border-bottom: var(--FlecheSide) solid transparent;
border-top: var(--FlecheSide) solid transparent;
border-right: var(--FlecheTop) solid var(--Appareil-Bouton);
}
.fleche#droite{
border-bottom: var(--FlecheSide) solid transparent;
border-top: var(--FlecheSide) solid transparent;
border-left: var(--FlecheTop) solid var(--Appareil-Bouton);
}
.fleche#bas{
border-left: var(--FlecheSide) solid transparent;
border-right: var(--FlecheSide) solid transparent;
border-top: var(--FlecheTop) solid var(--Appareil-Bouton);
}
#ecran{
width: 60%;
height: 70%;
border-radius: 10px;
border: solid 2vw black;
overflow: hidden;
position: relative;
}
#ecran >div{
color: white;
background-color: black;
padding: 3px;
position: absolute;
top: 0;
left: 0;
}
#ecran img{
width: 100%;
height: 100%;
object-fit: cover;
}
#apod_vid{
display: none;
}
@media screen and (min-width: 30em){
#appareil{
width: 60vw;
height: 40vw;
margin-top: 10%;
border: solid 1vw black;
}
#ecran{
border: solid 1vw black;
}
:root {--FlecheSide: 2vw;}
}