Skip to content

Commit

Permalink
Merge pull request #510 from iamRabia-N/homepage_navbar_issue
Browse files Browse the repository at this point in the history
homepage_navbar_issue_code
  • Loading branch information
MattCSmith committed Mar 13, 2023
2 parents 9ef2e98 + 7904654 commit c4af8b9
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 4 deletions.
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora|Montserrat&display=swap">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.2/dist/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="icon" href="resources/images/ZTM_logo.png" />
<link rel="stylesheet" href="./resources/style/scrollbar.css">
<link rel="stylesheet" href="resources/style/particles.css">
Expand All @@ -18,6 +18,8 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cookie&family=Kanit&family=Ubuntu&display=swap" rel="stylesheet">
<!-- Addition of modified homepage css page -->
<link rel="stylesheet" href="modified_homepage_css.css">

<!-- Dark Mode -->
<link rel='stylesheet' type='text/css' href='resources/style/themeToggle.css'>
Expand All @@ -26,8 +28,7 @@

<!-- AOS -->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<!-- <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"> -->
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">

<!-- CSS for Home -->
Expand Down Expand Up @@ -114,7 +115,7 @@ <h1>
</div>
</div>
</div>
<h1 style="color:blue; font-family: 'Ubuntu', sans-serif;">
<h1 style="color: blue; font-family: 'Ubuntu', sans-serif; line-height: 55px; font-weight: 900; font-size: 8rem;">
<a ><span >Zero To Mastery</span></a>
</h1>

Expand Down
64 changes: 64 additions & 0 deletions modified_homepage_css.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
.navbar-collapse ul li{
padding: -10px;
}
@media (min-width: 992px) {
.navbar-expand-lg .navbar-collapse {
margin-left: 161px;
}
}
.navbar-brand {
display: inline-block;
padding-top: 0.3125rem;
margin-right: 1rem;
margin-left: 10px;
}
.navbar-brand img {
height: 55px;
}
.navbar-collapse ul li {
padding: 0px 0rem;
}
.navbar-collapse ul li a{
color: white;
}
nav a {
color: white !important;
}
nav {
background-color: #00000000;
}
.theme-toggle-container span {
font-size: 0.75rem;
color: white;
}
#navbar__custom #headerText {
font-size: 10px;
margin-right: 21px;
}
.theme-toggle {
position: relative;
display: inline-block;
width: 44px !important;
height: 23px !important;
}
.theme-toggle-container span {
font-size: 0.8rem !important;
}

.navv{
color: blue;
font-family: 'Ubuntu', sans-serif;
line-height: 55px;
font-weight: 900;
font-size: 8rem;
}
#course-button{
background: #e0cfb8;
font-weight: bold;
margin-top: 20px;
}
#course-button:hover {
background-color: #081020c7;
color: #fff;
transform: scale(1.2);
}

0 comments on commit c4af8b9

Please sign in to comment.