Skip to content

Commit

Permalink
mobile styles - med res
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushsaranGithuB committed Aug 14, 2024
1 parent 5642a7d commit e22835f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 23 deletions.
9 changes: 7 additions & 2 deletions public/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,12 @@ header a {
color: var(--white-primary);
}

ul.mobile-menu {
header svg#icon-menu {
width: 30px;
cursor: pointer;
}

header .mobile-menu {
display: none;
}

Expand Down Expand Up @@ -327,7 +332,7 @@ footer .creative-commons {
}

/* MOBILE */
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 800px) {

footer .inner-content {
flex-direction: column;
Expand Down
50 changes: 29 additions & 21 deletions public/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,25 @@ div.tutorials-medium {
label.mobile-menu {
display: none;
}

/* page header */

.page-header {
grid-template-columns: 1fr;
}

.page-header h2 {
padding: 40px 20px;
font-size: 26px;
line-height: 1.4;
max-width: 80%;
word-break: keep-all;

}

.page-header .content p {
margin-bottom: 60px;
}
}

/* MOBILE */
Expand All @@ -477,11 +496,6 @@ div.tutorials-medium {
display: none;
}

header svg#icon-menu {
width: 30px;
cursor: pointer;
}

#burger-1,
#burger-2,
#burger-3 {
Expand Down Expand Up @@ -551,22 +565,7 @@ div.tutorials-medium {

/* page header */

.page-header {
grid-template-columns: 1fr;
}

.page-header h2 {
padding: 40px 20px;
font-size: 26px;
line-height: 1.4;
max-width: 80%;
word-break: keep-all;

}

.page-header .content p {
margin-bottom: 60px;
}


.secondary {
padding: 40px 0;
Expand Down Expand Up @@ -599,6 +598,15 @@ div.tutorials-medium {
width: 100%;
}

.tutorials-large .tutorial {
width: calc(100% - 50px);
}

.tutorials-large {
flex-direction: column;
row-gap: 30px;
}

.roadmap .tutorial {
margin-bottom: 20px;
flex-direction: column;
Expand Down

0 comments on commit e22835f

Please sign in to comment.