162 lines
2.7 KiB
CSS
162 lines
2.7 KiB
CSS
/* Estilos básicos de reset */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Estilos generales */
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
color: #333;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
/* Encabezado y navegación */
|
|
header {
|
|
background-color: #A10F2B;
|
|
color: #fff;
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
header nav ul {
|
|
list-style: none;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
header nav ul li {
|
|
margin: 0 1rem;
|
|
}
|
|
|
|
header nav ul li a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
header nav ul li a:hover {
|
|
color: #FFD700;
|
|
}
|
|
|
|
/* Banner principal */
|
|
.banner {
|
|
color: #fff;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.banner .button {
|
|
display: inline-block;
|
|
padding: 0.5rem 1.5rem;
|
|
background-color: #FFD700;
|
|
color: #333;
|
|
margin-top: 1rem;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.banner .button:hover {
|
|
background-color: #FF6347; /* Color ligeramente más oscuro al pasar el ratón */
|
|
}
|
|
|
|
/* Secciones */
|
|
.content {
|
|
padding: 2rem;
|
|
background-color: #fff;
|
|
margin: 2rem auto;
|
|
max-width: 800px;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra más suave */
|
|
}
|
|
|
|
h2 {
|
|
color: #A10F2B;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.ideology-item {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.ideology-item h3 {
|
|
color: #FFD700;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: disc;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
/* Formularios */
|
|
form input, form textarea, form button {
|
|
display: block;
|
|
width: 100%;
|
|
margin-bottom: 1rem;
|
|
padding: 0.5rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
form button {
|
|
background-color: #A10F2B;
|
|
color: #fff;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
form button:hover {
|
|
background-color: #870d23;
|
|
}
|
|
|
|
/* Pie de página */
|
|
footer {
|
|
background-color: #333;
|
|
color: #fff;
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
footer a {
|
|
color: #FFD700;
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: #FF6347;
|
|
}
|
|
|
|
|
|
/* Ajustes para dispositivos móviles */
|
|
@media (max-width: 768px) {
|
|
.banner {
|
|
padding: 1rem; /* Reduce el padding en pantallas pequeñas */
|
|
}
|
|
|
|
.banner .button {
|
|
padding: 0.5rem 1rem; /* Botón más pequeño en pantallas móviles */
|
|
}
|
|
|
|
.banner h2 {
|
|
font-size: 1.5rem; /* Reduce el tamaño del texto en móviles */
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.banner {
|
|
padding: 1rem; /* Reduce aún más el padding en pantallas muy pequeñas */
|
|
}
|
|
|
|
.banner h2 {
|
|
font-size: 1.2rem; /* Texto aún más pequeño en pantallas pequeñas */
|
|
}
|
|
|
|
.banner .button {
|
|
font-size: 0.9rem; /* Botón más pequeño en pantallas muy pequeñas */
|
|
padding: 0.4rem 1rem;
|
|
}
|
|
}
|