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

krishna image and language button homepage #515

Open
wants to merge 3 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
6 changes: 4 additions & 2 deletions devotional-resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@

.navigation .navbar {
display: flex;
margin-right: 350px !important;
margin-right: 0 !important;
justify-content: center;
}
.navigation .navbar a {
color: #fff;
Expand Down Expand Up @@ -479,8 +480,9 @@
<div class="navbar-up">
<a href="scriptures.html">Scriptures</a>
<a href="gallery.html">Gallery</a>
<a href="#" onclick="showLoginForm()">Discussion Forum</a>
<a href="discussion-forum.html" onclick="showLoginForm()">Discussion Forum</a>
<a href="devotional-resources.html" id="active">Devotional Resources</a>
<a href="avatars.html">Avatars</a>
</div>
</div>
<form class="searchForm" onsubmit="return false;">
Expand Down
4 changes: 3 additions & 1 deletion discussion-forum.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@
}
.navigation .navbar {
display: flex;
margin-right: 350px !important;
margin-right: 0 !important;
justify-content: center;
}
.navbar .navbar-up {
display: flex;
Expand Down Expand Up @@ -643,6 +644,7 @@
>Discussion Forum</a
>
<a href="devotional-resources.html">Devotional Resources</a>
<a href="avatars.html">Avatars</a>
</div>
</div>
<form class="searchForm">
Expand Down
22 changes: 15 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,16 @@
}
.content {
max-width: 900px;
margin: 100px auto;
margin: 16px auto;
padding: 20px 40px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#translateBtnDiv {
position: relative;
top: 70px;
left: 270px;
display: flex;
justify-content: center;
margin-top: 80px;
}

#translateBtn {
Expand All @@ -140,10 +140,15 @@
#translateBtn:hover {
background-position: right center;
}
.image-container{
display: flex;
justify-content: center;
margin-top: 20px;
}
.krishna-image {
margin: 10px 0px 10px 550px;
width: 27%;
height: 480px;
margin: 10px 10px 10px 10px;
width: 40%;
height: 500px;
border-radius: 15px;
transition: opacity 5s ease-in-out;
}
Expand Down Expand Up @@ -704,6 +709,7 @@
<a href="gallery.html">Gallery</a>
<a href="#" onclick="showLoginForm()">Discussion Forum</a>
<a href="devotional-resources.html">Devotional Resources</a>


<a href="quiz.html">Quiz</a>
<a href="DIgital.html">DigitalResources</a>
Expand All @@ -729,13 +735,15 @@
<div class="indexMain">
<div class="headDiv">
<h1>Shree Krishna - My Strength</h1>
<div class="image-container">
<img
src="./images/krishna-home-image.jpg"
id="krishnaImage"
class="krishna-image"
alt="Shree Krishna"
/>
</div>
</div>
<div id="translateBtnDiv">
<button onclick="toggleLanguage()" id="translateBtn">
हिंदी में पढ़ें
Expand Down