183 lines
3.5 KiB
CSS
183 lines
3.5 KiB
CSS
:root {
|
|
--navbar-footer-color: #5d9dd1;
|
|
--font-size-formha: 1.2rem;
|
|
}
|
|
|
|
|
|
.navbar-custom {
|
|
background-color: var(--navbar-footer-color) !important;
|
|
font-size: var(--font-size-formha);
|
|
padding-top: 15px;
|
|
padding-bottom: 15px;
|
|
/* min-height: 80px; */
|
|
|
|
& .navbar-brand, .nav-link {
|
|
color: white !important;
|
|
}
|
|
|
|
& .navbar-toggler-icon {
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
|
|
}
|
|
|
|
& .navbar-nav .nav-item .nav-link {
|
|
position: relative;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Efecto de hover */
|
|
& .navbar-nav.effect-3 .nav-item .nav-link:before,
|
|
& .navbar-nav.effect-3 .nav-item .nav-link:after {
|
|
content: "";
|
|
height: 1px;
|
|
width: 0;
|
|
opacity: 0;
|
|
background-color: #fff;
|
|
position: absolute;
|
|
transition: all .4s;
|
|
}
|
|
|
|
& .navbar-nav.effect-3 .nav-item .nav-link:before {
|
|
top: 0px;
|
|
}
|
|
|
|
& .navbar-nav.effect-3 .nav-item .nav-link:after {
|
|
bottom: 0px;
|
|
right: 0;
|
|
}
|
|
|
|
/* Aplicar el efecto de hover al enlace activo */
|
|
& .navbar-nav.effect-3 .nav-item .nav-link.active:before,
|
|
& .navbar-nav.effect-3 .nav-item .nav-link.active:after {
|
|
width: calc(100% + 0px);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Aplicar el efecto de hover al hacer hover */
|
|
& .navbar-nav.effect-3 .nav-item .nav-link:hover:before,
|
|
& .navbar-nav.effect-3 .nav-item .nav-link:hover:after {
|
|
width: calc(100% + 0px);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
& li.nav-item {
|
|
margin-left: 1em;
|
|
margin-right: 1em;
|
|
}
|
|
|
|
}
|
|
|
|
.logo {
|
|
background-color: white;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
|
|
/* Animación de rotar el svg */
|
|
& .logo svg {
|
|
animation: rotar 5s linear infinite;
|
|
}
|
|
|
|
/* Definición de la animación */
|
|
@keyframes rotar {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Estilos personalizados para el footer */
|
|
|
|
.footer {
|
|
background-color: var(--navbar-footer-color);
|
|
font-size: var(--font-size-formha);
|
|
color: white;
|
|
padding: 3rem 0;
|
|
|
|
& .img-cont{
|
|
padding: 0.25em;
|
|
background-color: white;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
|
|
.footer h5 {
|
|
color: #f8f9fa;
|
|
margin-bottom: 1.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.footer a {
|
|
color: #bdc3c7;
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.footer a:hover {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.social-icons a {
|
|
display: inline-block;
|
|
margin-right: 15px;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Smartphones (hasta 767px) */
|
|
@media (max-width: 767px) {
|
|
/* body{ background-color: black; } */
|
|
.logo {
|
|
padding: 2px;
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
}
|
|
}
|
|
|
|
/* Tablets (768px - 1023px) */
|
|
@media (min-width: 768px) and (max-width: 1023px) {
|
|
/* body{ background-color: pink; } */
|
|
.logo {
|
|
padding: 4px;
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
}
|
|
}
|
|
|
|
/* Laptops (1024px - 1439px) */
|
|
@media (min-width: 1024px) and (max-width: 1439px) {
|
|
/* body{ background-color: purple; } */
|
|
.logo {
|
|
padding: 6px;
|
|
width: 3em;
|
|
height: 3em;
|
|
}
|
|
}
|
|
|
|
/* PCs de escritorio (1440px - 1919px) */
|
|
@media (min-width: 1440px) and (max-width: 1919px) {
|
|
/* body{ background-color: greenyellow; } */
|
|
.logo {
|
|
padding: 4px;
|
|
width: 3em;
|
|
height: 3em;
|
|
}
|
|
}
|
|
|
|
/* Pantallas Ultrawide (1920px en adelante) */
|
|
@media (min-width: 1920px) {
|
|
/* body{ background-color: red; } */
|
|
.logo {
|
|
padding: 6px;
|
|
width: 3.5em;
|
|
height: 3.5em;
|
|
}
|
|
}
|