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

changed background image of website and changed logo of website #379

Open
wants to merge 2 commits into
base: main
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
Binary file added Main_img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 35 additions & 37 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,27 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Maa-Vimala</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>

<body id="body">
<header>
<nav class="navbar">
<h1 id="logoName">Maa-Vimala</h1>
<ul class="nav-links">
<li><i class="fa-solid fa-house"></i><a href="#home"> Home </a></li>
<li><i class="fa-solid fa-info-circle"></i><a href="#about"> About Us </a></li>
<li><i class="fa-solid fa-concierge-bell"></i><a href="#services"> Services </a></li>
<li><i class="fa-solid fa-star"></i><a href="#reviews"> Reviews </a></li>
<li><i class="fa-solid fa-envelope"></i><a href="#contact"> Contact Us </a></li>
</ul>
</nav>
</header>
<header>
<nav class="navbar">
<h1 id="logoName"><img src="./MAA-VIMALAlogo.png" alt="" width="50" height="50"></h1>
<ul class="nav-links">
<li><i class="fa-solid fa-house"></i><a href="#home"> Home </a></li>
<li><i class="fa-solid fa-info-circle"></i><a href="#about"> About Us </a></li>
<li><i class="fa-solid fa-concierge-bell"></i><a href="#services"> Services </a></li>
<li><i class="fa-solid fa-star"></i><a href="#reviews"> Reviews </a></li>
<li><i class="fa-solid fa-envelope"></i><a href="#contact"> Contact Us </a></li>
</ul>
</nav>
</header>
<!-- <div>
<div class="nav-info">
<p id="time">22 : 33 AM</p>
Expand All @@ -38,27 +41,22 @@ <h1 id="logoName">Maa-Vimala</h1>
</div> -->
</div>
<div>
<div>
<div>
<h1 id="search-txt">Start Typing To Search...</h1>
</div>
<!-- <input type="text" name="" id="input_text"> -->
<div class="search-container">
<input type="text" id="input_text" class="search-bar" placeholder="">
<i class="fas fa-search search-icon"></i>
</div>
</div>
<div>
<ul id="content" class="max-h-[300px] overflow-y-scroll">
<!-- <li>Search On<div>
<i class="fa fa-google"></i>
<i class="fa fa-youtube"></i>
</div></li>
<li>Wikipedia</li>
<li>Maths</li>
<li>Word Search</li> -->
</ul>
</div>


<label class="search">

<div class="one">
<div class="two">
<div class="three">
<input type="search" class="four" placeholder="Search here" />
</div>
<div class="stick"></div>
</div>
</div>

</label>
</div>

<div id="loader"></div>
<div class="result" id="result">
</div>
Expand All @@ -77,10 +75,10 @@ <h1 id="search-txt">Start Typing To Search...</h1>
const year = currentDate.getFullYear();
const hour = currentDate.getHours();
const minute = currentDate.getMinutes();
var months = [ "Jan", "Feb", "March", "April", "May", "June",
"July", "Aug", "Sep", "Oct", "Nov", "Dec" ];
var months = ["Jan", "Feb", "March", "April", "May", "June",
"July", "Aug", "Sep", "Oct", "Nov", "Dec"];
let timeext;
hour < 12? timeext = "AM" : timeext = "PM";
hour < 12 ? timeext = "AM" : timeext = "PM";
setInterval(() => {
time.innerText = hour + " : " + minute + " " + timeext;
}, 60000);
Expand Down
14 changes: 8 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background-image: url('https://images.pexels.com/photos/36717/amazing-animal-beautiful-beautifull.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
background-image: url(./Main_img.jpg);
color: #ddd;
background-repeat: no-repeat;
background-size: cover;
Expand All @@ -9,10 +9,11 @@ body {
font-family: "Poppins", sans-serif;
}

/*#logoName{

.logoName{
font-size: 2rem;
font-weight: 600;
}*/
}

.container {
display:grid;
Expand Down Expand Up @@ -130,6 +131,7 @@ button {
100% { transform: rotate(360deg); }
}


.search-container {
position: relative;
border-bottom: 2px solid rgb(196, 196, 196);
Expand Down Expand Up @@ -193,7 +195,7 @@ button {

@media screen and (max-width: 600px){
body{
background-image: url('https://images.pexels.com/photos/1368382/pexels-photo-1368382.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
background-image: url(./Main_img.jpg);
color: #ddd;
background-repeat: no-repeat;
background-size:100vh;
Expand Down Expand Up @@ -221,7 +223,7 @@ button {
margin-left: 90px;
}
body {
background-image: url('https://images.pexels.com/photos/36717/amazing-animal-beautiful-beautifull.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
background-image: url('./Main_img.jpg');
color: #ddd;
background-repeat: no-repeat;
background-size: cover;
Expand Down Expand Up @@ -465,7 +467,7 @@ button {

@media screen and (max-width: 600px){
body{
background-image: url('https://images.pexels.com/photos/1368382/pexels-photo-1368382.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
background-image: url('./Main_img.jpg');
color: #ddd;
background-repeat: no-repeat;
background-size:100vh;
Expand Down