Files
identidad_acatlan/assets/css/main.less
T
2024-12-02 16:07:02 -06:00

607 lines
13 KiB
Plaintext

body {
overflow: hidden;
}
/* Sección de la portada */
#port {
position: relative;
min-height: 92vh;
background: linear-gradient(rgba(184, 166, 66, 0.1), rgba(255, 247, 0, 0.096)),
url("../img/bg/alt-1.jpg") fixed center;
h1 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
span {
color: #bb8800;
}
.cont {
padding: 10px 30px;
bottom: 0;
}
}
/* Sección del header */
#header {
position: fixed;
margin: 0%;
padding: 0.3% 0.5%;
background-color: #1e3c70;
position: sticky;
.img {
max-width: 55px;
}
}
/* Sección general */
section {
padding: 80px 0px 60px;
.section-h {
color: #bb8800;
margin-bottom: 80px;
i {
font-size: 28px;
}
h2 {
font-weight: 600;
position: relative;
padding-bottom: 10px;
&:after {
content: "";
position: absolute;
display: block;
width: 150px;
height: 3px;
background: #1e3c70;
bottom: 0;
left: calc(50% - 75px);
}
}
}
}
/* Sección home */
.home {
/* Contendor principal para todos los archivos */
/* Contenedor ocupado en el index */
.content-home {
border-radius: 12px;
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
-webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
transition: 0.5s;
&:hover {
transform: translateY(-10px);
}
img {
width: 100%;
border-radius: 12px 12px 0px 0px;
}
.description {
padding: 10px 0px;
a {
text-decoration: none;
color: #1e3c70;
font-size: 22px;
border-radius: 5px;
&:hover {
color: #bb8800;
}
}
}
}
}
/* section para wallpapers */
/* divisón flexible para wallpapers */
.wallpapers {
.d-flex {
.flex-column {
img {
width: 200px;
padding-bottom: 5px;
border-radius: 3px;
}
button {
border: solid 1px #1e3c70;
background-color: #1e3c70;
color: white;
&:hover {
color: #bb8800;
background-color: white;
}
}
}
.modal {
.modal-content {
background: linear-gradient(
rgb(179, 179, 179, 0.8),
rgba(255, 255, 255, 0.8)
);
background-position: center center;
background-size: cover;
.modal-body {
background: url("../img/bg/Fondo1.png");
background-size: cover;
background-position: center;
.text-right {
text-align: right !important;
.btn-close {
padding: 5px;
border-radius: 50%;
background-color: #bb8900;
&:hover {
width: 20px;
height: 20px;
transition: ease-out 0.8s;
box-shadow: inset 0 0 0 50px white;
}
}
}
.bg-phone {
margin: 10px 55px;
padding: 0px;
border-radius: 21px;
}
a {
text-decoration: none;
border-radius: 5px;
background-color: #bb8800;
padding: 6px 30px;
color: white;
border: 1px solid white;
&:hover {
color: #bb8800;
border: 1px solid #1e3c70;
/* Animación para los botones de wallpapers dentro de los modales */
-webkit-transition: ease-out 0.4s;
-moz-transition: ease-out 0.4s;
transition: ease-out 0.8s;
box-shadow: inset 0 0 0 50px white;
}
span:nth-child(1) {
height: 3px;
width: 486px;
top: 499px;
left: -305px;
background: linear-gradient(to right, rgba(0, 0, 0, 0), #f6e58d);
border-top-right-radius: 1px;
border-bottom-right-radius: 1px;
animation: span1 5s linear infinite;
animation-delay: 3s;
position: absolute;
}
@keyframes span1 {
0% {
left: -330px;
}
100% {
left: 452px;
}
}
span:nth-child(2) {
height: 573px;
width: 3px;
top: -573px;
right: 0px;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #f6e58d);
border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px;
animation: span2 4.8s linear infinite;
animation-delay: 3.4s;
position: absolute;
}
@keyframes span2 {
0% {
top: -573px;
}
100% {
top: 70px;
}
}
span:nth-child(3) {
height: 3px;
width: 285px;
right: -285px;
bottom: 0px;
background: linear-gradient(to left, rgba(0, 0, 0, 0), #f6e58d);
border-top-left-radius: 1px;
border-bottom-left-radius: 1px;
animation: span3 5s linear infinite;
animation-delay: 7.3s;
position: absolute;
}
@keyframes span3 {
0% {
right: -285px;
}
100% {
right: 420px;
}
}
span:nth-child(4) {
height: 420px;
width: 3px;
bottom: -420px;
left: 0px;
background: linear-gradient(to top, rgba(0, 0, 0, 0), #f6e58d);
border-top-right-radius: 1px;
border-top-left-radius: 1px;
animation: span4 5s linear infinite;
animation-delay: 10.7s;
position: absolute;
}
@keyframes span4 {
0% {
bottom: -420px;
}
100% {
bottom: 600px;
}
}
}
}
}
}
}
}
/* section para sticker */
.stickers {
position: relative;
min-height: 80vh;
justify-content: center;
align-items: center;
.a3 {
position: absolute;
top: 0;
left: 0;
z-index: -10;
width: 15%;
transform: rotate(-30deg);
}
.aM {
position: absolute;
top: 10;
right: 0;
z-index: -10;
width: 12.5%;
transform: rotate(30deg);
}
.a {
position: absolute;
top: 50%;
left: 80%;
z-index: -10;
width: 8%;
transform: rotate(45deg);
}
.entrada {
position: absolute;
bottom: 40%;
left: 15%;
z-index: -10;
width: 9%;
transform: rotate(-30deg);
}
.fuente {
position: absolute;
top: 30%;
left: 65%;
z-index: -10;
width: 7%;
transform: rotate(35deg);
}
.orgullo {
position: absolute;
bottom: -10%;
right: 10%;
z-index: -10;
width: 20%;
}
.piedra {
position: absolute;
bottom: 0;
left: 5%;
z-index: -10;
width: 20%;
transform: rotate(-25deg);
}
.sorjuana {
position: absolute;
top: 10%;
left: 45%;
z-index: -10;
width: 21%;
}
.content-stickers {
.row {
position: relative;
}
i {
font-size: 80px;
color: #1e3c70;
}
a {
margin: 10px 10px;
img {
border-radius: 50px;
margin: 10px 5px;
transition: 0.5s;
&:hover {
transform: translate(10px, -10px);
}
}
}
p {
color: #1e3c70;
font-size: x-large;
}
.box {
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.205);
border-radius: 5px;
overflow: hidden;
}
}
}
/* section logotipos */
.logotipos {
/* row para logotipos */
.row {
/* división flexible para el responsive del tab de logotipos */
.div-flex {
/* Contenedor ocupado en el index */
.content-logotipos {
border-radius: 12px;
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
-webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
transition: 0.5s;
&:hover {
transform: translateY(-10px);
}
img {
width: 100%;
border-radius: 12px 12px 0px 0px;
}
.description {
border-top: solid 2px #bb8800;
padding: 10px 0px;
text-align: center;
justify-content: center;
p {
border-bottom: solid 2px #1e3c70;
width: auto;
}
a {
text-decoration: none;
text-transform: lowercase;
background-color: #bb8800;
padding: 4px 10px 8px 10px;
color: white !important;
border-radius: 5px;
font-size: 18px;
&:hover {
color: #bb8800 !important;
background-color: white;
border: solid 1px #1e3c70;
}
}
}
}
.nav-item a {
color: #1e3c70;
}
.nav .active {
color: #bb8800 !important;
border-bottom: solid 2px #1e3c70;
}
@media (max-width: 992px) {
display: block;
.nav .active {
border-bottom: 2px solid #1e3c70;
}
.boxx {
margin-bottom: 20px;
}
}
@media (min-width: 993px) {
display: flex;
.boxx nav .nav-item {
margin-bottom: 10px;
}
.boxx .nav {
width: 170px;
}
}
}
}
}
/* section himnos */
.himnos {
/* Contenedor utilizado para himnos */
.cont-center {
padding: 0;
justify-content: center;
p {
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
padding: 28px 0px;
border-radius: 5px;
}
div audio {
padding: 20px 0 !important;
}
div img {
border-radius: 5px;
}
@media (width>992px) {
div audio {
width: 650px;
}
}
}
}
/* Globales */
/* Contenedor que ocupan todos los archivos */
.cont-prin {
text-align: center;
}
/* Contenedor para las presentación de imegenes */
.content-galery {
padding: 0;
border-radius: 12px;
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
-webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
transition: 0.5s;
background-size: cover;
background-position: center;
margin-bottom: 12px;
&.loaded {
img {
opacity: 1;
}
}
img {
width: 100%;
border-radius: 12px;
object-position: center;
object-fit: cover;
opacity: 0;
transition: opacity 200ms ease-in-out;
}
}
.nav-g {
a {
color: #bb8800;
font-size: 18px;
}
}
@media (max-width: 992px) {
.nav-g {
overflow-x: scroll;
height: 70px;
display: inline-block !important;
}
}
/* ==========
Footer
========== */
#footer {
background-color: black;
padding: 0 0 30px 0;
color: #fff;
font-size: 14px;
.footer-top {
background: linear-gradient(rgba(2, 2, 2, 0.9), rgba(20, 30, 48, 0.9)),
url("../img/bg/_DSC3031.jpg") fixed top;
background-size: cover;
border-bottom: 1px solid #222222;
padding: 60px 0 30px 0;
.footer-info {
margin-bottom: 30px;
h3 {
font-size: 28px;
margin: 0 0 20px 0;
padding: 2px 0 2px 0;
line-height: 1;
font-weight: 700;
span {
color: #bb8800;
}
}
p {
font-size: 14px;
line-height: 24px;
margin-bottom: 0;
font-family: "Raleway", sans-serif;
color: #fff;
text-align: justify;
}
}
.social-links {
a {
font-size: 18px;
display: inline-block;
background: #292929;
color: #fff;
line-height: 1;
padding: 8px 0;
margin-right: 4px;
border-radius: 4px;
text-align: center;
width: 36px;
height: 36px;
transition: 0.3s;
&:hover {
background: #ffc451;
color: #151515;
text-decoration: none;
}
}
}
h4 {
font-size: 16px;
font-weight: 600;
color: #fff;
position: relative;
padding-bottom: 12px;
}
.footer-links {
margin-bottom: 30px;
ul {
list-style: none;
padding: 0;
margin: 0;
i {
padding-right: 2px;
color: #ffc451;
font-size: 18px;
line-height: 1;
}
li {
padding: 10px 0;
display: flex;
align-items: center;
&:first-child {
padding-top: 0;
}
}
a {
color: #fff;
transition: 0.3s;
display: inline-block;
line-height: 1;
text-decoration: none;
&:hover {
color: #ffc451;
}
}
}
}
}
}