Difference between revisions of "Team:Tianjin/Community/css/style.css"

Line 1: Line 1:
body{
+
 
  font-family: 'Open Sans', sans-serif;
+
 
 +
 
 +
 
 +
 
 +
/* Pills
 +
---------------------------------- */
 +
.nav-pills > li.active > a,
 +
.nav-pills > li.active > a:hover,
 +
.nav-pills > li.active > a:focus,
 +
.nav-pills > li > a:hover {
 +
background-color: #55acee;
 +
border-color: #55acee;
 +
color: #ffffff;
 
}
 
}
.site-name{
+
.nav-pills > li > a {
  font-family: 'Raleway', sans-serif;
+
border-radius: 0;
 +
padding: 8px 20px;
 +
border: 1px solid #cacaca;
 +
color: #666666;
 +
font-size: 12px;
 +
text-transform: uppercase;
 +
font-weight: 300;
 
}
 
}
html,
+
 
body{
+
/* Forms
  height: 100%;
+
---------------------------------- */
 +
.form-control {
 +
height: 45px;
 +
-webkit-border-radius: 0px;
 +
-moz-border-radius: 0px;
 +
border-radius: 0px;
 
}
 
}
body{
+
.form-control-feedback {
  font-size: 15px;
+
color: #cccccc;
  line-height: 1.50;
+
  color: #333333;
+
  background-color: #ffffff;
+
  position: relative;
+
 
}
 
}
h1,
+
.has-feedback label.sr-only ~ .form-control-feedback {
h2,
+
top: 15px;
h3,
+
h4,
+
h5,
+
h6{
+
  color: #333333;
+
 
}
 
}
h1{
+
textarea {
  font-size: 38px;
+
resize: vertical;
  font-weight: 700;
+
  margin-bottom: 20px;
+
 
}
 
}
h2{
+
 
  font-size: 28px;
+
/* Modals
  margin-bottom: 15px;
+
---------------------------------- */
 +
.modal-content {
 +
-webkit-border-radius: 0px;
 +
-moz-border-radius: 0px;
 +
border-radius: 0px;
 
}
 
}
h3{
+
.modal-header {
  font-size: 22px;
+
background-color: #55acee;
 +
color: #ffffff;
 
}
 
}
h4{
+
.modal-header h4 {
  font-size: 18px;
+
color: #ffffff;
  font-weight: 700;
+
 
}
 
}
h5{
+
.modal-header .close {
  font-size: 16px;
+
font-weight: 300;
  text-transform: uppercase;
+
color: #FFFFFF;
  font-weight: 700;
+
text-shadow: none;
 +
filter: alpha(opacity=100);
 +
opacity: 1;
 
}
 
}
h6{
+
 
  font-weight: 700;
+
/* Large devices (Large desktops 1200px and up) */
 +
@media (min-width:1200px) {
 +
.modal-lg {
 +
width: 1140px;
 +
}
 
}
 
}
h1 span,
+
 
