Skip to content

Instantly share code, notes, and snippets.

@edgarronda
Created July 2, 2019 16:31
Show Gist options
  • Save edgarronda/7514013c7fa79bf2f117884447e6cf1e to your computer and use it in GitHub Desktop.
Save edgarronda/7514013c7fa79bf2f117884447e6cf1e to your computer and use it in GitHub Desktop.
body {
background-image: url(../images/fondo_30.jpg);
background-attachment: fixed;
background-position: center center;
background-size: cover;
}
/*Clase para efectos en imagenes tipo boton*/
.mask-top1 {
display: inline-block;
position: relative;
/*width: 200px;
height: 200px;*/
overflow: hidden;
/*border-radius: 90%;*/
/*-webkit-box-shadow: 0px 0px 40px -10px black;
box-shadow: 0px 0px 40px -10px black;*/
/* -webkit-transition:all .60s ease;*/
}
.mask-top1 img {
/*width: auto;
height: 100%;*/
/*margin-left: -39px;*/
}
/*.mask-top1:hover{
-webkit-box-shadow: 0px 10px 40px -5px black;
box-shadow: 0px 10px 40px -5px black;
transform: scale(1.1);
}*/
.mask-top {
display: inline-block;
position: relative;
width: 200px;
height: 200px;
overflow: hidden;
border-radius: 90%;
-webkit-box-shadow: 0px 0px 40px -10px black;
box-shadow: 0px 0px 40px -10px black;
-webkit-transition:all .60s ease;
}
.mask-tops {
display: inline-block;
position: relative;
overflow: hidden;
-webkit-box-shadow: 0px 0px 40px -10px black;
box-shadow: 0px 0px 40px -8px black;
-webkit-transition:all .60s ease;
}
#gif {
display: block;
width: 100%;
position: absolute;
padding: auto;
}
.mask-top img {
width: auto;
height: 100%;
margin-left: -39px;
}
.mask-bottom p{
font-weight: bold;
}
.mask-top:hover{
-webkit-box-shadow: 0px 10px 40px -5px black;
box-shadow: 0px 10px 40px -5px black;
transform: scale(1.1);
}
.mask-tops:hover{
-webkit-box-shadow: 0px 10px 40px -5px black;
box-shadow: 0px 10px 40px -5px black;
transform: scale(1.1);
}
.thumbnail{
width: 100%;
overflow: hidden;
}
.card-body p{
font-weight: bold;
}
.caption {
font-weight: bold;
}
/*Clase para efecto logo e imagenes fancybox*/
.mypic:{
-webkit-transition:all 1.1s ease;
}
.mypic:hover{
transform: scale(1.3);
}
/* Carousel Designs */
.carousel .item {
width: 100%;
max-height: 700px;
}
#carousel-3 .item img {
width: 100%;
height: -webkit-fill-available;
}
#carousel-2 .item img {
width: 100%;
height: -webkit-fill-available;
}
/*Clase tamano de pantalla carousel*/
.carousel .item img {
width: 100%;
}
.carousel-caption {
padding-bottom: 280px;
}
#carousel-2 .carousel-caption {
padding-bottom: 280px;
}
.carousel-caption h2 {
font-family: 'Montserrat', sans-serif;
text.transform: uppercase;
}
.carousel-control.right{
background-image: none;
width: 6%
}
.carousel-control.left{
background-image: none;
width: 6%
}
/*Clase para fondo negro en slides de carousel*/
.overlay {
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
background-color: #080d15;
opacity: .7;
}
#captionw {
font-family: 'Montserrat', sans-serif;
font-size: 50px;
font-weight: bold;
}
.navbar{
opacity: 0.9;
text-align: center;
}
.navbar li a li:hover{
font-weight: bold;
font-size: 17px;
background: #000000;
color: #f1f1f7;
transition: 0.8s;
opacity: 0.7;
}
.navbar li{
font-weight: bolder;
font-size: 17px;
text-align: center; /*texto menu centrado*/
font-family: 'Montserrat', sans-serif;
padding: 4px; /*tamano de la barra menu*/
}
/*.navbar li:hover >ul {
display: block;
}*/
.navbar-inverse .navbar-brand{
color: #ffffff;
font-family: 'Montserrat', sans-serif;
font-size: 21px;
padding: 8px 20px;
}
/*Identificadores para margenes de modals de cajas*/
#barra {
background-color: grey;
}
#ttab1 {
margin-left: 5px;
}
#ttab2 {
margin-left: 15px;
}
#beert {
margin-left: 10px;
}
#TRAY {
margin-left: 4px;
}
#slb1 {
margin-left: 30px;
}
#slb2 {
margin-left: 10px;
}
#rte1 {
margin-left: 20px;
}
#rte2 {
margin-left: 1px;
}
#ste1 {
margin-left: 20px;
}
#ste2 {
margin-left: 1px;
}
#sle1 {
margin-left: 23px;
}
#sle2 {
margin-left: 1px;
}
#spec {
margin-left: 50px;
margin-top: 10px;
}
/*Identificador para sombreado de textos*/
#psleve {
background-color: #EFEDF1;
}
#ffab1 {
margin-left: 15px;
margin-top: -2px;
}
#ffab2 {
margin-left: 20px;
margin-top: -6px;
}
#tray2 {
margin-left: 20px;
margin-top: -6px;
}
#colores {
width: 200px;
height: 200px;
margin-left: -10px;
}
label {
display: block;
}
#contact{
padding:10px 0 10px;
}
.contact-text{
margin:45px auto;
}
.mail-message-area{
width:100%;
padding:0 15px;
}
.mail-message{
width: 100%;
background:rgba(255,255,255, 0.8) !important;
-webkit-transition: all 0.7s;
-moz-transition: all 0.7s;
transition: all 0.7s;
margin:0 auto;
border-radius: 0;
}
.not-visible-message{
height:0px;
opacity: 0;
}
.visible-message{
height:auto;
opacity: 1;
margin:25px auto 0;
}
/* Input Styles */
.form{
width: 100%;
padding: 15px;
background:#f8f8f8;
border:1px solid rgba(0, 0, 0, 0.2);
margin-bottom:25px;
color:#727272 !important;
font-size:13px;
font-family: 'Montserrat', sans-serif;
-webkit-transition: all 0.4s;
-moz-transition: all 0.4s;
transition: all 0.4s;
}
.form:hover{
border:1px solid #8BC3A3;
}
.form:focus{
color: white;
outline: none;
border:1px solid #8BC3A3;
}
.textarea{
height: 200px;
max-height: 200px;
max-width: 100%;
}
/* Generic Button Styles */
.button{
padding:8px 12px;
background:#0A5175;
display: block;
width:120px;
margin:10px 0 0px 0;
border-radius:3px;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;
text-align:center;
font-size:0.8em;
font-family: 'Montserrat', sans-serif;
box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
-moz-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
-webkit-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
}
.button:hover{
background:#8BC3A3;
color:white;
}
/* Send Button Styles */
.form-btn{
width:180px;
display: block;
height: auto;
padding:15px;
color:#fff;
background:#8BC3A3;
border:none;
border-radius:3px;
outline: none;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;
margin:auto;
box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
-moz-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
-webkit-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
}
.form-btn:hover{
background:#111;
color: white;
border:none;
}
.form-btn:active{
opacity: 0.9;
}
.btn {
display: inline-block;
padding: 4px 8px;
margin-bottom: 0;
margin-top: 0;
font-size: 14px;
}
input {
position: relative;
z-index: 9999;
}
/* Gallery Types With Hover Types */
body{
margin: 0;
padding: 0;
font-family: 'Montserrat', sans-serif;
}
#container {
background: transparent;
margin-top: 90px;
margin-left: 140px;
margin-right: 20px;
margin-bottom: 30px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
#container #box
{
position: relative;
width: 250px;
height: 259px;
background: #ff0;
margin-bottom: 20px;
margin-left: 5px;
margin-right: 0px;
margin-top: 20px;
box-sizing: border-box;
display: inline-block;
}
#container #box .imgBox{
overflow: hidden;
}
#container #box .imgBox img
{
max-width: 100%;
transition: transform 2s;
}
#container #box:hover .imgBox img
{
transform: scale(1.2);
}
#container #box .details
{
position: absolute;
top: 10px;
left: 10px;
bottom: 10px;
right: 10px;
background: rgba(0,0,0,.8);
transform: scaleY(0);
transition: transform .5s;
}
#container #box:hover .details
{
transform: scaleY(1);
}
#container #box .details .content
{
position: absolute;
top: 50%;
transform: translateY(-50%);
text-align: center;
padding: 15px;
color: #fff;
}
#container #box .details .content h3
{
margin: 0;
padding: 0;
font-size: 20px;
font-family: 'Montserrat', sans-serif;
color: #ff0;
}
#container #box .details .content p
{
margin: 10px 0 0;
padding: 0;
}
/* Estilos de galeria type final */
#rig {
max-width:900px;
margin:0 auto; /*center aligned*/
padding:0;
font-size:0; /* Remember to change it back to normal font size if have captions */
font-family: 'Montserrat', sans-serif;
list-style:none;
background-color:##fff;
}
#rig li {
display: inline-block;
*display:inline;/*for IE6 - IE7*/
width:25%;
vertical-align:middle;
box-sizing:border-box;
margin:0;
padding:0;
}
/* The wrapper for each item */
.rig-cell {
/*margin:12px;
box-shadow:0 0 6px rgba(0,0,0,0.3);*/
display:block;
position: relative;
overflow:hidden;
}
/* If have the image layer */
.rig-img {
display:block;
width: 100%;
height: auto;
border:none;
transform:scale(1);
transition:all 1s;
}
#rig li:hover .rig-img {
transform:scale(1.05);
}
/* If have the overlay layer */
.rig-overlay {
position: absolute;
display:block;
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: auto;
background: #3DC0F1 url(img/link.png) no-repeat center 20%;
background-size:50px 50px;
opacity:0;
filter:alpha(opacity=0);/*For IE6 - IE8*/
transition:all 0.6s;
}
#rig li:hover .rig-overlay {
opacity:0.8;
}
/* If have captions */
.rig-text {
display:block;
padding:0 30px;
box-sizing:border-box;
position:absolute;
left:0;
width:100%;
text-align:center;
text-transform:capitalize;
font-size:18px;
font-weight:bold;
font-family: 'Montserrat', sans-serif;
font-weight:normal!important;
top:40%;
color:white;
opacity:0;
filter:alpha(opacity=0);/*For older IE*/
transform:translateY(-20px);
transition:all .3s;
}
#rig li:hover .rig-text {
transform:translateY(0px);
opacity:0.9;
}
@media (max-width: 9000px) {
#rig li {
width:25%;
}
}
@media (max-width: 700px) {
#rig li {
width:33.33%;
}
}
@media (max-width: 550px) {
#rig li {
width:50%;
}
}
footer{
width: 100%;
background: #202020;
color: white;
position: relative;
margin-top: 60px;
}
.container-footer-all{
width: 100%;
max-width: 1200px;
margin: auto;
padding: 40px;
}
.container-body{
display: flex;
justify-content: space-between;
}
.colum1{
max-width: 600px;
}
.colum1 h1{
font-size: 22px;
}
.colum1 p{
font-size: 14px;
color: #C7C7C7;
margin-top: 20px;
font-family: 'Montserrat', sans-serif;
}
.colum3{
max-width: 600px;
margin-right: 90px;
}
.colum3 h1{
font-size: 22px;
}
.colum3 label{
font-size: 12px;
}
.rowiso img{
margin-top: -30px;
width: 150px;
height: 150px;
}
.rowpias img{
margin-left: 100px;
width: 277px;
height: 67px;
}
.rowsoy img{
margin-right: 100px;
width: 204px;
height: 88px;
}
.row1{
margin-top: 20px;
display: flex;
}
.row1 img{
width: 36px;
height: 36px;
}
.row1 label{
margin-top: 10px;
margin-left: 20px;
color: #C7C7C7;
}
.row2{
margin-top: 20px;
display: flex;
}
.row2 img{
width: 36px;
height: 36px;
}
.row2 label{
margin-top: 10px;
margin-left: 20px;
max-width: 140px;
}
.container-footer{
width: 100%;
background: #101010;
}
.footer{
max-width: 1200px;
margin: auto;
display: flex;
justify-content: space-between;
padding: 20px;
}
.copyright{
color: #C7C7C7;
}
.copyright a{
text-decoration: none;
color: white;
font-weight: bold;
}
.information a{
text-decoration: none;
color: #C7C7C7;
}
#fonth4 {
font-family: 'Playfair Display', serif;
font-size: 22px;
}
#fonth5 {
font-family: 'Playfair Display', serif;
font-size: 24px;
text-align: center;
}
#fonth6 {
font-family: 'Playfair Display', serif;
font-size: 23px;
}
@media screen and (max-width: 1100px){
.container-body{
flex-wrap: wrap;
}
.colum1{
max-width: 100%;
}
.colum2,
.colum3{
margin-top: 40px;
}
}
#seccion {
padding: 0;
margin: 0;
font-family: Verdana, Geneva, Tahoma, sans-serif;
background-repeat: no-repeat;
background-size: cover;
width: 141%;
height: 40vh;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: right;
-webkit-box-sizing: border-box;
}
.container .content{
width: 220%;
height: 100%;
}
.container .content .card {
background: rgba(111, 124, 144, 0.9);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 300px;
height: 500px;
padding: 25px 25px;
text-align: center;
border-radius: 5px;
}
.container .content .card h1 {
margin-top: 50px;
padding: 0px 0px;
font-size: 30px;
text-transform: uppercase;
}
.container .content .card p {
font-size: 24px;
margin-top: : 20;
}
.container .content .card .btn {
background: transparent;
border: none;
outline: none;
line-height: 2;
padding: 5px 15px;
font-size: 20px;
margin-top: 120px;
border: 1px solid #FFF;
color: #FFF;
cursor: pointer;
-webkit-transition: .2s ease-in-out;
-o-transition: .2s ease-in-out;
transition: .2s ease-in-out;
}
.container .content .card .btn:active {
-webkit-transform: scale(0.95);
-ms-transform: scale(0.95);
transform: scale(0.95);
}
#seccionink {
padding: 0;
margin: 0;
font-family: Verdana, Geneva, Tahoma, sans-serif;
background-repeat: no-repeat;
background-size: cover;
width: 141%;
height: 40vh;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: right;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.container .content .cardink {
background: rgba(111, 124, 144, 0.4);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 280px;
height: 850px;
padding: 25px 25px;
text-align: center;
border-radius: 5px;
padding-bottom: 400px;
}
.container .content .cardink h1 {
margin-top: 5px;
padding: 0px 0px;
font-size: 25px;
text-transform: uppercase;
}
.container .content .cardink p {
font-size: 15px;
margin-top: : 20;
}
.container .content .cardink .btn {
background: transparent;
border: none;
outline: none;
line-height: 2;
padding: 5px 15px;
font-size: 12px;
margin-top: 40px;
border: 1px solid #FFF;
color: #FFF;
cursor: pointer;
-webkit-transition: .2s ease-in-out;
-o-transition: .2s ease-in-out;
transition: .2s ease-in-out;
}
.container .content .cardink .btn:active {
-webkit-transform: scale(0.95);
-ms-transform: scale(0.95);
transform: scale(0.95);
}
/*#carousel-2 .item {
height: auto;
}
#carousel-3 .item {
height: auto
;
}*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment