File tree Expand file tree Collapse file tree 1 file changed +84
-4
lines changed Expand file tree Collapse file tree 1 file changed +84
-4
lines changed Original file line number Diff line number Diff line change 83
83
align-items : center;
84
84
padding-top : 5em ;
85
85
margin : 0 ;
86
+ width : 100% ;
86
87
}
87
88
88
89
/* Projects */
92
93
flex-direction : column;
93
94
align-items : center;
94
95
padding-bottom : 2em ;
95
- width : 100 % ;
96
+ width : 95 % ;
96
97
}
97
98
98
99
# AltTitle {
@@ -105,7 +106,7 @@ body {
105
106
border-radius : 0.625em ;
106
107
font-family : "Lato" ;
107
108
font-size : 1em ;
108
- width : calc (95 % - 1.25em );
109
+ width : calc (100 % - 1.25em );
109
110
margin : 0 0 1em 0 ;
110
111
border : none;
111
112
}
@@ -132,7 +133,7 @@ body {
132
133
.project {
133
134
display : flex;
134
135
flex-direction : row;
135
- width : 95 % ;
136
+ width : 100 % ;
136
137
background-color : # 204359 ;
137
138
border-radius : 0.625em ;
138
139
overflow : hidden;
@@ -148,7 +149,42 @@ body {
148
149
flex-direction : column;
149
150
gap : 0.5em ;
150
151
width : 65% ;
151
- padding : 0 1em ;
152
+ padding : 1em ;
153
+ }
154
+
155
+ .ProjectTitle {
156
+ font : bold 1.5em "Lato" ;
157
+ color : # d2d9d8 ;
158
+ }
159
+
160
+ .ProjectDesc {
161
+ font : 1em "Lato" ;
162
+ color : # d2d9d8 ;
163
+ }
164
+
165
+ .buttons {
166
+ display : flex;
167
+ gap : 0.5em ;
168
+ padding : 0.5em 0 ;
169
+ justify-content : flex-end;
170
+ }
171
+
172
+ .buttons a {
173
+ padding : 0.25em 0.5em ;
174
+ border-radius : 0.625em ;
175
+ font : bold 1em "Lato" ;
176
+ text-decoration : none;
177
+ color : # 204359 ;
178
+ background-color : # d2d9d8 ;
179
+ transition : background-color 0.3s ease-in-out, color 0.3s ease-in-out,
180
+ transform 0.3s ease-in-out;
181
+ }
182
+
183
+ .buttons a : hover ,
184
+ .buttons a : active {
185
+ background-color : # a5d0e1 ;
186
+ color : # 080d0c ;
187
+ transform : scale (1.05 );
152
188
}
153
189
154
190
/* Footer */
@@ -247,4 +283,48 @@ footer textarea {
247
283
.contactform {
248
284
width : 80% ;
249
285
}
286
+ .project {
287
+ flex-direction : column;
288
+ }
289
+ .project-image {
290
+ width : 100% ;
291
+ }
292
+ .project-info {
293
+ width : calc (100% - 1em );
294
+ flex-wrap : wrap;
295
+ padding : 0.5em ;
296
+ }
297
+ .ProjectTitle {
298
+ text-align : center;
299
+ }
300
+ .buttons {
301
+ justify-content : center;
302
+ }
303
+ }
304
+
305
+ /* Tablet */
306
+ @media only screen and (min-width : 426px ) and (max-width : 768px ) {
307
+ .buttons {
308
+ padding : 0 ;
309
+ }
310
+ }
311
+
312
+ /* Laptop Xl */
313
+
314
+ @media only screen and (min-width : 1025px ) {
315
+ # AltTitle {
316
+ font-size : 3em ;
317
+ }
318
+ # searchInput {
319
+ font-size : 1.5em ;
320
+ }
321
+ .ProjectTitle {
322
+ font-size : 2em ;
323
+ }
324
+ .ProjectDesc {
325
+ font-size : 1.25em ;
326
+ }
327
+ .buttons a {
328
+ font-size : 1.25em ;
329
+ }
250
330
}
You can’t perform that action at this time.
0 commit comments