h2 span,
+
/* Media
h3 span,
+
---------------------------------- */
h4 span{
+
.media .fa {
  color: #339BEB;
+
font-size: 24px;
 +
width: 40px;
 +
height: 25px;
 +
line-height: 25px;
 +
padding: 0 5px;
 +
text-align: center;
 
}
 
}
.text-colored{
+
 
  color: #55acee;
+
/* Navigations
 +
----------------------------------------------------------------------------- */
 +
.header .navbar {
 +
margin-bottom: 0;
 
}
 
}
a{
+
.main-navigation .navbar-default {
  color: #55acee;
+
background-color: transparent;
 +
border: none;
 
}
 
}
a:hover{
+
.main-navigation .navbar-default .navbar-nav > li > a {
  color: #339BEB;
+
color: #fff;
 +
padding: 10px 20px;
 +
font-size: 18px;
 +
font-weight: 300;
 
}
 
}
a:focus,
+
.main-navigation .navbar-default .navbar-nav > li.active > a {
a:active{
+
background-color: transparent;
  outline: none;
+
color: #55acee;
 
}
 
}
.large{
+
.main-navigation .navbar-default .navbar-nav > li > a:hover,
  font-size: 18px;
+
.main-navigation .navbar-default .navbar-nav > li.active > a:hover {
 +
color: #55acee;
 
}
 
}
img{
+
@media (min-width:768px) {
  display: block;
+
.main-navigation .navbar-default .navbar-nav > li > a {
  max-width: 100%;
+
padding-top: 30px;
  height: auto;
+
padding-bottom: 30px;
 +
-webkit-transition: all 0.3s ease-in-out;
 +
-moz-transition: all 0.3s ease-in-out;
 +
-o-transition: all 0.3s ease-in-out;
 +
-ms-transition: all 0.3s ease-in-out;
 +
transition: all 0.3s ease-in-out;
 +
}
 
}
 
}
.list-unstyled li{
+
@media (min-width:768px) and (max-width:991px) {
  padding: 5px 0;
+
.main-navigation .container-fluid {
 +
padding-left: 0;
 +
padding-right: 0;
 +
}
 +
.navbar-nav {
 +
float: left !important;
 +
}
 
}
 
}
.list-horizontal{
+
@media (max-width:767px) {
  padding: 15px 0;
+
.header.navbar-fixed-top {
 +
position: absolute;
 +
}
 
}
 
}
.list-horizontal-item img{
+
 
  display: block;
+
/* Fixed Header
  margin: 0 auto;
+
----------------------------------------------------------------------------- */
 +
.fixed-header-on .header {
 +
background-color: rgba(0, 0, 0, 0.95);
 +
padding: 5px 0;
 
}
 
}
.list-icons{
+
.fixed-header-on .site-name {
  padding: 0;
+
font-size: 24px;
  margin: 20px 0;
+
  list-style: none;
+
  font-size: 18px;
+
 
}
 
}
.list-icons li{
+
.fixed-header-on .logo {
  padding: 0 0 15px 0;
+
-webkit-transform: scale(0.8);
 +
transform: scale(0.8);
 +
margin-top: 0;
 +
margin-bottom: 0;
 
}
 
}
blockquote{
+
@media (min-width:768px) {
  border-left: none;
+
.fixed-header-on .navbar-default .navbar-nav > li > a {
  padding-left: 0;
+
padding-top: 20px;
  padding-right: 0;
+
padding-bottom: 20px;
 +
}
 
}
 
}
.title{
+
@media (max-width:991px) {
  margin-top: 0;
+
.fixed-header-on .logo,
 +
.fixed-header-on .site-name,
 +
.fixed-header-on .site-slogan {
 +
display: none;
 +
}
 
}
 
}
  
 
+
/* Blocks/Widgets
/* Layout
+
 
----------------------------------------------------------------------------- */
 
----------------------------------------------------------------------------- */
.header{
+
/* Logo, Site Name, Site Slogan
  color: #ffffff;
+
---------------------------------- */
  background-color: rgba(0, 0, 0, 0.10);
+
.logo {
  padding: 10px 0;
+
margin: 10px 10px 10px 0;
  -webkit-transition: all 0.2s ease-in-out;
+
-webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
+
-moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
+
-o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
+
-ms-transition: all 0.3s ease-in-out;
  transition: all 0.2s ease-in-out;
+
transition: all 0.3s ease-in-out;
 
}
 
}
.banner{
+
.logo,
  width: 100%;
+
.site-name-and-slogan {
  height: 100%;
+
float: left;
  min-height: 100%;
+
  position: relative;
+
  color: #fff;
+
 
}
 
}
.banner-image{
+
.site-name {
  vertical-align: middle;
+
font-size: 36px;
  min-height: 100%;
+
-webkit-transition: all 0.3s ease-in-out;
  width: 100%;
+
-moz-transition: all 0.3s ease-in-out;
 +
-o-transition: all 0.3s ease-in-out;
 +
-ms-transition: all 0.3s ease-in-out;
 +
transition: all 0.3s ease-in-out;
 
}
 
}
.banner:after{
+
.site-name a {
  position: absolute;
+
color: #ffffff;
  top: 0;
+
  left: 0;
+
  right: 0;
+
  bottom: 0;
+
  background-color: rgba(0, 0, 0, 0.55);
+
  content: "";
+
 
}
 
}
.banner-caption{
+
.site-name a:hover {
  position: absolute;
+
text-decoration: none;
  top: 40%;
+
  width: 100%;
+
  z-index: 2;
+
 
}
 
}
.subfooter{
+
.site-slogan {
  background-color: #fafafa;
+
font-size: 12px;
  border-top: 1px solid #f3f3f3;
+
  border-bottom: 1px solid #f3f3f3;
+
  padding: 40px 0;
+
 
}
 
}
.section{
+
 
  background-color: #ffffff;
+
/* Testimonials
  padding: 80px 0;
+
---------------------------------- */
 +
.testimonial .media-left {
 +
width: 60px;
 
}
 
}
  
 
+
/* Social Links
 
+
---------------------------------- */
 
