Tesla MCP Server
by scald
- docs
- css
/* Tesla MCP Server Landing Page Styles */
:root {
--primary-color: #e82127; /* Tesla Red */
--secondary-color: #333333;
--light-color: #f8f9fa;
--dark-color: #212529;
--gray-color: #6c757d;
--light-gray: #e9ecef;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
color: var(--dark-color);
background-color: var(--light-color);
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
header {
background-color: var(--dark-color);
color: white;
padding: 1rem 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.5rem;
font-weight: 700;
color: white;
text-decoration: none;
display: flex;
align-items: center;
}
.logo span {
color: var(--primary-color);
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 1.5rem;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
nav ul li a:hover {
color: var(--primary-color);
}
.hero {
background: linear-gradient(135deg, #212529 0%, #343a40 50%, #495057 100%);
color: white;
text-align: center;
padding: 8rem 2rem;
margin-top: 4rem;
position: relative;
overflow: hidden;
}
.hero::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(
circle at 20% 50%,
rgba(232, 33, 39, 0.15) 0%,
transparent 50%
),
radial-gradient(
circle at 80% 30%,
rgba(232, 33, 39, 0.1) 0%,
transparent 40%
);
z-index: 0;
}
.hero .container {
position: relative;
z-index: 1;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.2rem;
max-width: 800px;
margin: 0 auto 2rem;
}
.btn {
display: inline-block;
background-color: var(--primary-color);
color: white;
padding: 0.8rem 1.5rem;
border-radius: 5px;
text-decoration: none;
font-weight: 500;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #c41e21;
}
.btn-outline {
background-color: transparent;
border: 2px solid var(--primary-color);
color: var(--primary-color);
}
.btn-outline:hover {
background-color: var(--primary-color);
color: white;
}
section {
padding: 5rem 0;
}
.bg-light {
background-color: var(--light-gray);
}
.section-title {
text-align: center;
margin-bottom: 3rem;
}
.section-title h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.section-title p {
color: var(--gray-color);
max-width: 700px;
margin: 0 auto;
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
background-color: white;
border-radius: 10px;
padding: 2rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.feature-card:hover {
transform: translateY(-10px);
}
.feature-icon {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 1rem;
}
.feature-card h3 {
margin-bottom: 1rem;
}
.steps {
counter-reset: step-counter;
}
.step {
display: flex;
margin-bottom: 3rem;
position: relative;
}
.step-number {
flex: 0 0 80px;
height: 80px;
background-color: var(--primary-color);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: 700;
margin-right: 2rem;
}
.step-content {
flex: 1;
}
.step-content h3 {
margin-bottom: 1rem;
}
pre {
background-color: #f8f9fa;
border-radius: 5px;
padding: 1rem;
overflow-x: auto;
margin: 1rem 0;
border: 1px solid #dee2e6;
}
code {
font-family: "Courier New", Courier, monospace;
color: #212529;
}
.cta {
background-color: var(--dark-color);
color: white;
text-align: center;
}
footer {
background-color: var(--dark-color);
color: white;
padding: 3rem 0;
text-align: center;
}
.footer-links {
display: flex;
justify-content: center;
margin-bottom: 2rem;
}
.footer-links a {
color: white;
margin: 0 1rem;
text-decoration: none;
}
.footer-links a:hover {
color: var(--primary-color);
}
.social-links {
margin-bottom: 2rem;
}
.social-links a {
color: white;
font-size: 1.5rem;
margin: 0 0.5rem;
text-decoration: none;
}
.social-links a:hover {
color: var(--primary-color);
}
/* Responsive styles */
@media (max-width: 768px) {
.header-content {
flex-direction: column;
}
nav ul {
margin-top: 1rem;
}
nav ul li {
margin-left: 1rem;
margin-right: 1rem;
}
.hero {
padding: 6rem 1rem;
margin-top: 6rem;
}
.hero h1 {
font-size: 2.5rem;
}
.step {
flex-direction: column;
}
.step-number {
margin-bottom: 1rem;
margin-right: 0;
}
}