Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit 3fa97e4

Browse files
delete some extra media quieries inside project.css file
1 parent 2ec1d35 commit 3fa97e4

File tree

1 file changed

+14
-136
lines changed

1 file changed

+14
-136
lines changed

MultiPage-Clone/css/project.css

Lines changed: 14 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,8 @@ ul {
207207
background-color: var(--clr-Black);
208208
}
209209
}
210-
@media screen and (min-width: 1200px) {
210+
211211
main {
212-
margin-top: 9rem;
213212
width: 100vw;
214213
height: auto;
215214
background-color: var(--clr-Dark-beige);
@@ -332,143 +331,22 @@ ul {
332331
font-size: 21px;
333332
text-decoration: none;
334333
}
335-
}
336334

337-
@media screen and (min-width: 900px) {
338-
main {
339-
margin-top: 9rem;
340-
width: 100vw;
341-
height: auto;
342-
background-color: var(--clr-Dark-beige);
343-
}
344335

345-
nav {
346-
height: 150px;
347-
}
348-
349-
.empty {
350-
height: 20px;
351-
visibility: hidden;
352-
}
353-
354-
.project-text {
355-
display: flex;
356-
justify-content: center;
357-
align-items: center;
358-
gap: 7px;
359-
padding: 1rem;
360-
}
361-
362-
.project-text p {
363-
width: 1.2rem;
364-
height: 1.2rem;
365-
}
366-
367-
.project-text span {
368-
font-family: poppins;
369-
font-size: 2rem;
370-
font-weight: bold;
371-
}
372-
373-
.box {
374-
width: 0.8rem;
375-
height: 0.8rem;
376-
background-color: var(--clr-Royal-blue);
377-
}
378-
379-
.top-paragraph {
380-
margin-top: 0;
381-
width: 60%;
382-
font-size: 1.2rem;
383-
height: 124px;
384-
margin-left: auto;
385-
font-family: Quicksand;
386-
margin-right: auto;
387-
letter-spacing: 2px;
388-
}
389-
.main-container {
390-
display: flex;
391-
flex-direction: column;
392-
justify-content: center;
393-
align-items: center;
394-
margin-top: 0.3rem;
395-
gap: 1.8rem;
396-
}
397-
398-
.container {
399-
background-color: var(--clr-White);
400-
border-radius: 3px;
401-
box-shadow: 0 1px 1px var(--clr-Black);
402-
display: grid;
403-
grid-template-columns: 1fr 1fr;
404-
width: 750px;
405-
height: 404px;
406-
}
407-
.container p {
408-
padding: 0.6rem;
409-
font-family: Quicksand;
410-
font-size: 0.99rem;
411-
letter-spacing: 0.5px;
412-
}
413-
.small-box {
414-
width: 10px;
415-
height: 50px;
416-
background-color: var(--clr-Royal-blue);
417-
margin: 0;
418-
padding: 0;
419-
}
420-
421-
.box-one {
422-
grid-column: 1 / 2;
423-
grid-row: 1 / 2;
424-
display: flex;
425-
align-items: flex-start;
426-
margin-top: 1.7rem;
427-
}
428-
429-
.container p {
430-
grid-column: 1 / 2;
431-
grid-row: 2 / 3;
432-
padding: 1rem;
433-
font-size: 1.3rem;
434-
margin-top: 0;
435-
}
436-
437-
.text-content {
438-
margin-left: 0.5rem;
439-
}
440-
441-
.box-two {
442-
grid-column: 2 / 3;
443-
grid-row: 1 / 3;
444-
align-self: center;
445-
height: 100%;
446-
display: flex;
447-
justify-content: flex-end;
448-
}
449-
450-
.box-two img {
451-
width: 320px;
452-
height: 404px;
453-
text-align: end;
454-
object-fit: cover;
455-
}
456-
457-
.social-icons {
458-
display: flex;
459-
justify-content: center;
460-
gap: 25px;
461-
}
462-
463-
.social-link {
464-
color: var(--clr-Black);
465-
font-size: 21px;
466-
text-decoration: none;
467-
}
468-
}
469-
470-
/* .................. Main for 400px..............*/
336+
@media screen and (min-width: 770px) {
337+
main{
338+
margin-top: 10rem;
339+
}
340+
.main-container {
341+
margin-top: 4rem;
342+
}
343+
}
344+
345+
/* .................. Main for 768px..............*/
471346
@media screen and (max-width: 768px) {
347+
nav {
348+
height: 100px;
349+
}
472350
main {
473351
width: 100vw;
474352
height: auto;

0 commit comments

Comments
 (0)