Bilder Aspect + name centered + Preview
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
.scrap-item:hover { transform: scale(1.04) rotate(0deg) !important; z-index: 2; }
|
||||
|
||||
.scrap-item.polaroid { padding: 10px 10px 30px; width: 220px; }
|
||||
.scrap-item.polaroid img { width: 100%; height: 190px; object-fit: cover; display: block; }
|
||||
.scrap-item.polaroid img { display: block; max-width: 100%; max-height: 260px; width: auto; height: auto; margin: 0 auto; }
|
||||
|
||||
.scrap-item.text-note { width: 220px; min-height: 160px; padding: 1.2em; background: #fef7d6; font-family: Georgia, serif; }
|
||||
|
||||
@@ -61,6 +61,9 @@
|
||||
box-shadow: var(--shadow);
|
||||
overflow: hidden;
|
||||
border: 2px dashed var(--mustard);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.cover-stickers { position: absolute; inset: 0; }
|
||||
.cover-sticker {
|
||||
@@ -75,8 +78,6 @@
|
||||
position: relative;
|
||||
z-index: 5;
|
||||
text-align: center;
|
||||
top: 42%;
|
||||
transform: translateY(-50%);
|
||||
padding: 0.6em 1.2em;
|
||||
}
|
||||
.cover-title {
|
||||
|
||||
Reference in New Issue
Block a user