User:Turquoisebutyellow/common.css

@import url("https://fonts.googleapis.com/css?family=Roboto:400,400i,700");

.turqcard { background: rgba(0, 0, 0, 0.5); border-radius: 4px; box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.5); height: 530px; max-width: 400px; display: flex; flex-direction: row; border-radius: 25px; position: relative; } .turqcard h2 { margin: 0; padding: 0 1rem; } .turqcard .title { padding: 1rem; text-align: right; color: gold; font-weight: bold; font-size: 12px; } .turqcard .desc { padding: 0.5rem 1rem; font-size: 12px; } .turqcard .actions { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 0.5rem 1rem; } .turqcard svg { width: 85px; height: 85px; margin: 0 auto; }

.img-avatar { width: 80px; height: 80px; position: absolute; border-radius: 50%; border: 6px solid white; background-image: url(https://static.wikia.nocookie.net/central/images/7/78/Turquoisebutyellow_User_Profile_Pic.jpg/revision/latest?cb=20221114081255); background-size: contain; top: 15px; left: 85px; }

.turqcard-text { display: grid; grid-template-columns: 1fr 2fr; }

.title-total { padding: 2.5em 1.5em 1.5em 1.5em; }

.img-portada { width: 100%; }

.portada { width: 100%; height: 100%; border-top-left-radius: 20px; border-bottom-left-radius: 20px; background-image: url("https://static.wikia.nocookie.net/central/images/0/09/Turqprofile_BG.png/revision/latest?cb=20221210052714"); background-position: bottom center; background-size: cover; }

.button { border: none; background: none; font-size: 24px; color: #8bc34a; cursor: pointer; transition:.5s; &:hover{ color: #4CAF50 ; transform: rotate(22deg) } }

/* for flip */ /* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */ .flip-card {   background-color: transparent;    width: 400px;    height: 530px;    perspective: 1000px; }

/* This container is needed to position the front and back side */ .flip-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s; transform-style: preserve-3d; }

/* Do an horizontal flip when you move the mouse over the flip box container */ .flip-card:hover .flip-card-inner { transform: rotateY(180deg); }

/* Position the front and back side */ .flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; /* Safari */ backface-visibility: hidden; }

/* Style the front side (fallback if image is missing) */ .flip-card-front { background-color: transparent; color: white; text-shadow: 0 0 15px black; box-shadow: 0px 14px 80px rgb(34 35 58 / 50%); border-radius: 20px; }

/* Style the back side */ .flip-card-back { background-color: rgb(34 35 58 / 50%); background-image: url(https://static.wikia.nocookie.net/central/images/0/09/Turqprofile_BG.png/revision/latest?cb=20221210052714); background-size: cover; box-shadow: 0px 14px 80px rgb(34 35 58 / 50%); border-radius: 20px; color: white; transform: rotateY(180deg); }