Compare commits

...

2 Commits

3 changed files with 46 additions and 5 deletions

View File

@ -1,13 +1,12 @@
.photo-grid { .photo-grid {
display: flex; display: flex;
justify-content: center; justify-content: space-evenly;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
margin-left: 50px;
margin-right: 50px;
.photo-grid-thumb-container { .photo-grid-thumb-container {
max-width: 30%; margin: 10px 0;
margin: 10px;
.photo-grid-thumb { .photo-grid-thumb {
position: relative; position: relative;
left: 50%; left: 50%;
@ -18,3 +17,38 @@
} }
} }
} }
@media only screen and (min-width: 1500px) {
.photo-grid {
.photo-grid-thumb-container {
width: 23%;
}
}
}
@media only screen and (max-width: 1499px) and (min-width: 1000px) {
.photo-grid {
.photo-grid-thumb-container {
width: 30%;
}
}
}
@media only screen and (max-width: 999px) and (min-width: 700px) {
.photo-grid {
.photo-grid-thumb-container {
width: 44%;
}
}
}
@media only screen and (max-width: 699px) {
.photo-grid {
.photo-grid-thumb-container {
margin: 10px 10px 0 10px;
width: 100%;
}
}
}

View File

@ -1,4 +1,5 @@
import PhotoGrid from '../photoDisplays/PhotoGrid'; import PhotoGrid from '../photoDisplays/PhotoGrid';
import './Portfolio.scss';
const images = [{ const images = [{
id: 0, id: 0,

View File

@ -0,0 +1,6 @@
@media only screen and (min-width: 700px) {
.portfolio-section {
padding-left: 100px;
padding-right: 100px;
}
}