+
.social-links {
 
+
padding: 0;
 
+
list-style: none;
/* Backgrounds
+
margin: 15px 0;
----------------------------------------------------------------------------- */
+
.default-bg{
+
  background-color: #222222;
+
  color: #ffffff;
+
 
}
 
}
.default-bg.blue{
+
.social-links li {
  background-color: #55acee;
+
margin: 10px 25px 10px 0;
}
+
display: inline-block;
.translucent-bg{
+
font-size: 36px;
  color: #ffffff;
+
}
+
.default-bg h1,
+
.default-bg h2,
+
.default-bg h3,
+
.default-bg h4,
+
.default-bg h5,
+
.default-bg h6,
+
.translucent-bg h1,
+
.translucent-bg h2,
+
.translucent-bg h3,
+
.translucent-bg h4,
+
.translucent-bg h5,
+
.translucent-bg h6{
+
  color: #ffffff;
+
}
+
.default-bg blockquote footer,
+
.translucent-bg blockquote footer{
+
  color: #cccccc;
+
 
}
 
}
.default-bg a,
+
.social-links li a {
.translucent-bg a{
+
color: #333333;
  color: #ffffff;
+
-webkit-transition: all 0.2s ease-in-out;
  text-decoration: underline;
+
-moz-transition: all 0.2s ease-in-out;
 +
-o-transition: all 0.2s ease-in-out;
 +
-ms-transition: all 0.2s ease-in-out;
 +
transition: all 0.2s ease-in-out;
 
}
 
}
.default-bg a:hover,
+
.social-links li.twitter a:hover {
.translucent-bg a:hover{
+
color: #55acee;
  text-decoration: none;
+
 
}
 
}
.translucent-bg{
+
.social-links li.skype a:hover {
  -webkit-background-size: cover !important;
+
color: #00aff0;
  -moz-background-size: cover !important;
+
  -o-background-size: cover !important;
+
  background-size: cover !important;
+
  background-position: 50% 0;
+
  background-repeat: no-repeat;
+
  z-index: 1;
+
  position: relative;
+
 
}
 
}
.translucent-bg .translucent-bg{
+
.social-links li.linkedin a:hover {
  margin-top: 80px;
+
color: #0976b4;
  z-index: 3;
+
 
}
 
}
.translucent-bg:after{
+
.social-links li.googleplus a:hover {
  content: "";
+
color: #dd4b39;
  position: absolute;
+
  top: 0;
+
  left: 0;
+
  z-index: 2;
+
  width: 100%;
+
  height: 100%;
+
  background-color: rgba(0, 0, 0, 0.7);
+
 
}
 
}
.translucent-bg.blue:after{
+
.social-links li.youtube a:hover {
  background-color: rgba(85, 172, 238, 0.7);
+
color: #b31217;
 
}
 
}
.translucent-bg .container{
+
.social-links li.flickr a:hover {
  z-index: 3;
+
color: #ff0084;
  position: relative;
+
 
}
 
}
.bg-image-1{
+
.social-links li.facebook a:hover {
  background: url("../images/bg-image-1.jpg") 50% 0px no-repeat;
+
color: #3b5998;
 
}
 
}
.bg-image-2{
+
.social-links li.pinterest a:hover {
  background: url("../images/bg-image-2.jpg") 50% 0px no-repeat;
+
color: #cb2027;
 
}
 
}
  
 
+
/* Isotope Items
 
+
---------------------------------- */
/* Misc
+
.filters {
----------------------------------------------------------------------------- */
+
margin: 0 0 30px 0;
.object-non-visible{
+
  opacity: 0;
+
  filter: alpha(opacity=0);
+
 
}
 
}
.object-visible,
+
.filters .nav-pills > li {
.touch .object-non-visible{
+
margin-right: 2px;
  opacity: 1 !important;
+
margin-bottom: 2px;
  filter: alpha(opacity=100) !important;
+
 
}
 
}
 
+
.filters .nav-pills > li + li {
@-moz-document url-prefix(){
+
margin-left: 0px;
  .object-visible,
+
.touch .object-non-visible{
+
  -webkit-transition: opacity 0.6s ease-in-out;
+
  -moz-transition: opacity 0.6s ease-in-out;
+
  -o-transition: opacity 0.6s ease-in-out;
+
  -ms-transition: opacity 0.6s ease-in-out;
+
  transition: opacity 0.6s ease-in-out;
+
 
}
 
}
 
+
.text-center.filters .nav-pills > li {
 +
margin-right: 2px;
 +
margin-left: 2px;
 +
margin-bottom: 2px;
 +
display: inline-block;
 +
float: none;
 
}
 
}
.space{
+
.isotope-container {
  padding: 20px 0;
+
overflow: hidden;
 
}
 
}
.pr-10{
+
.isotope-item {
  padding-right: 10px;
+
margin-bottom: 20px;
 
}
 
}
.pl-10{
+
.isotope-item .btn-default {
  padding-left: 10px;
+
color: #999999;
 
}
 
}
.pb-clear{
+
.isotope-item .btn-default:hover {
  padding-bottom: 0;
+
color: #ffffff;
 
}
 
}
/* Sections
+
@media (max-width:480px) {
----------------------------------------------------------------------------- */
+
.filters .nav-pills > li {
.banner-caption h1,
+
width: 100%;
.banner-caption h2,
+
display: block;
.banner-caption h3,
+
}
.banner-caption h4,
+
.banner-caption h5,
+
.banner-caption h6{
+
  color: #ffffff;
+
 
}
 
}
.banner-caption h1{
+
 
  font-size: 60px;
+
/* Images Overlay
}
+
.subfooter p{
+
  margin-bottom: 0;
+
}
+
/* Template Components
+
 
----------------------------------------------------------------------------- */
 
----------------------------------------------------------------------------- */
/* Buttons
+
.overlay-container {
---------------------------------- */
+
position: relative;
.btn{
+
display: block;
  padding: 8px 15px;
+
overflow: hidden;
  font-size: 14px;
+
  line-height: 1.42857143;
+
  min-width: 160px;
+
  text-align: center;
+
  border-radius: 0;
+
  text-transform: uppercase;
+
  -webkit-transition: all 0.2s ease-in-out;
+
  -moz-transition: all 0.2s ease-in-out;
+
  -ms-transition: all 0.2s ease-in-out;
+
  -o-transition: all 0.2s ease-in-out;
+
  transition: all 0.2s ease-in-out;
+
 
}
 
}
.btn-default{
+
.overlay {
  color: #55acee;
+
position: absolute;
  border: 1px solid #cccccc;
+
top: 0;
 +
bottom: -1px;
 +
left: 0;
 +
right: -1px;
 +
background-color: rgba(85, 172, 238, 0.9);
 +
cursor: pointer;
 +
overflow: hidden;
 +
opacity: 0;
 +
filter: alpha(opacity=0);
 +
-webkit-transform: scale(0.8);
 +
transform: scale(0.8);
 +
-webkit-transition: all linear 0.2s;
 +
-moz-transition: all linear 0.2s;
 +
-ms-transition: all linear 0.2s;
 +
-o-transition: all linear 0.2s;
 +
transition: all linear 0.2s;
 
}
 
}
.btn-default:hover{
+
.overlay:hover {
  color: #ffffff;
+
text-decoration: none;
  background-color: #339BEB;
+
  border-color: #339BEB;
+
 
}
 
}
 
+
.overlay span {
 
+
position: absolute;
 
+
display: block;
 
+
bottom: 10px;
 
+
text-align: center;
 
+
/* Collapse
+
---------------------------------- */
+
 
+
 
+
 
+
 
+
.panel-group .panel {
+
-webkit-border-radius: 0px;
+
-moz-border-radius: 0px;
+
border-radius: 0px;
+
border: none;
+
}
+
.panel-default > .panel-heading {
+
padding: 0;
+
outline: none;
+
border: none;
+
-webkit-border-radius: 0;
+
-moz-border-radius: 0;
+
-o-border-radius: 0;
+
border-radius: 0;
+
 
width: 100%;
 
width: 100%;
}
 
.panel-default > .panel-heading + .panel-collapse > .panel-body {
 
border: 1px solid #f0f0f0;
 
border-top: none;
 
background-color: #fafafa
 
}
 
.panel-heading a {
 
font-weight: 400;
 
padding: 12px 35px 12px 15px;
 
display: inline-block;
 
width: 100%;
 
background-color: #55acee;
 
 
color: #ffffff;
 
color: #ffffff;
position: relative;
+
font-size: 13px;
text-decoration: none;
+
font-weight: 300;
}
+
.panel-heading a.collapsed {
+
color: #ffffff;
+
background-color: #333333;
+
 
}
 
}
.panel-heading a:after {
+
.overlay i {
font-family: "FontAwesome";
+
content: "\f147";
+
 
position: absolute;
 
position: absolute;
right: 15px;
+
left: 50%;
font-size: 14px;
+
font-weight: 300;
+
 
top: 50%;
 
top: 50%;
line-height: 1;
+
font-size: 18px;
margin-top: -7px;
+
line-height: 1x;
}
+
.panel-heading a.collapsed:after {
+
content: "\f196";
+
}
+
.panel-heading a:hover {
+
text-decoration: none;
+
background-color: #55acee;
+
 
color: #ffffff;
 
color: #ffffff;
 +
margin-top: -8px;
 +
margin-left: -8px;
 +
text-align: center;
 
}
 
}
.panel-title a i {
+
.overlay-container:hover .overlay {
padding-right: 10px;
+
opacity: 1;
font-size: 20px;
+
filter: alpha(opacity=100);
}
+
-webkit-transform: scale(1);
 
+
transform: scale(1);
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
/* Pills
+
---------------------------------- */
+
 
+
 
}
 
}

Revision as of 12:14, 13 September 2016



