mirror of
https://github.com/Lil-Carpi/LDM-ASIR.git
synced 2025-12-06 08:04:37 +00:00
Footer modificado, añadida la branch "testing".
This commit is contained in:
261
projecte-final/main/assets/css/style.css
Normal file
261
projecte-final/main/assets/css/style.css
Normal file
@@ -0,0 +1,261 @@
|
||||
/*=============INICIO DE ESTILOS DE PLANTILLA==============*/
|
||||
|
||||
/*Reset básico: Eliminacion del padding y evita que el tamaño crezca por máargenes internos*/
|
||||
*
|
||||
{
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/*Estilo básico del cuerpo*/
|
||||
body
|
||||
{
|
||||
font-family: 'Manjari', sans-serif;
|
||||
background: linear-gradient(135deg, #0f172a, #1e293b);
|
||||
color: white;
|
||||
}
|
||||
|
||||
/*Barra de navegacion fija. Efecto "glassmorphism"*/
|
||||
.navbar
|
||||
{
|
||||
position:fixed;
|
||||
top: 1rem;
|
||||
left: 1rem;
|
||||
right: 1rem;
|
||||
width: calc(100% -2rem);
|
||||
padding: 1rem 1.5rem;
|
||||
border-radius: 20px;
|
||||
color: white;
|
||||
z-index: 64;
|
||||
|
||||
/*Efecto cristal difuminado*/
|
||||
backdrop-filter: blur(12px) saturate(180%);
|
||||
-webkit-backdrop-filter: blur(12px) saturate(180%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
|
||||
|
||||
display:flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/*Contenedor del logo*/
|
||||
.logoContainer
|
||||
{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/*Estilo del texto e icono del logo*/
|
||||
.logoContainer a
|
||||
{
|
||||
color: white;
|
||||
font-size: 1.125rem;
|
||||
font-weight: bold;
|
||||
margin-right: 1rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
/*Aumenta el tamaño del logo en pantallas más grandes*/
|
||||
@media (min-width: 768px){
|
||||
.logoContainer a
|
||||
{
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
/*Lista de links del menú*/
|
||||
.navbarLinks
|
||||
{
|
||||
list-style: none;
|
||||
margin-right: 1rem;
|
||||
padding: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
/*En pantallas grandes, la lista se alinea de manera horizontal*/
|
||||
@media (min-width: 768px){
|
||||
.navbarLinks
|
||||
{
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
/*Espacio entre items del menú*/
|
||||
.navbarLinks li
|
||||
{
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
/*En pantallas grandes, los items se muestran en línea con más espacio*/
|
||||
@media (min-width: 768px) {
|
||||
.navbarLinks li
|
||||
{
|
||||
display: inline-block;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/*Estilos de enlaces del navbar*/
|
||||
.navbarLinks a
|
||||
{
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/*Contenedor general centrado*/
|
||||
.container
|
||||
{
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
/*Estilos del footer. Estilo glassmorphism*/
|
||||
.footer
|
||||
{
|
||||
bottom: 1rem;
|
||||
left: 1rem;
|
||||
right: 1rem;
|
||||
padding: 1rem;
|
||||
color: white;
|
||||
z-index: 50;
|
||||
border-radius: 20px;
|
||||
|
||||
/*Efecto cristal difuminado*/
|
||||
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
backdrop-filter: blur(20px) saturate(180%);
|
||||
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/*Fila principal del footer (flex)*/
|
||||
.footerRow
|
||||
{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/*Cada columna del footer*/
|
||||
.footerLinks
|
||||
{
|
||||
flex: 1 1 200px;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
/*Titulos de los bloques del footer*/
|
||||
.footerLinks h4
|
||||
{
|
||||
font-size: 20px;
|
||||
color: #FFFFFF;
|
||||
margin-bottom: 25px;
|
||||
font-weight: 500;
|
||||
border-bottom: 2px solid #00c3ff;
|
||||
padding-bottom: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/*Enlaces dentro de las columnas del footer*/
|
||||
.footerLinks ul li a
|
||||
{
|
||||
font-size: 18px;
|
||||
text-decoration: none;
|
||||
color: #bbbbbb;
|
||||
display: block;
|
||||
margin-bottom: 15px;
|
||||
transition: all .3s ease;
|
||||
}
|
||||
|
||||
/*Hover del footer*/
|
||||
.footerLinks ul li a:hover
|
||||
{
|
||||
color:#ffffff;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
/*Iconos redondos de redes sociales*/
|
||||
.socialLinks a
|
||||
{
|
||||
display: inline-block;
|
||||
min-height: 40px;
|
||||
width: 40px;
|
||||
background-color: rgba(255, 255, 255, 0.2);
|
||||
margin: 0 10px 10px 0;
|
||||
text-align: center;
|
||||
line-height: 40px;
|
||||
border-radius: 50%;
|
||||
color: #ffffff;
|
||||
transition: all .5s ease;
|
||||
}
|
||||
|
||||
.socialLinks a:hover
|
||||
{
|
||||
background-color: #00C3FF
|
||||
}
|
||||
/*Footer responsive para moviles*/
|
||||
@media(max-width: 991px) {
|
||||
.footerRow
|
||||
{
|
||||
text-align:center;
|
||||
}
|
||||
.footerLinks
|
||||
{
|
||||
width: 100%;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
/*Zona de Creative Commons*/
|
||||
|
||||
.creativeCommons
|
||||
{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-top: 2rem;
|
||||
font-size: 0.875rem;
|
||||
color: #bbbbbb;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.2em;
|
||||
}
|
||||
|
||||
.creativeCommons a
|
||||
{
|
||||
color: #bbbbbb;
|
||||
text-decoration: none;
|
||||
margin: 0 0.2em;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.creativeCommons a:hover
|
||||
{
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.creativeCommons img
|
||||
{
|
||||
vertical-align: middle;
|
||||
max-width: 1em;
|
||||
max-height: 1em;
|
||||
margin-left: 0.2em;
|
||||
}
|
||||
|
||||
/*Espacio para que el contenido no quede oculto por el navbar y el footer*/
|
||||
|
||||
.content {
|
||||
padding-top: 7rem;
|
||||
padding-bottom: 30rem;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/*=============FINAL DE ESTILOS DE PLANTILLA==============*/
|
||||
Reference in New Issue
Block a user