@import url(./style.css); /* ====== DARK MODE ====== */ body.dark-mode .card { /* position: relative; */ background-color: black; border: 2px solid transparent; } body.dark-mode .card-content { color: white; margin-left: 20px; flex: 1; } body.dark-mode .likes { font-size: 20px; color: #fff; } body.dark-mode .like-icon { color: #fff; cursor: pointer; } body.dark-mode .share-icon { color: #fff; cursor: pointer; } body.dark-mode .commentaire{ background-color: black; border: 2px solid transparent; } body.dark-mode .likeLien{ color:white; } /* ====== LIGHT MODE ====== */ body.light-mode .card { /* position: relative; */ background-color: white; border: 2px solid black; } body.light-mode .card-content { color: black; margin-left: 20px; flex: 1; } body.light-mode .likes { font-size: 20px; color: black; } body.light-mode .like-icon { color: black; cursor: pointer; } body.light-mode .share-icon { color: black; cursor: pointer; } body.light-mode .commentaire{ background-color: #fff; border: 2px solid black; } body.light-mode .likeLien{ color:black; } /* ====== DEFAULT ====== */ .central_container{ display: flex; justify-content: space-around; } .card { margin-top: 5vh; border-radius: 15px; width: 70vw; height: 70vh; display: flex; flex-direction: column; } .commentaire{ margin-top: 5vh; border-radius: 15px; width: 25vw; height: 70vh; display: flex; padding: 1%; flex-direction: column; flex-wrap: wrap; } .infoQuote { list-style: none; font-size: 25px; line-height: 40px; } .card-image { border-radius: 10px; width: 20vw; height: 35vh; object-fit: cover; } .quote { margin-top: 2vh; font-size: 35px; font-weight: bold; font-style: italic; } .comAdd{ width : 20vw; height : 4vh; padding-left: 1vh; border: none; border-radius: 20px; } .btn{ width : 2vw; height : 4vh; padding-left: 1vh; border: none; border-radius: 20px; text-align: center; background-image: url(../images/icons8-envoyer-24.png); background-repeat: no-repeat; background-position: center; } .formulaire{ display : flex; flex-direction: row; } .comment_section{ margin-top: 2vh; display: flex; flex-direction: column; overflow-y: scroll; height: 55vh; } .com{ background-color: #fff; color: black; display: flex; flex-direction: column; margin-top: 1vh; margin-bottom: 1vh; border-radius: 20px; padding : 2%; } .date{ margin-bottom: 0.5vh; font-size: small; } .icons{ margin: 2vh; } .like-icon{ font-size: 50px; margin-bottom: 2vh; } .share-icon{ font-size: 50px; } .part1{ display: flex; } .part2{ display: flex; justify-content: space-between; } .likes{ align-self: self-end; padding: 2vh; } .infoQuote{ margin: 2vh; height: 31vh; } .userName{ font-size: large; display: inline-block; } .infCom{ display: flex; justify-content: space-between; margin-bottom: 1vh; } .comAdd :focus { outline: none; /* Supprime la bordure bleue */ box-shadow: none; /* Supprime également toute ombre ajoutée */ } .likeLien{ text-decoration: none; }