Skip to content

Commit aaa12a5

Browse files
committed
..
1 parent 8797abd commit aaa12a5

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

src/components/course-page/individual-components/python-master-course/course-title/coursetitle.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,34 @@ padding-top: 30px;
9090
.udemy-info {
9191
display: grid;
9292
grid-template-columns: 1fr;
93+
text-align: center;
9394
}
9495
.price-info .middle {
9596
display: inline-block;
96-
margin-bottom: 5px;
97+
margin-bottom: 2vh;
9798
}
99+
.price-info
100+
{
101+
text-align: center;
102+
}
103+
98104
.udemy-info a {
99105
width: max-content;
100106
margin-bottom: 10px;
107+
margin: auto;
108+
margin-top: 1vh;
101109
}
102110
iframe {
103111
width: 300px;
104112
height: 200px;
105113
}
114+
.udemy-info span
115+
{
116+
margin-top: 3vh;
117+
}
118+
.course-title-left
119+
{
120+
margin-top: -10vh;
121+
text-align: center;
122+
}
106123
}

src/components/header-banner/headerBanner.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
}
77
.header-banner-container img {
88
width: 100%;
9-
margin-left: 80px;
10-
margin-right: 80px;
9+
/* margin-left: 80px;
10+
margin-right: 80px; */
1111
}
1212
.headerImagePhone {
1313
display: none;

src/components/navbar/Navbar.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ const Navbar = () => {
77
const [active, setActive] = useState("nav__menu");
88
const [toggleicon, setToggleicon] = useState("nav__toggler");
99
const navToggle = () => {
10-
11-
if(window.scrollY >=50){
10+
if(window.scrollY >=50)
11+
{
1212
active=== 'nav__menu' ? setActive('nav__menu nav__active') : setActive('nav__menu');
1313
toggleicon=== 'nav__toggler' ? setToggleicon('nav__toggler toggle') : setToggleicon('nav__toggler');
14+
}
1415
}
15-
}
1616
const [navbar, setNavbar] = useState(false);
1717
const changeBackground = () => {
1818
if(window.scrollY >=50)

src/components/navbar/navbar.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
.border-line {
6262
display: none;
6363
}
64-
6564
.nav__brand
6665
{
6766
margin-left: 21px;
@@ -89,7 +88,7 @@
8988
}
9089
.nav__menu
9190
{
92-
gap:0;
91+
gap:0.5vh;
9392
position: fixed;
9493
justify-content: space-evenly;
9594
top: 11.8vh;
@@ -103,6 +102,7 @@
103102
transform: translateX(100%);
104103
transition: 0.5s ease-in-out;
105104
}
105+
106106
}
107107
/*Navbar Activated*/
108108
.nav__active

0 commit comments

Comments
 (0)