summaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorArne Rief <arne.rief@gmail.com>2023-02-22 09:39:46 +0100
committerArne Rief <arne.rief@gmail.com>2023-02-22 09:39:46 +0100
commit1ad5e88a5707cec7bce6a1b593b808a5371704e3 (patch)
treef0da444fb454b278d6f293050a9a96f16cda34fa /sass
parent11f8629251a63f3a3260b9ed28277ed312abd136 (diff)
Removed redundant class
Diffstat (limited to 'sass')
-rw-r--r--sass/components/_project-container.scss17
1 files changed, 9 insertions, 8 deletions
diff --git a/sass/components/_project-container.scss b/sass/components/_project-container.scss
index 0bb8940..ae4b841 100644
--- a/sass/components/_project-container.scss
+++ b/sass/components/_project-container.scss
@@ -3,17 +3,18 @@
.project-container {
@include flex-sp-around-center;
gap: 2rem;
-}
-// mobile to smaller laptop screen sizes
-@media screen and (max-width: 1400px) {
- .project-container {
+ // mobile to smaller laptop screen sizes
+ @include responsive(laptop) {
@include flex-column-center;
gap: 5rem;
- }
- // for second project, otherwise screenshot below text-container
- .reverse-order {
- flex-direction: column-reverse;
+ /*
+ important for second project, otherwise screenshot below text-container;
+ could be done with separate class for 2nd project and flex-dir: col-reverse for media query too
+ */
+ & > img {
+ order: -1;
+ }
}
}