Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MasteryCards/styles.css: Difference between revisions

Template page
Content deleted Content added
No edit summary
Dread (talk | contribs)
fixed card views for who uses the wiki on Wide and Full width
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
border-radius: 10px;
border-radius: 10px;
width: 100%;
width: 100%;
min-width: 250px;
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 32: Line 32:
}
}


.master-card__content {
.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;
}