suna/backend/agent/workspace/styles.css

187 lines
2.8 KiB
CSS
Raw Normal View History

2025-04-08 02:15:13 +08:00
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: #333;
}
/* Navigation */
header {
background-color: #fff;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 5%;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: #333;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li {
margin-left: 2rem;
}
.nav-links a {
text-decoration: none;
color: #333;
transition: color 0.3s;
}
.nav-links a:hover {
color: #007bff;
}
/* Main content */
main {
margin-top: 60px;
}
section {
padding: 4rem 5%;
max-width: 1200px;
margin: 0 auto;
}
/* Hero section */
.hero {
text-align: center;
padding: 6rem 5%;
background: linear-gradient(135deg, #6366f1, #a855f7);
color: white;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
}
.cta-button {
padding: 1rem 2rem;
font-size: 1.1rem;
background-color: white;
color: #333;
border: none;
border-radius: 5px;
cursor: pointer;
transition: transform 0.3s;
}
.cta-button:hover {
transform: translateY(-2px);
}
/* Services section */
.service-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.card {
padding: 2rem;
background-color: white;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.card:hover {
transform: translateY(-5px);
}
/* Contact form */
.contact {
background-color: #f8f9fa;
}
#contact-form {
display: flex;
flex-direction: column;
max-width: 600px;
margin: 2rem auto;
gap: 1rem;
}
#contact-form input,
#contact-form textarea {
padding: 0.8rem;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}
#contact-form textarea {
height: 150px;
resize: vertical;
}
#contact-form button {
padding: 1rem;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#contact-form button:hover {
background-color: #0056b3;
}
/* Footer */
footer {
text-align: center;
padding: 2rem;
background-color: #333;
color: white;
}
/* Responsive design */
@media (max-width: 768px) {
.nav-links {
display: none;
}
.hero h1 {
font-size: 2rem;
}
.hero p {
font-size: 1rem;
}
section {
padding: 2rem 5%;
}
}