site-sophistry/sass/css/style.scss

55 lines
718 B
SCSS
Raw Normal View History

2022-09-28 11:42:00 +00:00
.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%;
}