Created
July 18, 2019 11:57
-
-
Save fabiogiolito/5c612a56fd397fb138f95d9371178aa3 to your computer and use it in GitHub Desktop.
CSS override for Mix.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.CardGrid { | |
width: 1280px !important; | |
height: auto !important; | |
margin: 0 auto; | |
display: grid !important; | |
grid-gap: 40px; | |
grid-template-columns: repeat(4, 290px); | |
grid-template-rows: auto; | |
align-items: stretch !important; | |
} | |
.CardGrid__item { | |
position: static !important; | |
margin: 0 !important; | |
padding: 0 !important; | |
width: 100% !important; | |
transform: none !important; | |
} | |
.ArticleCard__inner { | |
display: flex; | |
flex-direction: column-reverse; | |
justify-content: flex-end; | |
height: 100%; | |
} | |
.ArticleCard--subtype-VIDEO .ArticleCard__inner { | |
flex-direction: column; | |
justify-content: flex-start; | |
} | |
.ArticleCard__title { | |
font-size: 1.3rem; | |
} | |
.ArticleCard__image { | |
width: 100%; | |
margin-top: 0 !important; | |
border-top-left-radius: 8px; | |
border-top-right-radius: 8px | |
} | |
.ArticleCard__details-container { | |
padding-top: 1.25rem; | |
padding-bottom: 0.25em; | |
margin-bottom: auto; | |
} | |
.ArticleCard__footer { | |
order: -1; | |
} | |
.ArticleCard--subtype-VIDEO .ArticleCard__footer { | |
order: 0; | |
} | |
.ArticleCard__count { | |
bottom: 0.5em; | |
right: 6em; | |
text-align: right; | |
} | |
.ArticleCard__bottom-buttons { | |
bottom: -0.75em; | |
} | |
.CollectionCard__inner { | |
height: 100%; | |
} | |
.CollectionCard__image-container { | |
border-radius: 8px; | |
height: 100%; | |
} | |
.CollectionCard__details { | |
text-shadow: 2px 2px 2px rgba(0,0,0,0.2); | |
} | |
.CollectionCard__image-overlay { | |
background: rgba(0,0,0,0.6); | |
} | |
.CollectionCard__image { | |
height: 100%; | |
} | |
.CollectionCard__positioned { | |
left: auto !important; | |
top: auto !important; | |
right: 1.5rem !important; | |
bottom: -0.75em !important; | |
} | |
.CollectionCard__subscribers-count { | |
top: auto; | |
bottom: 1.5em; | |
right: 3.5em; | |
text-align: right; | |
} | |
.AppHeader { | |
margin-top: 0; | |
transform: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment