%PDF- %PDF-
Direktori : /home/tjamichg/portal.tjamich.gob.mx/iconos/TJAMIconos/ |
Current File : /home/tjamichg/portal.tjamich.gob.mx/iconos/TJAMIconos/styles.css |
/*****contenedor de iconos*******/ .container-container{ display: grid; gap: 2px; box-sizing: border-box; } .container-container-bottom{ display: flex; gap: 2px; box-sizing: border-box; margin: auto; margin-top: 35px; /*width: 80%;*/ } @media (max-width: 992px){ .container-container-bottom{ display: flex; flex-wrap: wrap; gap: 2px; box-sizing: border-box; margin: auto; margin-top: 50px; } } .card-icons:nth-child(1){ animation-delay: 0.2s; } .card-icons:nth-child(2){ animation-delay: 0.5s; } .card-icons:nth-child(3){ animation-delay: 0.8s; } @keyframes slideFadeIn{ from { opacity: 0; transform: translateX(-50); } to { opacity: 1; transform: translateX(0); } } .card-icons-bottom{ margin: auto; max-width: 60%; width: 250px; min-height: 115px; background-color: #aa3053; align-items: center; justify-content: center; border-radius: 25px; opacity: 0; cursor: pointer; transform: translateX(-50px); transition: background-color 0.6s ease-in-out, color 0.6s ease-in-out; animation: slideFadeIn 0.7s ease-out forwards; } .card-icons-bottom:nth-child(1){ animation-delay: 0.3s; } .card-icons-bottom:nth-child(2){ animation-delay: 0.6s; } .card-icons-bottom:nth-child(3){ animation-delay: 0.9s; } @media (max-width: 530px){ .container-container-bottom{ display: grid; gap: 2px; box-sizing: border-box; margin: auto; margin-top: 50px; width: 80%; } .card-icons-bottom{ margin: auto; width: 150px; min-height: 150px; background-color: #aa3053; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; transition: background-color 0.6s ease-in-out, color 0.6s ease-in-out; } } .card-icons{ margin: auto; width: 250px; min-height: 100px; background-color: #aa3053; align-items: center; justify-content: center; border-radius: 25px; opacity: 0; cursor: pointer; transform: translateX(-50px); transition: background-color 0.6s ease-in-out, color 0.6s ease-in-out; animation: slideFadeIn 0.7s ease-out forwards; } .card-icons i, .card-icons-bottom i{ font-size: 40px; color: #c7842f; } .card-icons:hover, .card-icons-bottom:hover{ background-color: #000000; color: #ffffff; } .card-icons:hover i, .card-icons-bottom:hover i{ display: inline-block; animation: salto 0.8s ease-in-out; } .card-icons:hover .text, .card-icons-bottom:hover .text{ opacity: 1; transform: translateY(0.5px); } @keyframes salto{ 0%{ transform: translateY(0); } 50%{ transform: translateY(-5px); } 100%{ transform: translate(0); } } .card-icons:hover .text{ opacity: 1; transform: translateY(0.5px); } /*********************************/ /*************iconos**************/ .container-icons{ display: flex; width: 100%; margin: auto; justify-content: center; align-items: center; margin-top: 12px; } .card-icons i { margin-top: 15px; font-size: 30px; color: #c7842f; } /**********************************/ /********apartado del texto********/ .container-text{ display: flex; align-items: center; justify-content: center; position: relative; width: 100%; text-align: center; margin-top: 5px; position: relative;; } .text{ font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold; color: #ffffff; opacity: 1; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.5s ease; word-wrap: break-word; } /*****cambios del link******/ .link-icons{ text-decoration: none; color: inherit; height: 100%; width: 100%; } /**********************************/