Skip to content

Commit

Permalink
Add A Courses Page With Her Animations And DarkMode
Browse files Browse the repository at this point in the history
  • Loading branch information
GziXnine committed Sep 18, 2024
1 parent 5e2651d commit 7edeb54
Show file tree
Hide file tree
Showing 12 changed files with 479 additions and 82 deletions.
380 changes: 305 additions & 75 deletions courses.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/darkMode.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/darkMode.min.css.map

Large diffs are not rendered by default.

24 changes: 23 additions & 1 deletion css/darkMode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@
.plans-page,
.projects-page,
.files-page,
.friends-page {
.friends-page,
.courses-page {
background-color: #0f111a;
}

Expand Down Expand Up @@ -610,4 +611,25 @@
}
}
// ! End Friend Page
// ! Start Courses Page
.course {
background: #141824;

.instructor {
border-color: black;
}

h4 {
color: white;
}

.info {
border-color: black;

span {
color: white;
}
}
}
// ! End Courses Page
}
2 changes: 1 addition & 1 deletion css/framework.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/framework.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions css/framework.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,7 @@ div.green {
background-color: rgb(34 197 94 / 20%) !important;
}
// ! End Colors

.p-20 {
padding: 20px;
}
138 changes: 138 additions & 0 deletions css/scss/pages/_courses.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
/** @format */

// ! Import Variables
@use "../variables/colors" as *;
@use "../variables/times" as *;

// ! Import Functions
@use "../helpers/animation" as *;

// ! Import Mixins
@use "../helpers/mixin" as *;

.dashboard {
background-color: #f1f2f6;

.courses-page {
flex: 1;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
background-color: #f1f2f6;
padding: 20px;
padding-top: 0 !important;

@media (max-width: 767px) {
grid-template-columns: minmax(200px, 1fr);
gap: 10px;
padding: 10px;
}

.course {
border-radius: 6px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
-ms-border-radius: 6px;
-o-border-radius: 6px;
background: white;
position: relative;
overflow: hidden;

.cover {
width: 100%;
}

.instructor {
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
margin-top: 10px;
margin-bottom: 10px;
width: 65px;
height: 65px;
transition: $transition_time3;
-webkit-transition: $transition_time3;
-moz-transition: $transition_time3;
-ms-transition: $transition_time3;
-o-transition: $transition_time3;
border: 2px solid white;
position: absolute;
top: 15px;
left: 20px;

&:hover {
transform: scale(1.1) rotate(5deg);
-webkit-transform: scale(1.1) rotate(5deg);
-moz-transform: scale(1.1) rotate(5deg);
-ms-transform: scale(1.1) rotate(5deg);
-o-transform: scale(1.1) rotate(5deg);
}
}

h4 {
font-size: 18px;
font-weight: bolder;
margin: 10px 0 15px;
letter-spacing: -1px;
}

.description {
color: $grey-color;
font-size: 14px;
margin-top: 15px;
margin-bottom: 20px;
font-weight: 500;
line-height: 1.6;
}

.info {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13px;
color: $grey-color;
font-weight: 500;
position: relative;
padding: 15px;
border-top: 1px solid #eee;

.title {
border: none;
outline: none;
border-radius: 8px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
-ms-border-radius: 8px;
-o-border-radius: 8px;
color: white;
font-size: 13px;
padding: 4px 9px;
font-weight: 500;
position: absolute;
top: -13px;
left: 50%;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
cursor: pointer;
background-color: $blue-color;

&:hover {
background-color: $blue-alt-color;
}
}

.fa-user {
color: $blue-color;
}

.fa-dollar-sign {
color: $green-color;
}
}
}
}
}
1 change: 1 addition & 0 deletions css/scss/pages/_profile.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/** @format */
2 changes: 1 addition & 1 deletion css/style.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 7edeb54

Please sign in to comment.