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

From Love and Deepspace Wiki
Content added Content deleted
No edit summary
No edit summary
Line 2: Line 2:
max-width: 350px;
max-width: 350px;
background: #eee;
background: #eee;
border: none;
border: 1px solid #ddd;
border-radius: 10px;
border-radius: 10px;
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
Line 21: Line 21:


.memory-card-section {
.memory-card-section {
padding: 0 0 1em 0;
padding: 0 0 0.75em 0;
display: grid;
display: grid;
grid-gap: 0.5em;
grid-gap: 0.5em;

Revision as of 22:55, 5 February 2024

.memory-card {
	max-width: 350px;
	background: #eee;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
}

.memory-card-header {
	max-height: 175px;
	overflow: hidden;
	border-radius: 10px;
}

.memory-card-section__header {
	font-size: 1.1em;
	font-weight: bold;
	padding: 0.5em 1em;
	text-align: center;
}

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