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

Anewfooter #17

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
78 changes: 62 additions & 16 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,44 +6,72 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QR CODE ID CARDS</title>
<style>
.navbar{
background-color: rgb(184, 196, 244);
.navbar {
background-color: #b8c4f4;
border-radius: 8px;
}
.navbar ul{

.navbar ul {
/* since we dont see any background color even after specifyinh, this is due to float left property. whenever we give float property, the element overflows from its parent element, to reverse that we write: */
overflow: auto;
}
.navbar li{

.navbar li {
float: left;
/* this is done to make all nav elements appear in a single horizontal line rather than a vertical list */
list-style: none; /* to remove bullets of the list elements */
margin: 13px 60px; /* vertical horizontal */
list-style: none;
/* to remove bullets of the list elements */
margin: 13px 60px;
/* vertical horizontal */
}
.navbar li a{

.navbar li a {
padding: 3px 3px;
text-decoration: none; /* in order to remove the underlines */
color: black;
text-decoration: none;
/* in order to remove the underlines */
color: black;
}
.navbar li a:hover{

.navbar li a:hover {
background-color: rgb(235, 125, 125);
color: white;
}
.search{

.search {
float: right;
color: maroon;
margin: 13px 60px;
margin: 13px 60px;
/* so that its placing is also symmetrical to other nav elements */
}
.navbar input{

.navbar input {
border: 3px solid rgb(57, 20, 92);
border-radius: 9px;
padding: 3px 10px;
width: 130px;
}

footer {
background-color: #b8c4f4;
color: #fff;
text-align: center;
padding: 10px 0;
position: fixed;
bottom: 0;
width: 100%;
}

h3{
font-family:fantasy;
color: brown;
}


.call-number a {
color: #821b1b;
/* Set the color of the phone number */
text-decoration: underline;
}
</style>
</head>

Expand All @@ -58,11 +86,29 @@
<li><a href="abd">Contact Us</a></li>
<!-- to add search bar in navigation menu: -->
<div class="search">
<input type="text" name="search" id="search" placeholder="Search within this website"> <!-- this is a searchbox -->
<input type="text" name="search" id="search" placeholder="Search within this website">
<!-- this is a searchbox -->
</div>
</ul>
</nav>
</header>


<main>
main content
</main>

<footer>
<p>&copy; 2023 QR ID Cards Website. All rights reserved.</p>
<h3>CONTACT US</h3>
<div class="call-number">
<a href="https://www.linkedin.com/search/results/all/?fetchDeterministicClustersOnly=true&heroEntityKey=urn%3Ali%3Aorganization%3A74882833&keywords=mlsac-bvp&origin=RICH_QUERY_TYPEAHEAD_HISTORY&position=0&searchId=5e4ec0c1-fd9c-49ee-ae0c-7fe77bf86a53&sid=%2C)u&spellCorrectionEnabled=true" target="_blank">LinkedIn</a> &nbsp; &nbsp;
<a href="tel:92xxxxyx10">Mobile</a> &nbsp; &nbsp;
<a href="mailto:[email protected]">Email</a> &nbsp; &nbsp;
<a href="https://www.linkedin.com/search/results/all/?fetchDeterministicClustersOnly=true&heroEntityKey=urn%3Ali%3Aorganization%3A74882833&keywords=mlsac-bvp&origin=RICH_QUERY_TYPEAHEAD_HISTORY&position=0&searchId=5e4ec0c1-fd9c-49ee-ae0c-7fe77bf86a53&sid=%2C)u&spellCorrectionEnabled=true">Useful Links</a> &nbsp; &nbsp;
<!-- new footer added now-->
</div>
</footer>

</body>

</html>