Template:MasteryCards/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
changed how it displays the tiers with space between. |
fixed card views for who uses the wiki on Wide and Full width |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 9: | Line 9: | ||
.mastery-card { |
.mastery-card { |
||
display: flex; |
display: flex; |
||
flex-direction: column; |
|||
background-color: #101826; |
background-color: #101826; |
||
border-radius: 10px; |
border-radius: 10px; |
||
width: 100%; |
width: 100%; |
||
max-width: 250px; |
|||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); |
||
} |
} |
||
| Line 31: | Line 32: | ||
} |
} |
||
. |
.mastery-card__content { |
||
display: flex; |
display: flex; |
||
flex-direction: column; |
flex-direction: column; |
||
Latest revision as of 10:58, 10 October 2025
.mastery-container {
display: flex;
flex-wrap: nowrap;
overflow: auto;
gap: 20px;
padding-bottom: 15px;
}
.mastery-card {
display: flex;
flex-direction: column;
background-color: #101826;
border-radius: 10px;
width: 100%;
max-width: 250px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.mastery-card__image {
width: 100%;
object-fit: cover;
border-radius: 6px 6px 0 0;
margin-bottom: 10px;
}
.mastery-card__image img {
border-radius: 6px 6px 0 0;
}
.mastery-card__header {
padding: 0 10px 10px 10px;
}
.mastery-card__content {
display: flex;
flex-direction: column;
justify-content: space-between;
flex-grow: 1;
}
.mastery-card__name {
font-size: 18px;
font-weight: bold;
color: white;
text-transform: uppercase;
}
.mastery-card__description {
color: #aaa;
font-size: 16px;
}
.mastery-card__tier-group {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
padding: 0 10px;
}
.mastery-card__tier-details {
display: flex;
flex-direction: column;
}
.mastery-card__tier {
font-weight: bold;
color: white;
}
.mastery-card__reward {
color: #a5a09c;
}
.mastery-card__requirement {
background-color: #ccc6c0;
color: black;
font-weight: 500;
width: 40px;
font-size: 14px;
text-align: center;
}