Remove package thumbnail styling for mobile

This commit is contained in:
Thomas Smith 2023-04-11 22:36:08 +02:00
parent e1f75533ff
commit bf6bbbdb18
2 changed files with 4 additions and 83 deletions

View file

@ -65,6 +65,10 @@
#loadMoreSection { #loadMoreSection {
display: none; display: none;
} }
.package-grid {
/* changes to 2 column thumbs */
grid-template-columns: auto auto;
}
} }
@media only screen and (min-width: 576px) { @media only screen and (min-width: 576px) {

View file

@ -61,8 +61,6 @@ float:right!important;
right: 0; right: 0;
} }
@media only screen and (min-width: 576px) {
.package-image{ .package-image{
box-shadow: 0px 0px 12px #0c0c0c !important; box-shadow: 0px 0px 12px #0c0c0c !important;
} }
@ -139,85 +137,4 @@ figure:hover{
display: none; display: none;
} }
@media only screen and (max-width: 576px) {
.card-thumb-label i{
font-size: 5vw;
}
.card-thumb-label {
position: absolute;
background: rgba(255,255,255,0.9);
left: 0;
bottom: 0;
padding: 3vw;
text-align: left;
width: 100%;
height: 50%;
}
.card-thumb-label h3 {
color: black;
font-size: 6.8vw;
line-height: 6.8vw;
margin: 0px 0px 1vw 0vw;
padding: 0px;
}
.card-thumb-label h4 {
color: black;
font-size: 3vw;
line-height: 3vw;
margin: 0px;
padding: 0px;
}
.card-thumbnail{
background: none;
border-radius: 0px !important;
border: none;
}
.thumbnail-body{
border-radius: 0px !important;
padding: 0vw;
display:none;
}
.thumbnail-body-mobile{
background-color: #8000ff;
padding: 1.25vw 0vw !important;
}
.card-img-top{
border-radius: 0px;
margin-bottom: 0vw;
}
.detail-btn-mobile{
background:none;
border:none;
color: white;
font-family: "pp-neue-machina", sans-serif;
font-size: 4vw;
width: 100%;
height: 100%;
text-transform: uppercase;
padding-top: 2vw !important;
}
.detail-btn-mobile .icon-enter-arrow{
display: inline-block;
position: relaitve;
margin-right: 2vw;
transition: 0.2s ease-in-out;
}
.detail-btn-mobile:hover .icon-enter-arrow{
display: inline-block;
transform: rotate(-45deg) !important;
}
}
</style> </style>