Skip to content

Commit 1db8061

Browse files
committed
style: Organize Projects.scss
1 parent 078304f commit 1db8061

File tree

1 file changed

+12
-29
lines changed

1 file changed

+12
-29
lines changed

src/Components/Projects/Projects.scss

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,16 @@ a {
2222
min-height: 100vh;
2323
text-align: center;
2424

25+
@media (max-width: 767px) {
26+
padding: 0px 10px;
27+
}
28+
2529
@media (min-width: 768px) and (max-width: 1200px) {
2630
padding: 0px 30px;
27-
margin-left: 0;
2831
}
2932

3033
@media (min-width: 1200px) {
3134
padding: 0px 40px;
32-
margin-left: 0;
33-
}
34-
35-
@media (max-width: 767px) {
36-
padding: 0px 10px;
37-
margin-left: 0;
3835
}
3936
}
4037

@@ -67,14 +64,6 @@ a {
6764
-webkit-background-clip: text;
6865
animation: gradientAnimation 5s ease infinite;
6966
font-size: inherit;
70-
71-
@media (min-width: 768px) and (max-width: 1200px) {
72-
font-size: inherit;
73-
}
74-
75-
@media (min-width: 1200px) {
76-
font-size: inherit;
77-
}
7867
}
7968

8069
@keyframes gradientAnimation {
@@ -103,15 +92,19 @@ a {
10392
position: relative;
10493
color: #fff;
10594
min-height: 200px;
106-
transition:
107-
transform 0.3s ease,
108-
box-shadow 0.3s ease;
95+
transition: transform 0.3s ease, box-shadow 0.3s ease;
10996

11097
&:hover {
11198
transform: scale(1.05);
11299
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.417);
113100
}
114101

102+
@media (max-width: 767px) {
103+
width: 90%;
104+
height: auto;
105+
min-height: 200px;
106+
}
107+
115108
@media (min-width: 768px) and (max-width: 1200px) {
116109
height: auto;
117110
min-height: 400px;
@@ -121,14 +114,6 @@ a {
121114
width: 75%;
122115
height: auto;
123116
min-height: 500px;
124-
margin-left: 0;
125-
}
126-
127-
@media (max-width: 767px) {
128-
width: 90%;
129-
height: auto;
130-
background-size: cover;
131-
min-height: 200px;
132117
}
133118
}
134119

@@ -191,9 +176,7 @@ a {
191176
color: #fff;
192177
text-decoration: none;
193178
border-radius: 5px;
194-
transition:
195-
background-color 0.3s,
196-
transform 0.3s;
179+
transition: background-color 0.3s, transform 0.3s;
197180

198181
svg {
199182
margin-right: 5px;

0 commit comments

Comments
 (0)