/* Pills


*/

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus, .nav-pills > li > a:hover { background-color: #55acee; border-color: #55acee; color: #ffffff; } .nav-pills > li > a { border-radius: 0; padding: 8px 20px; border: 1px solid #cacaca; color: #666666; font-size: 12px; text-transform: uppercase; font-weight: 300; }

/* Forms


*/

.form-control { height: 45px; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; } .form-control-feedback { color: #cccccc; } .has-feedback label.sr-only ~ .form-control-feedback { top: 15px; } textarea { resize: vertical; }

/* Modals


*/

.modal-content { -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; } .modal-header { background-color: #55acee; color: #ffffff; } .modal-header h4 { color: #ffffff; } .modal-header .close { font-weight: 300; color: #FFFFFF; text-shadow: none; filter: alpha(opacity=100); opacity: 1; }

/* Large devices (Large desktops 1200px and up) */ @media (min-width:1200px) { .modal-lg { width: 1140px; } }

/* Media


*/

.media .fa { font-size: 24px; width: 40px; height: 25px; line-height: 25px; padding: 0 5px; text-align: center; }

/* Navigations


*/

.header .navbar { margin-bottom: 0; } .main-navigation .navbar-default { background-color: transparent; border: none; } .main-navigation .navbar-default .navbar-nav > li > a { color: #fff; padding: 10px 20px; font-size: 18px; font-weight: 300; } .main-navigation .navbar-default .navbar-nav > li.active > a { background-color: transparent; color: #55acee; } .main-navigation .navbar-default .navbar-nav > li > a:hover, .main-navigation .navbar-default .navbar-nav > li.active > a:hover { color: #55acee; } @media (min-width:768px) { .main-navigation .navbar-default .navbar-nav > li > a { padding-top: 30px; padding-bottom: 30px; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } } @media (min-width:768px) and (max-width:991px) { .main-navigation .container-fluid { padding-left: 0; padding-right: 0; } .navbar-nav { float: left !important; } } @media (max-width:767px) { .header.navbar-fixed-top { position: absolute; } }

/* Fixed Header


*/

.fixed-header-on .header { background-color: rgba(0, 0, 0, 0.95); padding: 5px 0; } .fixed-header-on .site-name { font-size: 24px; } .fixed-header-on .logo { -webkit-transform: scale(0.8); transform: scale(0.8); margin-top: 0; margin-bottom: 0; } @media (min-width:768px) { .fixed-header-on .navbar-default .navbar-nav > li > a { padding-top: 20px; padding-bottom: 20px; } } @media (max-width:991px) { .fixed-header-on .logo, .fixed-header-on .site-name, .fixed-header-on .site-slogan { display: none; } }

/* Blocks/Widgets


*/

/* Logo, Site Name, Site Slogan


*/

.logo { margin: 10px 10px 10px 0; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } .logo, .site-name-and-slogan { float: left; } .site-name { font-size: 36px; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } .site-name a { color: #ffffff; } .site-name a:hover { text-decoration: none; } .site-slogan { font-size: 12px; }

/* Testimonials


*/

.testimonial .media-left { width: 60px; }

/* Social Links


*/

.social-links { padding: 0; list-style: none; margin: 15px 0; } .social-links li { margin: 10px 25px 10px 0; display: inline-block; font-size: 36px; } .social-links li a { color: #333333; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } .social-links li.twitter a:hover { color: #55acee; } .social-links li.skype a:hover { color: #00aff0; } .social-links li.linkedin a:hover { color: #0976b4; } .social-links li.googleplus a:hover { color: #dd4b39; } .social-links li.youtube a:hover { color: #b31217; } .social-links li.flickr a:hover { color: #ff0084; } .social-links li.facebook a:hover { color: #3b5998; } .social-links li.pinterest a:hover { color: #cb2027; }

/* Isotope Items


*/

.filters { margin: 0 0 30px 0; } .filters .nav-pills > li { margin-right: 2px; margin-bottom: 2px; } .filters .nav-pills > li + li { margin-left: 0px; } .text-center.filters .nav-pills > li { margin-right: 2px; margin-left: 2px; margin-bottom: 2px; display: inline-block; float: none; } .isotope-container { overflow: hidden; } .isotope-item { margin-bottom: 20px; } .isotope-item .btn-default { color: #999999; } .isotope-item .btn-default:hover { color: #ffffff; } @media (max-width:480px) { .filters .nav-pills > li { width: 100%; display: block; } }

/* Images Overlay


*/

.overlay-container { position: relative; display: block; overflow: hidden; } .overlay { position: absolute; top: 0; bottom: -1px; left: 0; right: -1px; background-color: rgba(85, 172, 238, 0.9); cursor: pointer; overflow: hidden; opacity: 0; filter: alpha(opacity=0); -webkit-transform: scale(0.8); transform: scale(0.8); -webkit-transition: all linear 0.2s; -moz-transition: all linear 0.2s; -ms-transition: all linear 0.2s; -o-transition: all linear 0.2s; transition: all linear 0.2s; } .overlay:hover { text-decoration: none; } .overlay span { position: absolute; display: block; bottom: 10px; text-align: center; width: 100%; color: #ffffff; font-size: 13px; font-weight: 300; } .overlay i { position: absolute; left: 50%; top: 50%; font-size: 18px; line-height: 1x; color: #ffffff; margin-top: -8px; margin-left: -8px; text-align: center; } .overlay-container:hover .overlay { opacity: 1; filter: alpha(opacity=100); -webkit-transform: scale(1); transform: scale(1); }