/* Personal Website Template by Zain Nayer */ body { /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */ background-color: #f9f9f9; overflow-x: hidden; } h1, h2, h3, h4, h5, h6 { font-family: 'Questrial', sans-serif; } p, div { font-family: 'Questrial', sans-serif; } header { text-align: center; /* background: #458C6B;*/ color: #4f595d; } header .container { padding-top: 50px; padding-bottom: 50px; } header img { display: block; margin: 0 auto 20px; } header .intro-text .name { display: block; font-family: 'Questrial', sans-serif; /*text-transform: uppercase;*/ font-weight: 600; font-size: 2em; letter-spacing: 1.5px; } header .intro-text .skills { font-size: 1.25em; font-weight: 300; letter-spacing: 1.5px; } @media (min-width: 500px) { header .container { padding-top: 100px; padding-bottom: 100px; } header .intro-text .name { font-size: 3.75em; } header .intro-text .skills { font-size: 1.25em; } } .container-pad{ padding-left: 5%; padding-right: 5%; padding-top: 35px; } .navbar { margin-bottom: 0px; } /*color of menu bars*/ .icon-bar{ background-color: #7d8d92; } .navbar-custom { background: #ffffff; font-family: 'Questrial', sans-serif; /*text-transform: uppercase;*/ letter-spacing: 2.5px; font-weight: bolder; border: none; } .navbar-custom a:focus { outline: none; } /*Brand text color*/ .navbar-custom .navbar-brand { color: #4f595d; } /*Brand text hover color*/ .navbar-custom .navbar-brand:hover, .navbar-custom .navbar-brand:focus, .navbar-custom .navbar-brand:active, .navbar-custom .navbar-brand.active { color: #c1d9e4; } .navbar-custom .navbar-nav { letter-spacing: 2px; } /*navbar text color*/ .navbar-custom .navbar-nav li a { color: #4f595d; background: none; } /*navbar text color when hovered over*/ .navbar-custom .navbar-nav li a:hover { color: #c1d9e4; outline: none; } .navbar-custom .navbar-nav li a:focus, .navbar-custom .navbar-nav li a:active { color: #60afc1; } .navbar-custom .navbar-nav li.active a { color: white; background: lightgrey; } .navbar-custom .navbar-nav li.active a:hover, .navbar-custom .navbar-nav li.active a:focus, .navbar-custom .navbar-nav li.active a:active { color: white; background: lightgrey; } .navbar-custom .navbar-toggle { color: white; /*text-transform: uppercase;*/ font-size: 10px; border-color: white; } .navbar-custom .navbar-toggle:hover, .navbar-custom .navbar-toggle:focus { background-color: lightgrey; color: white; } @media (min-width: 500px) { .navbar-custom { padding-top: 5px; padding-bottom: 5px; -webkit-transition: padding 0.3s; -moz-transition: padding 0.3s; transition: padding 0.3s; } .navbar-custom .navbar-brand { font-size: 2.5em; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .navbar-custom.affix { padding: 10px 0; } .navbar-custom.affix .navbar-brand { font-size: 1.5em; } } /* Portfolio test */ section { padding: 50px 0; } section h2 { margin: 0; font-size: 1.5em; padding-bottom: 15px; letter-spacing: 1.5px; /*text-transform: uppercase;*/ font-weight: bolder; color: #4f595d; } @media (max-width: 500px) { section { padding-top: 50px 0; } section.first { padding-top: 75px; } } .grid-item { padding-right: 5px; padding-left: 5px; padding-bottom: 10px; } .nohover:hover{ } .hovereffect { width: 100%; height: 100%; float: left; overflow: hidden; position: relative; text-align: center; cursor: default; background: grey; /*margin: 0 0 15px; right: 0;*/ } .hovereffect .overlay { position: absolute; overflow: hidden; width: 80%; height: 80%; left: 10%; top: 10%; border-bottom: 1px solid #FFF; border-top: 1px solid #FFF; -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: scale(0,1); -ms-transform: scale(0,1); transform: scale(0,1); } .hovereffect:hover .overlay { opacity: 1; filter: alpha(opacity=100); -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } .hovereffect img { display: block; position: relative; -webkit-transition: all 0.35s; transition: all 0.35s; } .hovereffect:hover img { opacity: 0.4; filter: alpha(opacity=40); -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); } .hovereffect h2 { /* text-transform: uppercase;*/ text-align: center; position: relative; font-size: 30px; background-color: transparent; color: #FFF; padding: 1em 0; opacity: 0; filter: alpha(opacity=0); -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); } /*.hovereffect a { color: #FFF; padding: 1em 0; opacity: 0; filter: alpha(opacity=0); -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(0,100%,0); transform: translate3d(0,100%,0); }*/ .hovereffect p { color: #FFF; font-weight: 600; padding: 0; opacity: 0; filter: alpha(opacity=0); -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(0,100%,0); transform: translate3d(0,100%,0);; } .hovereffect:hover a, .hovereffect:hover p, .hovereffect:hover h2 { opacity: 1; filter: alpha(opacity=100); -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); } .btn-outline { color: grey; font-size: 20px; border: solid 2px white; background: transparent; transition: all 0.3s ease-in-out; margin-top: 15px; } /*Contact button colors*/ .btn-outline:hover, .btn-outline:focus, .btn-outline:active, .btn-outline.active { color: lightgrey; background: white; border: solid 2px lightgrey; } .btn-social { display: inline-block; height: 50px; width: 50px; border: 2px solid grey; border-radius: 100%; text-align: center; font-size: 20px; line-height: 47px; } footer .footer-above { background-color: #2C3E50; color: #ECF0F1; } h1 { padding-top: 0px; padding-bottom: 5px; } #Projects { color: #4f595d; } .about-pad { padding-left: 5em; padding-right: 5em; } .jumbotron { background-color: white; padding-bottom: 0px; color: #4f595d; } .img-pad { padding-bottom: 8px; } .img-pad-left { padding-left: 4px; padding-right: 0px; } .img-pad-right { padding-right: 4px; padding-left: 0px; } .img-pad-mid { padding-right: 2px; padding-left: 2px; } h5 { float: right; } .jumbotron h1 { margin-bottom: .5px; } .jumbotron h2 { font-size: 2em; margin-top: 0px; margin-bottom: 20px; } .jumbotron p { font-size: 1em; }