Skip to content

Commit

Permalink
edly academy UI design fixed and extra spacing on cards also fix and …
Browse files Browse the repository at this point in the history
…extra file removed
  • Loading branch information
MubeenFayyaz-Arbisoft committed May 31, 2024
1 parent e9b90b8 commit 278a64c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 115 deletions.
106 changes: 0 additions & 106 deletions layout/index2.liquid

This file was deleted.

37 changes: 28 additions & 9 deletions layout/static/css/academy.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ body {

.container {
height: 100vh;
width: 100vw;
background-color: white;
}

Expand All @@ -48,6 +47,9 @@ body {
text-transform: uppercase;
margin-right: 24px;
}
a.github-link {
margin-right: 0 !important;
}

.mobile-menu-link {
display: none;
Expand Down Expand Up @@ -112,7 +114,7 @@ ul.navbar-list li a {
}
/* main content area */
.content-area {
padding: 50px 135px 100px;
padding: 50px 135px 80px;
display: flex;
flex-direction: column;
}
Expand Down Expand Up @@ -321,15 +323,17 @@ input[type="radio"] {
display: flex;
align-items: center;
gap: 4px;
padding: 5px 15px;
padding: 7px 15px;
color: var(--white);
background-color: #3574a7;
border-radius: 6px;
text-transform: capitalize;
font-weight: 600;
width: fit-content;
}

.card-tag .guide{
width: 16px;
}
.card-title {
overflow: hidden;
display: -webkit-box;
Expand Down Expand Up @@ -376,7 +380,7 @@ input[type="radio"] {
width: 100%;
display: flex;
gap: 96px;
margin-top: 100px;
margin-top: 80px;
flex-direction: row;
}

Expand Down Expand Up @@ -632,17 +636,28 @@ pre code.hljs * {

/* mobile view */

@media only screen and (max-width: 1024px) {
.resources{
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
@media only screen and (min-width: 1440px) {
.card{
max-width: 100%;
}
}

}


@media only screen and (max-width: 1200px) {
.navbar {
padding: 12px 70px;
}
.content-area {
padding: 30px 70px 60px;
}
}
@media only screen and (max-width: 1024px) {
.resources{
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

}

.resources-heading {
font-size: 35px;
line-height: 40px;
Expand All @@ -653,6 +668,10 @@ pre code.hljs * {
.tutorials {
margin-top: 70px;
}
.card{
max-width: calc(450px - 48px);
}

}
@media only screen and (max-width: 768px) {
.github-text {
Expand Down

0 comments on commit 278a64c

Please sign in to comment.