3 Commits

Author SHA1 Message Date
IO 80e12d9316 justify text and fixed gap 2024-09-24 13:56:56 -06:00
IO 257bb8a704 fixed image 2024-09-10 15:24:29 -06:00
IO acdd833fb7 fixed responsive 2024-09-10 15:10:04 -06:00
3 changed files with 60 additions and 13 deletions
+4 -2
View File
@@ -9,10 +9,12 @@ main h2{
}
#hero {
width: 100%;
min-height: 430px;
max-height: 80vh;
background: linear-gradient(rgba(38, 42, 93, 0.4), rgba(0, 0, 0, 0.7)), url("../../../assets/img/bg/solid.png") fixed center;
background-size: cover;
position: relative;
padding: 20px;
}
#hero:before {
content: "";
@@ -53,9 +55,9 @@ main h2{
background-attachment: fixed;
}
}
@media (max-width: 768px) {
@media (max-width: 548px) {
#hero {
height: 80vh;
height: 60vh;
}
#hero h1 {
font-size: 28px;
+53 -8
View File
@@ -1,15 +1,20 @@
/* Banner */
.banner{
overflow: visible;
display: flex;
justify-content: center;
align-items: center;
&-container{
padding-top: 20vh;
margin-top: 10%;
gap: 70px;
justify-content: end;
}
&-img{
width: 25%;
height: 25%;
height: auto;
max-width: 50%;
border-radius: 2rem;
transform: rotate(-45deg);
@@ -21,12 +26,13 @@
object-fit: cover;
}
}
& .text{
max-width: 50%;
}
}
/* Historia */
.historia{
margin-bottom: 10%;
h2{
width: 40%;
border-bottom: 5px solid darkgoldenrod;
@@ -34,13 +40,14 @@
&-info{
gap: 10rem;
text-align: justify;
}
&-imagenes{
position: relative;
justify-content: center;
#imgUno{
max-width: 25vw;
min-height: 70vh;
object-fit: cover;
}
@@ -59,11 +66,10 @@
/* Ideario - Juramento */
.idearioJuramento{
.floating-list {
width: 30%;
max-height: 8vh;
position: absolute;
top: -2%;
padding: 10px;
padding: 20px;
background-color: white;
border-radius: 8px;
@@ -96,6 +102,7 @@
p{
width: 90%;
text-align: justify;
}
&-list{
@@ -110,4 +117,42 @@
}
}
}
}
@media(max-width:991px){
.banner{
overflow: visible;
display: flex;
&-container{
flex-direction: column;
text-align: center;
}
&-img{
width: 70%;
height: auto;
}
& .text{
max-width: 100%;
}
}
.historia{
&-info{
gap: 4rem;
flex-direction: column;
}
&-imagenes{
position: relative;
width: 100%;
justify-content: center;
#imgDos{
max-width: 70vw;
height: 30vh;
left: 5%;
bottom: -10%;
}
}
}
}
+3 -3
View File
@@ -85,11 +85,11 @@
<main>
<!-- Banner -->
<section class="banner" id="hero">
<div class="banner-container d-flex align-items-center justify-content-evenly" data-aos="fade-up">
<div class="banner-container d-flex align-items-center" data-aos="fade-up">
<div class="banner-img">
<img src="./assets/img/sorjuana.png" alt="">
</div>
<div>
<div class="text">
<h1 class="text-white fs-1 fw-bold">Conoce la</h1>
<h1 class="fs-2">Facultad de Estudios Superiores Acatlán</h1>
</div>
@@ -98,7 +98,7 @@
<!-- Historia -->
<section class="historia container mt-4">
<div class="historia-info d-flex justify-content-evenly align-items-center">
<div class="historia-texto col-7 text-dark">
<div class="historia-texto text-dark">
<h2 class="fs-1 fw-bold">Historia</h2>
<p class="lh-base pt-3">
El 17 de marzo de 1975, la Escuela Nacional de Estudios Profesionales (ENEP) Acatlán abrió sus puertas en el municipio de Naucalpan, Estado de México, para responder a la necesidad de la Universidad Nacional Autónoma de México de beneficiar a mayor número de estudiantes con la educación universitaria; introducir innovaciones educativas; impulsar la interdisciplina y la multidisciplina; vincular la investigación y la docencia; integrar la teoría y la práctica y vincularse con el entorno. Hoy, convertida en Facultad de Estudios Superiores, Acatlán ha logrado consolidarse como una entidad universitaria tanto en lo académico, como en lo cultural y deportivo.