Uploading starting point for website: Basic design works, content placeholders are in

This commit is contained in:
lisa committed 2024-11-16 20:10:29 +00:00
1 parent 61b01db52c
commit 3666ffd765
3 files changed
+333

No files matched your search

+78
View File
@@ -0,0 +1,78 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ChemSoft</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav class="navbar">
<div class="logo">ChemSoft</div>
<ul class="nav-links">
<li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<div class="dark-mode-toggle">
<input type="checkbox" id="toggle">
<label for="toggle"></label>
</div>
</nav>
</header>
<main>
<!-- Hero Section -->
<section class="hero">
<div class="hero-content">
<h1>Revolutionizing Chemical Software Solutions</h1>
<p>Bridging the gap between chemistry and technology with cutting-edge software.</p>
<a href="#solutions" class="btn">Explore Our Solutions</a>
</div>
<div class="hero-circle"></div>
</section>
<!-- About Section -->
<section id="about" class="about-section">
<h2>About ChemSoft</h2>
<p>
With over three decades of experience, ChemSoft Industries combines deep chemistry knowledge
with advanced programming expertise to deliver unparalleled software solutions for the chemical industry.
</p>
</section>
<!-- Services Section -->
<section id="services" class="services-section">
<h2>Our Services</h2>
<div class="services-cards">
<div class="service-card">
<h3>E-Commerce Solutions</h3>
<p>
Custom Magento webshops tailored for chemical suppliers and distributors. Streamline your online sales with our specialized e-commerce platforms.
</p>
</div>
<div class="service-card">
<h3>Chemistry Tooling</h3>
<p>
Powerful chemistry software tools developed in C and Go. From molecular modeling to reaction prediction, our tools accelerate research and development.
</p>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="contact-section">
<h2>Get In Touch</h2>
<p>Ready to revolutionize your chemical processes?</p>
<a href="#contact-form" class="btn">Contact Us</a>
</section>
</main>
<footer>
<p>© 2024 ChemSoft Industries. All rights reserved.</p>
</footer>
<script src="script.js"></script>
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
const toggle = document.getElementById('toggle');
toggle.addEventListener('change', () => {
document.body.classList.toggle('dark-mode');
});
document.querySelector('.hamburger').addEventListener('click', function () {
document.querySelector('.navbar').classList.toggle('active');
});
+245
View File
@@ -0,0 +1,245 @@
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
color: #222;
background-color: #fff;
transition: background-color 0.3s, color 0.3s;
}
/* Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.logo {
font-size: 1.5rem;
font-weight: bold;
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
}
.nav-links li {
display: inline;
}
.nav-links a {
text-decoration: none;
color: #333;
font-weight: bold;
transition: color 0.3s;
}
.nav-links a:hover {
color: #007bff;
}
/* Dark Mode Toggle */
.dark-mode-toggle {
position: relative;
}
.dark-mode-toggle input[type="checkbox"] {
display: none;
}
.dark-mode-toggle label {
display: inline-block;
width: 40px;
height: 20px;
background: #ccc;
border-radius: 20px;
cursor: pointer;
position: relative;
}
.dark-mode-toggle label::after {
content: "";
width: 18px;
height: 18px;
background: #fff;
border-radius: 50%;
position: absolute;
top: 1px;
left: 1px;
transition: 0.3s;
}
.dark-mode-toggle input:checked + label {
background: #007bff;
}
.dark-mode-toggle input:checked + label::after {
transform: translateX(20px);
}
/* Hero Section */
.hero {
display: flex;
justify-content: space-between;
align-items: center;
padding: 60px 40px;
}
.hero-content {
max-width: 600px;
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 20px;
color: #222;
}
.hero p {
font-size: 1.1rem;
margin-bottom: 20px;
color: #555;
}
.btn {
display: inline-block;
padding: 10px 20px;
font-size: 1rem;
font-weight: bold;
color: #fff;
background-color: #007bff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #0056b3;
}
/* Circle */
.hero-circle {
width: 300px;
height: 300px;
background: linear-gradient(135deg, #7b61ff, #42a5f5);
border-radius: 50%;
flex-shrink: 0;
}
/* About Section */
.about-section {
background-color: #f9f9f9;
padding: 40px;
text-align: center;
}
.about-section h2 {
font-size: 1.8rem;
margin-bottom: 20px;
}
.about-section p {
font-size: 1rem;
line-height: 1.6;
color: #555;
}
/* Services Section */
.services-section {
padding: 40px;
background-color: #fff;
text-align: center;
}
.services-section h2 {
font-size: 1.8rem;
margin-bottom: 20px;
}
.services-cards {
display: flex;
gap: 20px;
justify-content: center;
}
.service-card {
background-color: #f9f9f9;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 300px;
text-align: left;
}
.service-card h3 {
font-size: 1.4rem;
margin-bottom: 10px;
}
.service-card p {
font-size: 1rem;
color: #555;
}
/* Contact Section */
.contact-section {
background-color: #f9f9f9;
text-align: center;
padding: 40px;
}
.contact-section h2 {
font-size: 1.8rem;
margin-bottom: 10px;
}
.contact-section p {
margin-bottom: 20px;
font-size: 1rem;
color: #555;
}
/* Footer */
footer {
text-align: center;
padding: 20px;
background-color: #f9f9f9;
color: #777;
font-size: 0.9rem;
}
/* Dark Mode */
body.dark-mode {
background-color: #222;
color: #eee;
}
body.dark-mode .navbar {
background-color: #333;
}
body.dark-mode .nav-links a {
color: #ddd;
}
body.dark-mode .btn {
background-color: #4a90e2;
}
body.dark-mode .about-section,
body.dark-mode .services-section,
body.dark-mode .contact-section {
background-color: #333;
color: #ddd;
}