Template:MasteryCards/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Created page with ".mastery-container { display: flex; flex-wrap: nowrap; overflow: auto; gap: 20px; padding-bottom: 15px; } .mastery-card { background-color: #101826; border-radius: 10px; width: 100%; min-width: 250px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .mastery-card__image { width: 100%; height: 140px; 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 { height:..." |
fixed card views for who uses the wiki on Wide and Full width |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 8: | Line 8: | ||
.mastery-card { |
.mastery-card { |
||
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 17: | Line 19: | ||
.mastery-card__image { |
.mastery-card__image { |
||
width: 100%; |
width: 100%; |
||
height: 140px; |
|||
object-fit: cover; |
object-fit: cover; |
||
border-radius: 6px 6px 0 0; |
border-radius: 6px 6px 0 0; |
||
| Line 28: | Line 29: | ||
.mastery-card__header { |
.mastery-card__header { |
||
| ⚫ | |||
height: 120px; |
|||
} |
|||
| ⚫ | |||
.mastery-card__content { |
|||
display: flex; |
|||
flex-direction: column; |
|||
justify-content: space-between; |
|||
flex-grow: 1; |
|||
} |
} |
||
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;
}