Skip to content

Commit

Permalink
Add Media Queries For Tablets
Browse files Browse the repository at this point in the history
  • Loading branch information
KhaledAlsaleh committed Jan 1, 2021
1 parent 69c0091 commit 46cb9f4
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 3 deletions.
1 change: 1 addition & 0 deletions debug.log
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[1224/173133.209:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1226/163210.370:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0101/043816.510:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
179 changes: 176 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ form p {
z-index: 2;
font-size: 36px;
color: white;
margin-left: -39.5vw;
margin-left: -44vw;
margin-top: 150px;
}

Expand All @@ -240,7 +240,7 @@ form p {
height: 50px;
border: 1px solid #ffd500;
border-radius: 3.125rem;
margin-left: -10vw;
margin-left: -15vw;
margin-top: 85px;
}

Expand Down Expand Up @@ -600,7 +600,7 @@ footer {

/* Media Queries */

/* Smaller Smartphones [iPhone X] */
/* Smaller Smartphones (iPhone X on Browser) */

@media (max-width: 480px) {
header {
Expand Down Expand Up @@ -945,3 +945,176 @@ footer {
padding: 15px;
}
}

/* Tablets & Larger Smartphones (iPad On Browser) */

@media (min-width: 481px) and (max-width: 768px) {
header {
justify-content: space-between;
width: 100%;
margin-top: 0px;
}
#nav {
display: none;
}
#section1 {
margin-bottom: 100px;
}
#leftDiv {
width: 60%;
margin-left: 0px;
}

#rightDiv {
width: 25%;
}

#image1 {
width: 15%;
height: 5%;
margin: 4% 0 0 50px;
}

#leftDiv > div {
width: 54%;
font-size: 1.5rem;
margin-top: 50%;
}

form {
position: relative;
}

#section2 {
display: flex;
}

#image6 {
width: 120%;
}

#image7 {
width: 100%;
margin-top: 150px;
margin-left: -110vw;
}

#section2 div {
margin-left: -95vw;
margin-top: 160px;
}

#section2 p {
display: none;
}

#section2 button {
margin-top: 225px;
}

#section3 {
padding-top: 20px;
background-color: #f0f3ff;
width: 120%;
margin-top: -10px;
}

#section3 div {
padding: 40px;
}

#section4 {
width: 120%;
margin-top: -70px;
}

#section4 div div {
margin-top: 0;
}

#section5 {
width: 120%;
}

#points {
margin-top: -33%;
margin-left: 3%;
}

#rects {
margin-left: 100vw;
margin-top: -15%;
}

#whatToLearn {
display: flex;
justify-content: space-around;
padding: 100px;
}

#whatToLearn > div {
width: 40%;
padding: 10px;
}
#whatToLearn h3 {
font-size: 30px;
}

#whatToLearn div li {
font-size: 14px;
}
#dataScience h3 {
margin-top: 0px;
}

#computerScience h3 {
margin-top: -68px;
}

#section6 {
width: 120%;
padding-bottom: 100px;
}

#section6 img {
display: flex;
}

#firstImage {
margin-left: 90vw;
margin-top: -50px;
}

#thirdImage {
margin-left: 95vw;
}

#timeToStart div {
margin-top: -350px;
font-size: 40px;
}

#timeToStart p {
font-size: 17px;
}

footer {
width: 120%;
}

#bottomFooterLeftSide {
width: 70%;
}

#bottomFooterLeftSide p {
font-size: 13px;
}

#bottomFooterRightSide {
width: 30%;
}

#bottomFooterRightSide div {
font-size: 13px;
}
}

0 comments on commit 46cb9f4

Please sign in to comment.