55 lines
718 B
SCSS
55 lines
718 B
SCSS
.image-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
padding: 0.5rem;
|
|
|
|
// width: 256px;
|
|
|
|
// the image
|
|
img {
|
|
width: 256px;
|
|
box-shadow: 0 0px 8px 6px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
// the title
|
|
div {
|
|
padding-top: 0.3rem;
|
|
}
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
|
|
background-color: #F0DAD6;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
|
|
.wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.justify-content {
|
|
justify-content: center;
|
|
}
|
|
|
|
.width-content {
|
|
width: max-content;
|
|
max-width: 100%;
|
|
}
|