gallery/assets/css/parts/_albums.scss

65 lines
1.2 KiB
SCSS
Raw Normal View History

2024-10-24 09:52:54 +00:00
@use './_responsive.scss' as r;
.subalbums {
display: grid;
2024-10-24 10:59:53 +00:00
gap: 15px;
2024-10-24 09:52:54 +00:00
grid-template-columns: 1fr;
grid-template-columns: repeat(auto-fill, minmax(200px, 300px));
.subalbum {
display: flex;
flex-direction: column;
2024-10-24 10:59:53 +00:00
padding: 5px;
border: 1px solid lightgray;
border-radius: 10px;
2024-10-24 09:52:54 +00:00
.teaser {
2024-10-24 10:59:53 +00:00
display: flex;
2024-10-24 09:52:54 +00:00
height: 200px;
2024-10-24 10:59:53 +00:00
flex: 0 0 200px;
justify-content: center;
2024-10-24 09:52:54 +00:00
// background-color: lightgray;
border-radius: 10px;
img {
max-width: 100%;
max-height: 100%;
}
}
.title {
flex: auto 1 0;
text-align: center;
}
}
}
.breadcrumbs {
margin: 10px 0;
}
.images {
margin: 10px 0;
.download {
display: flex;
flex-direction: row;
justify-content: end;
2024-10-24 10:59:53 +00:00
margin: 10px 0 20px;
2024-10-24 09:52:54 +00:00
.button {
padding: 10px 25px;
border-radius: 10px;
2024-10-24 10:59:53 +00:00
background-color: #7181e3;
color: black;
2024-10-24 09:52:54 +00:00
font-weight: bold;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}