Improve card image hover: center small, pan large
This commit is contained in:
@@ -161,12 +161,15 @@ button.ghost { background: transparent; border-color: #d5c7b5; color: #2c1c0d; }
|
||||
background: linear-gradient(135deg, #f0d9b5, #f6b24f);
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #f6b24f;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
width: 100%;
|
||||
display: block;
|
||||
padding: 0;
|
||||
}
|
||||
.card-visual.hovering { cursor: zoom-in; }
|
||||
|
||||
.card-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user