Template:Memory card/styles.css: Difference between revisions
From Love and Deepspace Wiki
Content added Content deleted
mNo edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.memory-card { |
.memory-card { |
||
max-width: |
max-width: 300px; |
||
background: # |
background: #efefef; |
||
border: 1px solid # |
border: 1px solid #eee; |
||
border-radius: |
border-radius: 5px; |
||
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0. |
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.4); |
||
margin: auto; |
|||
padding: 0.25em; |
|||
} |
} |
||
.memory-card-header { |
.memory-card-header { |
||
padding: 0.25em; |
|||
max-height: 175px; |
|||
overflow: hidden; |
|||
border-radius: 10px 10px 0 0; |
|||
} |
} |
||
Latest revision as of 01:39, 19 February 2024
.memory-card {
max-width: 300px;
background: #efefef;
border: 1px solid #eee;
border-radius: 5px;
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.4);
margin: auto;
padding: 0.25em;
}
.memory-card-header {
padding: 0.25em;
}
.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);
}