50 lines
No EOL
820 B
CSS
50 lines
No EOL
820 B
CSS
.drive-files {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.drive-entry {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
width: 10em;
|
|
text-align: center;
|
|
text-wrap: wrap;
|
|
word-break: break-word;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.labels {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.5rem;
|
|
}
|
|
|
|
::deep {
|
|
.drive-entry .ph {
|
|
display: block;
|
|
vertical-align: middle;
|
|
line-height: 1;
|
|
color: var(--notice-color);
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.labels .ph {
|
|
display: inline-block;
|
|
vertical-align: text-top;
|
|
}
|
|
}
|
|
|
|
img.thumbnail {
|
|
display: block;
|
|
height: 5em;
|
|
width: auto;
|
|
aspect-ratio: 3/2;
|
|
object-fit: contain;
|
|
} |