dans le fichier mobile.css, je ne veux pas que les div "textes" et les images apparaissent :
@font-face {
font-family: anime;
src: url("fonts/anime.ttf") format('truetype');
font-weight: normal;
font-style: normal;
}
body {
font-family: anime;
height: 100vh;
width: 100vw;
background-color: #121212;
color: #E0E0E0;
}
button {
font-family: anime, sans-serif;
}
#accueil {
height: 100vh;
width: 100vw;
background-color: #000000;
z-index : 10;
display: flex;
flex-direction: line;
align-items: center;
justify-content: center;
margin : 20px;
}
.game-container {
position: relative;
left: 0%;
top: 0%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 2px solid #333; / Couleur de bordure assombrie /
background-color: #1E1E1E; / Couleur de fond assombrie /
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); / Ombre plus sombre /
width: 100%;
height: 100%;
}
.game-container button.supprimer {
background-color: #FF0101;
}
#pointsDeck {
position: absolute;
top: 10px;
left: 10px;
background-color : #CCCCCC;
color: black;
font-size: 25px;
border-radius: 8px;
padding:8px;
}
.illustration-area {
width: 90%;
height: 80%;
position: absolute;
top: 0%;
left: 5%;
background-color: #2E2E2E; / Couleur de fond assombrie /
margin-bottom: 40px;
border: 1px solid #555; / Couleur de bordure assombrie /
border-radius: 5px;
}
.points {
width: 90%;
height: 8%;
position: absolute;
top: 80%;
left: 5%;
}
#nbFree {
width: 350px;
display: inline-block;
position: absolute;
left: 15%;
top: 20%;
font-size: 12px;
}
#textTargetPoints {
display: inline-block;
color: #E0E0E0;
position: absolute;
left: 50%;
top: 20%;
font-size: 12px;
}
.charm-circle {
display: inline-block;
width: 60px;
height: 60px;
line-height: 60px;
border-radius: 50%;
background-color: #4CAF50;
color: white;
text-align: center;
font-weight: bold;
position: absolute;
left: 2%;
top: -30px;
}
#end-test-button {
display: sticky;
position: absolute;
left: 70%;
top: -45%;
padding: 10px;
border-radius: 10px;
background-color: white;
height: 60px;
}
#boutons{
background-color: #333333;
}
#boutons button, #boutons button {
width: 200px;
height: 60px;
padding: 10px;
background-color: #999999;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 5px;
}
#boutons button:hover, #boutons button:hover {
background-color: #45A049;
}
#draw-free-card {
position: relative;
left:30%;
}
#draw-paid-card {
position: relative;
left:50%;
}
#lore {
position: relative;
width: 100%;
overflow-y: scroll;
height: auto;
max-height: 80%;
display: flex;
flex-wrap: wrap;
}
.texte {
width:auto;
}
.small-card {
position: relative;
top: 0%;
left: 0%;
width: 100%;
height: auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
color: #E0E0E0; / Couleur du texte éclaircie /
}
.small-cardsave {
width: 80px;
height: 60px;
background-color: black; / Couleur de fond assombrie /
border: 2px solid #333; / Couleur de bordure assombrie /
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); / Ombre plus sombre /
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 10px;
}
.small-card .card-name {
font-size: 10px;
font-weight: bold;
text-align: center;
display: none;
}
.small-card .card-seduction {
width: 22px;
height: 22px;
border-radius: 15px;
background-color: #FFCCFF;
font-size: 18px;
font-weight: bold;
text-align: center;
padding: 4px;
color: #990000;
}
.actif .card-seduction {
width: 22px;
height: 22px;
border-radius: 15px;
background-color: #FFFFFF;
font-size: 18px;
font-weight: bold;
text-align: center;
padding: 4px;
color: #999999;
}
.annulee .cardseduction {
width: 22px;
height: 22px;
border-radius: 15px;
background-color: #111111;
font-size: 18px;
font-weight: bold;
text-align: center;
padding: 4px;
color: #999999;
}
.small-card .card-power {
margin-top: 20px;
font-size: 12px;
text-align: center;
}
.actif .card-power {
margin-top: 20px;
font-size: 12px;
text-align: center;
color: gray;
}
#choice-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7); / Assombrir le fond /
display: block;
z-index: 2;
}
.challenge-card {
width: 110px;
height: 110px;
background-color: #1E1E1E; / Couleur de fond assombrie /
border: 2px solid #333; / Couleur de bordure assombrie /
border-radius: 10px;
padding: 10px;
margin: 10px;
color: #E0E0E0; / Couleur du texte éclaircie /
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.card-icon {
width:85px;
height:85px;
position: relative;
top: 2px;
left: 0px;
filter: invert(100%) sepia(1) saturate(10000%) hue-rotate(280deg); /* Ajuste le rotate pour une autre couleur */
}
.challenge-card .card-name {
font-size: 18px;
font-weight: bold;
text-align: center;
}
.challenge-card .card-seduction {
font-size: 20px;
color: black;
position: relative;
top: -62px;
left: -1px;
}
.challenge-card .card-power {
font-size: 12px;
text-align: center;
position: relative;
top: -20px;
}
#challenge-area {
margin-top: 10%;
padding: 20px;
border-radius: 8px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.challenge-card.selected {
border: 2px solid #FF5252; / Couleur modifiée pour meilleure visibilité /
}
.small-card.small-selected {
border: 2px solid #FF5252; / Couleur modifiée pour meilleure visibilité /
}
.validate-button {
width: 20%;
position: relative;
left: 40%;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
padding: 10px;
}
.validate-button:hover {
background-color: #45A049;
}
.continue-button {
width: 20%;
position: relative;
left: 5%;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
padding: 10px;
}
.continue-button:hover {
background-color: #45A049;
}
#verification {
display : none;
font-size: 10pt;
color: #E0E0E0; / Couleur du texte éclaircie */
}
#continueButton {
width: auto;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
padding: 10px;
margin-top:5%;
position: relative;
left: 45%;
}
.intro {
width: 40%;
font-size: 12pt;
padding:1%;
background-color: gray;
border-radius: 10px;
height: 150px;
display: flex;
margin: 1%;
color: #E0E0E0;
}
.intro img {
height : 150px;
margin-top: 2%;
display: inline-block;
}
.outro1 {
color: black;
width: 40%;
font-size: 12pt;
padding:1%;
background-color: white;
border-radius: 10px;
height: 150px;
color: black;
display: flex;
margin: 1%;
}
.outro1 img {
height : 150px;
margin-top: 2%;
display: inline-block;
}
.outro2 {
width: 50%;
font-size: 12pt;
padding:1%;
display: flex;
background-color: black;
border-radius: 10px;
height: 150px;
margin: 1%;
color: #E0E0E0;
}
.outro2 img {
height : 150px;
margin-top: 2%;
}
.malus {
width: auto;
max-width: 35%;
min-width: 80px;
font-size: 12pt;
padding: 1%;
display: flex;
background-color: black;
height: 150px;
margin: 1%;
color: #E0E0E0;
}
.malus img {
height : 150px;
left: 2%;
margin-top: 2%;
}
.bonus {
width: 45%;
min-width: 80px;
font-size: 12pt;
padding:1%;
display: flex;
background-color: gray;
border-radius: 10px;
height: 150px;
margin: 1%;
color: black;
}
.bonus img {
height : 150px;
right: 2%;
margin-top: 2%;
}
.zero {
min-width: 80px;
font-size: 12pt;
padding: 1%;
display: flex;
background-color: black;
height: 150px;
margin: 1%;
color: #E0E0E0;
}
.positif {
width: auto;
min-width: 80px;
font-size: 12pt;
padding:1%;
background-color: white;
border-radius: 10px;
height: 150px;
color: black;
display: flex;
margin: 1%;
}
.positif img {
height : 150px;
margin-top: 2%;
display: inline-block;
}
.positif .small-card .card-power{
color: black;
}
.positif .small-card .card-power .actif{
color: gray;
}