Template:Card/styles.css: Difference between revisions
From WikiMSK
(Blanked the page) Tag: Blanking |
No edit summary |
||
Line 1: | Line 1: | ||
.card { | |||
margin: 0 0.2rem 0.4rem 0.2rem; | |||
min-width: 240px; | |||
max-width: 100%; | |||
display: flex; | |||
font-size: 0.875rem; | |||
flex-grow: 1; | |||
flex-direction: column; | |||
justify-content: space-between; | |||
box-sizing: border-box; | |||
border: 1px solid #eaecf0; | |||
background-color: white; | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06); | |||
transition: box-shadow 0.2s ease; | |||
padding:1.2em; | |||
} | |||
.card:hover { | |||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.0475), 0 6px 6px rgba(0, 0, 0, 0.0575); | |||
} |
Revision as of 08:12, 1 May 2021
.card {
margin: 0 0.2rem 0.4rem 0.2rem;
min-width: 240px;
max-width: 100%;
display: flex;
font-size: 0.875rem;
flex-grow: 1;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
border: 1px solid #eaecf0;
background-color: white;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06);
transition: box-shadow 0.2s ease;
padding:1.2em;
}
.card:hover {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.0475), 0 6px 6px rgba(0, 0, 0, 0.0575);
}