magcms/materialize/css/style.css

45 lines
893 B
CSS
Raw Normal View History

2015-12-03 06:09:29 +01:00
.galleries-grid {
width: 100%;
height: 100%;
position: relative;
text-align: center;
margin: 0 auto;
padding: 0px;
}
.galleries-line {
width: 100%;
height: 100%;
}
.gallery-square {
width: 47%;
height: 100%;
float: left;
margin: 0 1.5% 3%;
padding-bottom: 47%;
position: relative;
}
.gallery-cover {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-position: center center;
background-size: cover;
}
2015-12-03 07:26:37 +01:00
.gallery-title {
color: white;
width: 100%;
position: absolute;
top: initial;
bottom: 0px;
text-align: center;
z-index: 3;
background: transparent -moz-linear-gradient(center top , rgba(255, 255, 255, 0) 0%, transparent 1%, rgba(0, 0, 0, 0.07) 26%, rgba(0, 0, 0, 0.5) 71%, rgba(0, 0, 0, 0.7) 100%) repeat scroll 0% 0%;
padding: 20% 0 0;
}