Skip to content

Commit

Permalink
Merge branch 'main' into Branch13
Browse files Browse the repository at this point in the history
  • Loading branch information
kashvi9 authored Aug 8, 2024
2 parents c43d9a2 + 9654f4d commit cebbdb2
Show file tree
Hide file tree
Showing 10 changed files with 855 additions and 288 deletions.
43 changes: 42 additions & 1 deletion assets/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,47 @@ input[type="password"]::-ms-reveal {
text-decoration: underline;
}

.subscribe-btn {
background-color: brown !important;
color: var(--white);
height: 4rem;
padding: 2px 20px;
border-radius: 5px;
cursor: pointer;
}
.subscribe-btn:hover{
background-color: white;
color: #000;
border: #d26d6d 2px solid;
}

#translateButton {
position: fixed;
bottom: 15px;
right: 40px;
z-index: 1000;
width: 53px;
height: 53px;
border-radius: 50%;
border: none;
background: linear-gradient(hwb(357 6% 36%), #d26d6d);
color: white;
text-align: center;
display: inline-block;
font-size: 16px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
line-height: 1;
text-align: center;
white-space: nowrap;
transition: transform 0.3s ease;
margin-top: 76.5vh;
margin-right: 0px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
body {
Expand Down Expand Up @@ -1014,7 +1055,7 @@ footer {
text-align: justify;
max-width: 600px;
margin: 0 auto;
font-size: 1.6rem;
font-size: 1.5rem;
}

.foot-middle {
Expand Down
10 changes: 5 additions & 5 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ body {
color: var(--charcoal);
padding: 8px 12px;
line-height: 2;
font-size: 17px;
transition: var(--transition-1);
}

Expand Down Expand Up @@ -1224,7 +1225,7 @@ body.dark-mode .chapter-card:hover {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
min-height: 200px;
margin-top: 100px;
}
.dark-mode .pricing-card {
Expand Down Expand Up @@ -1260,10 +1261,10 @@ body.dark-mode .chapter-card:hover {
color: rgb(255, 195, 0);
}

.pricing-card-list {
/* .pricing-card-list {
margin-block: 20px 40px;
flex-grow: 1;
}
} */

.pricing-card-list .card-item:not(:last-child) {
border-block-end: 1px solid var(--ghost-white);
Expand All @@ -1277,12 +1278,11 @@ body.dark-mode .chapter-card:hover {
color: darkred;
background-color: white;
}

.pricing-card .btn {
margin-inline: auto;
align-self: center;
margin-top: auto;
}
} */
.dark-mode .pricing-card .btn {
background-color: #8e4949 !important;
border: none !important;
Expand Down
6 changes: 6 additions & 0 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
color: #050505;
font-size: 24px;
cursor: pointer;
padding: 5px !important;
border-radius: 100%;
}

.cookie-consent .close-btn{
background: #000;
}

/*repetition*/
Expand Down
10 changes: 10 additions & 0 deletions assets/html/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,16 @@
}
}

@media only screen and (max-width: 550px) {
.about-us-block {
flex-wrap: wrap;
}

.about-us-block .about-us-community, .about-us-product, .about-us-location, .about-us-event {
width: 80% !important;
}
}

.navbar-item {
margin-top: 10px;
/* Increase the top margin of each item */
Expand Down
22 changes: 11 additions & 11 deletions assets/html/book_recommend.html
Original file line number Diff line number Diff line change
Expand Up @@ -1537,24 +1537,24 @@ <h2>Quick Links</h2>
<div id="quicklinks">
<div>
<ul>
<li class="foot-quick"><a href="#home" onclick="lenis.scrollTo('#home')">Home</a></li>
<li class="foot-quick"><a href="#benefits" onclick="lenis.scrollTo('#benefits')">Benefits</a></li>
<li class="foot-quick"><a href="#chapters" onclick="lenis.scrollTo('#chapters')">Literary Realms</a></li>
<li class="foot-quick"><a href="#pricing" onclick="lenis.scrollTo('#pricing')">Pricing</a></li>
<li class="foot-quick"><a href="./assets/html/bookrecommend.html"
onclick="lenis.scrollTo('#contact')">Recommended Book</a></li>
<li class="foot-quick"><a href="/index.html" onclick="lenis.scrollTo('#home')">Home</a></li>
<li class="foot-quick"><a href="/index.html#benefits" onclick="lenis.scrollTo('#benefits')">Benefits</a></li>
<li class="foot-quick"><a href="/index.html#chapters" onclick="lenis.scrollTo('#chapters')">Literary Realms</a></li>
<li class="foot-quick"><a href="/index.html#pricing" onclick="lenis.scrollTo('#pricing')">Pricing</a></li>
<li class="foot-quick"><a href="book_recommend.html"
onclick="lenis.scrollTo('index.html#contact')">Recommended Book</a></li>
</ul>
</div>
<div>
<ul>
<li class="foot-quick"><a href="./assets/html/booklistswap.html" onclick="lenis.scrollTo('#contact')">Swap
<li class="foot-quick"><a href="/assets/html/booklistswap.html" onclick="lenis.scrollTo('#contact')">Swap
BookList</a></li>
<li class="foot-quick"><a href="./assets/html/freeBooks.html"
<li class="foot-quick"><a href="/assets/html/freeBooks.html"
onclick="lenis.scrollTo('#contact')">E-Book</a></li>
<li class="foot-quick"><a href="./assets/html/about.html" onclick="lenis.scrollTo('#contact')">About</a>
<li class="foot-quick"><a href="/assets/html/about.html" onclick="lenis.scrollTo('#contact')">About</a>
</li>
<li class="foot-quick"><a href="#contact" onclick="lenis.scrollTo('#contact')">Contact Us</a></li>
<li class="foot-quick"><a href="#faqq" onclick="lenis.scrollTo('#faqq')">FAQ</a></li>
<li class="foot-quick"><a href="/index.html#contact" onclick="lenis.scrollTo('#contact')">Contact Us</a></li>
<li class="foot-quick"><a href="/index.html#faqq" onclick="lenis.scrollTo('#faqq')">FAQ</a></li>
</ul>
</div>
</div>
Expand Down
212 changes: 128 additions & 84 deletions assets/html/donate.html
Original file line number Diff line number Diff line change
@@ -1,102 +1,146 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Donate Books to Library</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTWgokZbPhw-4fe9FN9nSWasJFL2uZp5WdHWA&s");
background-size: cover;
background-position: center;
background-attachment: fixed;
color: #0b0000c2;
text-shadow: 1px 1px 2px #f5eded68;
}
.form-container {
max-width: 600px;
margin: auto;
background-color: rgba(
252,
216,
216,
0.6
); /* Semi-transparent background */
padding: 30px;
border-radius: 25px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
border: 4px solid black;
}

.form-container h1 {
text-align: center;
color: black;
font-size: 35px;
}

.form-group {
margin-bottom: 15px;
}

.form-group label {
display: block;
margin-bottom: 10px;
font-weight: bold;
font-size: 20px;
}

.form-group input,
.form-group select {
width: 100%;
padding: 8px;
box-sizing: border-box;
border-radius: 10px;
margin-bottom: 10px;
}

.form-group button {
display: block;
width: 60%;
padding: 10px 20px;
background-color: #8c031f;
color: white;
border: none;
cursor: pointer;
border-radius: 7px;
text-align: center;
}
.form-group button:hover {
background-color: #f6bed6;
color: black;
border: 3px solid black;
}
.thank-you-message {
display: none;
font-weight: bold;
margin-top: 20px;
color: green;
text-align: center;
font-size: 30px;
}
@media (max-width: 600px) {
body {
font-family: Arial, sans-serif;
margin: 20px;
background-image: url('https://png.pngtree.com/thumb_back/fh260/background/20230630/pngtree-contemporary-living-room-featuring-a-stunning-bookcase-and-library-furniture-visualized-image_3713550.jpg'); /* Replace 'background-image.jpg' with your image path */
background-size: cover;
background-position: center;
background-attachment: fixed;
color: #0b0000c2;
text-shadow: 1px 1px 2px #f5eded68;
margin: 10px;
}
.form-container {
max-width: 600px;
margin: auto;
background-color: rgba(246, 246, 183, 0.927); /* Semi-transparent background */
padding: 20px;
border-radius: 10px;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group input, .form-group select {
width: 100%;
padding: 8px;
box-sizing: border-box;
padding: 15px;
}
.form-group button {
padding: 10px 20px;
background-color: #81061f;
color: white;
border: none;
cursor: pointer;
}
.form-group button:hover {
background-color: #810639;
}
.thank-you-message {
display: none;
margin-top: 20px;
color: green;
.form-group input,
.form-group select {
padding: 10px;
}
}
</style>
</head>
<body>
</head>
<body>
<div class="form-container">
<h1>Donate Books to Library</h1>
<form id="donationForm">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" required>
</div>
<div class="form-group">
<label for="email">Email ID:</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="bookName">Book Name:</label>
<input type="text" id="bookName" name="bookName" required>
</div>
<div class="form-group">
<label for="library">Select Library:</label>
<select id="library" name="library" required>
<option value="">Select a Library</option>
<option value="central_library">Central Library</option>
<option value="westside_library">Westside Library</option>
<option value="eastside_library">Eastside Library</option>
</select>
</div>
<div class="form-group">
<button type="button" onclick="submitForm()">Submit</button>
</div>
</form>
<div id="thankYouMessage" class="thank-you-message">
Thank you for your contribution! We will contact you for further details.
<h1>Donate Books to Library</h1>
<form id="donationForm">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required />
</div>
<div class="form-group">
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" required />
</div>
<div class="form-group">
<label for="email">Email ID:</label>
<input type="email" id="email" name="email" required />
</div>
<div class="form-group">
<label for="bookName">Book Name:</label>
<input type="text" id="bookName" name="bookName" required />
</div>
<div class="form-group">
<label for="library">Select Library:</label>
<select id="library" name="library" required>
<option value="">Select a Library</option>
<option value="central_library">Central Library</option>
<option value="westside_library">Westside Library</option>
<option value="eastside_library">Eastside Library</option>
</select>
</div>
<div class="form-group">
<button type="button" onclick="submitForm()">Submit</button>
</div>
</form>
<div id="thankYouMessage" class="thank-you-message">
Thank you for your contribution! We will contact you for further
details.
</div>
</div>

<script>
function submitForm() {
// Hide the form
document.getElementById('donationForm').style.display = 'none';
function submitForm() {
// Hide the form
document.getElementById("donationForm").style.display = "none";

// Show thank you message
document.getElementById('thankYouMessage').style.display = 'block';
}
// Show thank you message
document.getElementById("thankYouMessage").style.display = "block";
}
</script>
</body>
</body>
</html>
Loading

0 comments on commit cebbdb2

Please sign in to comment.