Template:Artist Previews/styles.css: Difference between revisions

From Archon Arcana - The KeyForge Wiki
no edit summary
No edit summary
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
.pageOverlay {
    font-size:0px;
    line-height:0px;
    height:0px;
    float:left;
}
.pageOverlay img {
    display:none;
}
.pageOverlay p {
    height:0px;
}
.artGallery a:link,
.artGallery a:link,
.artGallery a:hover,
.artGallery a:hover,
Line 10: Line 25:
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     justify-content: flex-start;
     justify-content: center;
     margin-top: 20px;
     margin-top: 20px;
     margin-bottom: 20px;
     margin-bottom: 20px;
Line 41: Line 56:
     transform: scale(1.5);
     transform: scale(1.5);
     object-fit: cover;
     object-fit: cover;
     object-position: -9px 6px;
     object-position: -9px 10px;
     margin: 0px;
     margin: 0px;
     opacity: .6;
     opacity: .6;
Line 53: Line 68:
     transform: scale(1.5);
     transform: scale(1.5);
     object-fit: cover;
     object-fit: cover;
     object-position: -5px -17px;
     object-position: -5px -15px;
     margin: 0px;
     margin: 0px;
     opacity: .6;
     opacity: .6;
Line 65: Line 80:
     transform: scale(1.5);
     transform: scale(1.5);
     object-fit: cover;
     object-fit: cover;
     object-position: 0px -100px;
     object-position: 0px -90px;
     margin: 0px;
     margin: 0px;
     opacity: .6;
     opacity: .6;
Line 92: Line 107:


   .artistCards:hover img {
   .artistCards:hover img {
     opacity: .9;
     opacity: 1;
   }
   }


Line 99: Line 114:


/* average sized phones */
/* average sized phones */
@media screen and (min-width:441px) and (max-width:450px) {
@media screen and (min-width:360px) and (max-width:450px) {
   .artGallery {
   .artGallery {
     display: flex;
     display: flex;
Line 128: Line 143:


   .artistCards .cardFull {
   .artistCards .cardFull {
     max-width: 200px;
     width: 300px;
    width: 100%;
     height: 420px;
     height: 100%;
    transform: scale(1);
     object-fit: cover;
     object-fit: cover;
     object-position: -60px -50px;
     object-position: -100px -60px;
     margin: 0px;
     margin: 0px;
     opacity:1;
     opacity:1;
Line 139: Line 152:


   .artistCards .cardArtifact {
   .artistCards .cardArtifact {
     max-width: 200px;
     width: 300px;
    width: 100%;
     height: 420px;
     height: 100%;
    transform: scale(1);
     object-fit: cover;
     object-fit: cover;
     object-position: -60px -70px;
     object-position: -60px -70px;
Line 150: Line 161:


   .artistCards .cardUpgrade {
   .artistCards .cardUpgrade {
     max-width: 200px;
     width: 300px;
    width: 100%;
     height: 420px;
     height: 100%;
    transform: scale(1);
     object-fit: cover;
     object-fit: cover;
     object-position: center -190px;
     object-position: -40px -190px;
     margin: 0px;
     margin: 0px;
     opacity: 1;
     opacity: 1;
   }
   }




Line 180: Line 190:


/* very small phones */
/* very small phones */
@media screen and (max-width:440px) {
@media screen and (max-width:359px) {
   .artGallery {
   .artGallery {
     display: flex;
     display: flex;