Skip to content
Merged
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
44 changes: 36 additions & 8 deletions Website/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@
transition: width 0.09s ease-in-out;
border-radius: 10px;
}
.dark-mode .content{
/* .dark-mode .content{
background-color: white;
}
.dark-mode .title{
color: #333;
}
.dark-mode .paragraph{
color: #555;
}
} */
</style>
</head>
<body class="da">
<body class="da">
<div id="progress-container">
<div id="progress-bar"></div>
</div>
Expand Down Expand Up @@ -80,26 +80,42 @@
<li><a href="Feedback.html">Feedback</a></li>
<li><a href="contact.html">Contact</a></li>
<!-- Dropdown on navbar -->
<li class="dropdown">
<!-- Inside your <ul class="nav-links"> -->
<li class="dropdown">
<a href="#" class="dropbtn">Know More</a>
<div class="dropdown-content">
<a href="https://github.com/recodehive">How we work?</a>
<a href="https://github.com/recodehive">Projects</a>
<a href="https://github.com/recodehive">Team</a>
<a href="conduct.html">Code of Conduct</a>
</div>
</li>

<!-- <li class="dropdown">
<button id="dropdownButton" class="dropbtn">Know More</button>
<div id="dropdownMenu" class="dropdown-content">
<a href="https://github.com/recodehive">How we work?</a>
<a href="https://github.com/recodehive">Projects</a>
<a href="https://github.com/recodehive">Team</a>
<a href="conduct.html">Code of Conduct</a>
</div>
</li>
</li> -->
<div class="nav-icons">
<li>
<a href="https://github.com/recodehive/machine-learning-repos" target="_blank">
<img src="assets/images.png" alt="GitHub"> <!-- GitHub Icon -->
</a>
</li>
<li>
<li>
<div>
<img src="/Website/sun-solid (1).svg" id="icon">
</div>
</li>
<!-- <li>
<button id="toggle-dark-mode" title="Use Ctrl+Q to toggle themes easily">
<i class="fas fa-moon"></i>
</button>
</li>
</li> -->
</div>
</ul>
<div class="line" id="line">
Expand Down Expand Up @@ -135,5 +151,17 @@ <h2>Contact Us</h2>
<button onclick="window.location.href='index.html'" class="back-button">Back to Home</button>
</div>
</main>
<script>
var icon=document.getElementById("icon");
icon.onclick=function(){
document.body.classList.toggle("dark-theme");
if(document.body.classList.contains("dark-theme")){
icon.src="/Website/moon-solid.svg" ;
}
else{
icon.src="/Website/sun-solid (1).svg";
}
}
</script>
</body>
</html>
</html>
139 changes: 109 additions & 30 deletions Website/css/contact.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* General Styles */
body {
/* body {
font-family: Arial, sans-serif;
background-color: #0a0a2e;
font-family: 'Arial', sans-serif;
Expand All @@ -9,9 +9,30 @@ body {
justify-content: center;
align-items: center;
height: 100vh;
} */


body {
background-color: var(--primary-color, #fff);
color: var(--secondary-color, #111);
transition: background-color 0.3s, color 0.3s;
}

.dark-theme {
--primary-color: #111112;
--secondary-color: #fff;
}


#icon {
width: 19px;
cursor: pointer;
border-color: #06fdfd;

}

header {
background-color: #121245;
background-color: rgb(99, 99, 241);
padding: 10px 20px;
animation: fadeIn 1s ease-in-out;
}
Expand Down Expand Up @@ -106,7 +127,8 @@ header {
right: 0;
gap: 10px;
width: 100%;
background-color: #13034f;
background-color: rgb(99, 99, 241);
/* background-color: #13034f; */
opacity: 0;
visibility: hidden;
transform: translateY(-20px);
Expand Down Expand Up @@ -151,24 +173,74 @@ header {
filter: brightness(0) invert(1);
margin-top: -5px;
}
/* Dropdown Container */
.dropdown {
position: relative;
display: inline-block;
}

/* Dropdown Button Style */
.dropbtn {
font-size: 16px;
color: white;
font-weight: bold;
background-color: inherit;
font-family: inherit;
border: none;
cursor: pointer;
padding: 10px 15px;
text-decoration: none;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f0f4f8;
min-width: 160px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1;
border-radius: 5px;
}

/* Dropdown Content Links */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}

.dropdown-content a:hover {
background-color: #0066cc; /* Hover effect */
color: white;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
display: block;
}


/* Dropdown */
.dropdown {
/* .dropdown {
float: left;
overflow: hidden;
}
margin-right: 30px;
}

.dropbtn {
.dropbtn {
font-size: 16px;
border: none;
outline: none;
color: white;
font-weight: bold;
background-color: inherit;

font-family: inherit;
margin: 0;
background-color: inherit;
cursor: pointer;
}
}

.dropdown-content {
display: none;
Expand All @@ -177,29 +249,29 @@ header {
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}

.dark-mode .dropdown-content {
}
*/
/* .dark-mode .dropdown-content {
background-color: #170179;
}
} */

.dropdown-content a {
/* .dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}

} */
/* Hover Effect for Dropdown Items */
.dropdown-content a:hover {
/* .dropdown-content a:hover {
color: #0066cc;
}

.dropdown:hover .dropdown-content {
display: block;
}
} */

/* .dropdown:hover .dropdown-content {
display: inline-block;
} */

.show {
display: block;
}
Expand Down Expand Up @@ -257,13 +329,15 @@ header {

/* Contact Form Container */
.contact-container {
background-color: #0b065f; /* Darker blue for form background */
background-color: rgb(99, 99, 241);
/* background-color: #0b065f; Darker blue for form background */
padding: 40px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(243, 246, 246, 0.2);
max-width: 500px;
width: 100%;
text-align: center;

transition: transform 0.3s ease, box-shadow 0.3s ease;
}

Expand All @@ -274,8 +348,9 @@ header {

.contact-container h2 {
margin-bottom: 20px;
font-size: 24px;
color: #ffffff; /* White title for contrast */
color: #0e08d3;
font-size: 29px;

}

.contact-container p {
Expand Down Expand Up @@ -305,23 +380,25 @@ textarea {
font-size: 16px;
width: 100%;
box-sizing: border-box;
background-color: #110769; /* Darker blue text field background */
background-color: rgb(99, 99, 241);

/* background-color: #110769; Darker blue text field background */
color: #ffffff; /* White text in the fields */
transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
background-color: #0d0891; /* Slightly lighter blue on hover */
background-color: #0e08d3; /* Slightly lighter blue on hover */
border-color: #0bc1f9; /* Lighter blue border on hover */
box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); /* White shadow on hover */
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
background-color: #0d0891; /* Lighter blue background when focused */

border-color: #05d1fa; /* Light blue border on focus */
outline: none;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* Stronger white shadow when focused */
Expand All @@ -332,7 +409,9 @@ textarea {
}

button {
background-color: #416f77;
background-color: #c25be1;
background-color: #180de4;
height: 40px;
color: white;
border: none;
border-radius: 5px;
Expand All @@ -351,7 +430,7 @@ button:hover {
/* Back to Home Button Styles */
.back-button {
margin-top: 20px;
background-color: #5048eb;
background-color: #180de4;
color: white;
padding: 10px 20px;
border: none;
Expand Down
1 change: 1 addition & 0 deletions Website/moon-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Website/sun-solid (1).svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading