37 lines
784 B
CSS
37 lines
784 B
CSS
#files {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
|
|
grid-auto-rows: 15em;
|
|
gap: 0.8em;
|
|
place-items: center;
|
|
|
|
.file {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
width: 100%;
|
|
height: 100%;
|
|
text-decoration: none;
|
|
color: black;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
padding: 0.4em;
|
|
border-radius: 1.2em;
|
|
|
|
&:hover {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
img {
|
|
width: 10em;
|
|
height: 10em;
|
|
}
|
|
|
|
.title {
|
|
overflow-wrap: anywhere;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
} |