Skip to content

Instantly share code, notes, and snippets.

@lnazarit
Created April 12, 2016 18:55
Show Gist options
  • Select an option

  • Save lnazarit/cab44f073f8afddd79259e047db27d5d to your computer and use it in GitHub Desktop.

Select an option

Save lnazarit/cab44f073f8afddd79259e047db27d5d to your computer and use it in GitHub Desktop.
.box-default-2 a .cover img {
width: 45px;
}
.box-default-2 a p {
opacity: .7;
position: relative;
}
.box-default-2 a p:after {
content: "+";
color: #f6303e;
font-weight: 200;
font-size: 60px;
clear: both;
overflow: hidden;
display: block;
margin-top: 10px;
line-height: 30px;
}
.box-default-2 a {
background: rgba(255,255,255,.8);
text-align: center;
padding: 40px;
text-align: center;
display: block;
color: #000;
font-size: 14px;
-webkit-transition: all .25s ease; -moz-transition: all .25s ease; -o-transition: all .25s ease; -ms-transition: all .25s ease;
}
.box-default-2 a:hover {
background: #FFF;
transform: scale(1.05)
}
.box-default-2 h3 {
font-size: 21px;
font-weight: 600;
margin-bottom: 20px;
}
@media (max-width: 768px) {
.box-default-2 {
margin-left: 0;
}
.box-default-2 li {
float: none;
width: 100%;
margin: 0;
}
.box-default-2 h3 {
margin: 0;
margin-bottom: 7px;
font-size: 18px;
}
.box-default-2 a {
overflow: hidden;
position: relative;
text-align: left;
padding: 10px;
width: 100%;
padding-right: 40px;
border-bottom: 1px solid #EEE;
}
.box-default-2 a p:after {
display: none;
}
.box-default-2 .cover {
float: left;
margin-right: 20px;
}
.box-default-2 a:after {
font-family: FontAwesome;
position: absolute;
right: 10px;
top: 35%;
content: "\f105";
color: #CCC;
font-size: 30px;
}
.box-default-2 p {
line-height: 1.2;
font-size: 13px;
}
.box-default-2 .description {
overflow: hidden;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment