98 lines
2.1 KiB
CSS
98 lines
2.1 KiB
CSS
/*
|
|
* Este archivo es parte de Nabu.
|
|
*
|
|
* Nabu es software libre: puedes redistribuirlo y/o modificarlo
|
|
* bajo los términos de la Licencia Pública General de GNU Affero publicada por
|
|
* la Free Software Foundation, ya sea la versión 3 de la Licencia, o
|
|
* (a su elección) cualquier versión posterior.
|
|
*
|
|
* Nabu se distribuye con la esperanza de que sea de utilidad,
|
|
* pero SIN NINGUNA GARANTÍA; incluso sin la garantía implícita de
|
|
* COMERCIABILIDAD o APTITUD PARA UN PROPÓSITO PARTICULAR. Consulte la
|
|
* Licencia Pública General de GNU Affero para obtener más detalles.
|
|
*
|
|
* Debería haber recibido una copia de la Licencia Pública General de GNU Affero
|
|
* junto con este programa. De lo contrario, consulte <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/*
|
|
* Orden de los estilos
|
|
* 1. Posicionamiento
|
|
* 2. Modelo de caja
|
|
* 3. Tipografía
|
|
* 4. Visuales
|
|
* 5. Otros
|
|
* Metodología => BEM
|
|
*/
|
|
|
|
/* Estilos al header */
|
|
header {
|
|
min-width: 320px;
|
|
width: 100%;
|
|
min-height: 120px;
|
|
position: relative;
|
|
background-image: url("/assets/images/background.jpg");
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: cover;
|
|
}
|
|
|
|
header::before {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, .5);
|
|
}
|
|
|
|
.nav {
|
|
background-color: initial;
|
|
padding-bottom: 50px;
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.nav__logo {
|
|
display: none;
|
|
}
|
|
|
|
/* profile image */
|
|
|
|
.profile-own {
|
|
max-width: 200px;
|
|
padding: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
bottom: -90px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 1;
|
|
background-color: tomato;
|
|
}
|
|
|
|
.profile-own__image-wrapper {
|
|
display: flex;
|
|
width: 50%;
|
|
min-width: 40px;
|
|
max-width: 200px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.profile-own__image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.profile-own__description {
|
|
text-align: center;
|
|
} |