Template:Memory icon card/styles.css: Difference between revisions

From Love and Deepspace Wiki
Content added Content deleted
(Elaeagnifolia changed the content model of the page Template:Memory icon card/styles.css from "wikitext" to "Sanitized CSS")
Tag: content model change
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
border-radius: 5px;
border-radius: 5px;
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.4);
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.4);
margin: auto;
padding: 0.25em;
padding: 0.25em;
text-align: center;
}
}


.memory-icon-card-header {
.memory-icon-card-header {
padding: 0.25em;
padding: 0.25em;
text-align: center;
}
}


Line 22: Line 23:
display: grid;
display: grid;
grid-gap: 0.25em;
grid-gap: 0.25em;
grid-template-columns: repeat(6, 1fr);
grid-template-columns: repeat(4, 1fr);
}
}

Latest revision as of 23:39, 19 February 2024

.memory-icon-card {
	max-width: 150px;
	background: #efefef;
	border: 1px solid #eee;
	border-radius: 5px;
	box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.4);
	padding: 0.25em;
	text-align: center;
}

.memory-icon-card-header {
	padding: 0.25em;
	text-align: center;
}

.memory-icon-card-section__header {
	font-weight: bold;
	text-align: center;
}

.memory-icon-card-section {
	padding: 0 0 0.75em 0;
	display: grid;
	grid-gap: 0.25em;
	grid-template-columns: repeat(4, 1fr);
}