RIMU / static /css /index.css
C2MV's picture
Update static/css/index.css
fef073f verified
raw
history blame
3.11 kB
/* Reset CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background-color: #d6e4d9; /* Fondo suave verde selva */
color: #3e4e3b; /* Tono verde oscuro */
text-align: center;
line-height: 1.6;
}
/* Header */
header {
background: #006400; /* Verde bosque profundo */
color: white;
padding: 15px 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header .logo-container {
display: inline-block;
}
header .logo {
width: 150px;
height: auto;
}
header nav ul {
list-style: none;
display: flex;
justify-content: center;
padding: 0;
}
header nav ul li {
margin: 0 20px;
}
header nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
text-transform: uppercase;
}
header nav ul li a:hover {
text-decoration: underline;
}
/* Hero Section */
.hero {
background: #8bba76; /* Verde más suave, que evoca la naturaleza */
padding: 60px 20px;
color: #fff;
}
.hero h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.hero p {
font-size: 1.2em;
margin-bottom: 20px;
}
.cta-button {
background-color: #228b22; /* Verde hoja */
color: white;
padding: 12px 25px;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.cta-button:hover {
background-color: #1c7a1c; /* Verde más oscuro */
}
/* App Embed Section */
.app-embed {
margin: 40px 0;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.app-embed h2 {
margin-bottom: 20px;
font-size: 1.8em;
color: #333;
}
.app-frame {
width: 100%;
height: 600px;
border: none;
border-radius: 8px;
}
/* Alertas */
.alertas {
background-color: #f1f8f0; /* Fondo suave verde claro */
padding: 20px;
margin: 40px 0;
border-radius: 8px;
}
.alertas h2 {
margin-bottom: 20px;
font-size: 1.8em;
color: #333;
}
.alert-container {
max-width: 800px;
margin: auto;
text-align: left;
}
.alerta {
background-color: #ffcc00; /* Amarillo alerta */
padding: 15px;
margin-bottom: 10px;
border-radius: 5px;
}
.alerta .alerta-titulo {
font-weight: bold;
}
.alerta .alerta-fecha {
font-size: 0.9em;
color: #555;
}
/* Footer */
footer {
background: #333;
color: white;
padding: 20px 0;
}
footer p {
margin-bottom: 10px;
}
footer .social-links {
list-style: none;
display: flex;
justify-content: center;
}
footer .social-links li {
margin: 0 15px;
}
footer .social-links li a {
color: white;
text-decoration: none;
font-size: 1.2em;
}
footer .social-links li a:hover {
color: #2a9d8f;
}
/* Responsive Design */
@media (max-width: 768px) {
header nav ul {
flex-direction: column;
}
.cta-button {
padding: 10px 20px;
}
.app-frame {
height: 500px;
}
footer .social-links {
flex-direction: column;
margin-top: 10px;
}
}