Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/assets/css/projects.css
2018-10-16 18:28:42 +02:00

85 lines
1.7 KiB
CSS

.icon-explanation {
font-size: 22px;
color: #fafafa;
display: inline-block;
margin-right: 30px;
}
.icon-explanation i.fa, .icon-explanation i.fab {
color: #00bf6f;
background-color: #fff;
padding: 7px 0;
text-align: center;
border-radius: 10px;
margin-top: 10px;
margin-right: 5px;
width: 35px;
height: 35px;
}
/* Style for project list entries */
.card {
transition: .2s box-shadow;
}
.card:hover,
.card:active,
.card:focus {
-webkit-box-shadow: 0 0 10px rgba(255, 255, 255, .6);
-moz-box-shadow: 0 0 10px rgba(255, 255, 255, .6);
box-shadow: 0 0 10px rgba(255, 255, 255, .6);
}
.card .card-img-top {
height: 200px;
background-size: cover;
background-position: center;
position: relative;
}
.card .card-img-top .project-title {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
width: 80%;
font-size: 20px;
font-weight: bold;
background-color: rgba(0,0,0,.8);
color: white;
border-radius: .25rem;
padding: 10px 15px;
transition: font-size .2s;
}
.card:hover .card-img-top .project-title,
.card:active .card-img-top .project-title,
.card:focus .card-img-top .project-title {
font-size: 12px;
}
.card .card-img-top .info-icons {
position: absolute;
left: 10px;
top: 10px;
}
.card .card-img-top .info-icons .info-icon {
display: block;
width: 30px;
height: 30px;
background-color: white;
color: #00bf6f;
border-radius: .25rem;
text-align: center;
margin-bottom: 5px;
}
.card .card-img-top .info-icons .info-icon i {
vertical-align: middle;
}
.card .card-body {
color: #0d0d0d;
}