Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added a favicon icon in title and updated the navbar and beautified the coarse,about,contact and blog page. #235

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

<body>
<section class="sub-header">
<nav><a href="index.html"><img src="./eduford_img/logo.png" alt=""></a>
<div class="nav-links id=" navLinks">
<nav class="navbar"><a href="index.html"><img src="./eduford_img/logo.png" alt=""></a>
<div class="nav-links" id="navLinks">
<i class="fa fa-time" onclick="hideMenu()"></i>
<ul>
<li><a href="index.html">HOME</a></li>
Expand Down
Binary file added eduford_img/title.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="icon" type="image/x-icon" href="/eduford_img/title.jpg">

<script src="https://kit.fontawesome.com/628003722a.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/gh/studio-freight/lenis@1.0.27/bundled/lenis.min.js"></script>
<link
Expand Down
15 changes: 10 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,26 @@ body{
nav {
display: flex;
width: 100%;
padding: 2% 6%;
/* padding: 2% 6%; */
height: 13%;
text-align: center;
justify-content: space-around;
align-items: center;
position: fixed;
top:0;
background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7));
}

nav img {
width: 150px;
margin-left: 15px;
}

.nav-links {
flex: 1;

text-align: right;
margin-right:5px;
}

.nav-links ul li {
Expand Down Expand Up @@ -464,18 +469,18 @@ h3 {

/* About us page */
.sub-header {
height: 50vh;
height: 80vh;
width: 100%;
display:flex;
justify-content: center;
align-items: center;
background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(./eduford_img/background.jpg);
background-position: center;
background-size: cover;
text-align: center;
color: #fff;
}

.sub-header h1 {
margin-top: 100px;
}

.about-us {
width: 80%;
Expand Down