1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 10:51:21 +02:00

Flextype Core: Default Theme #165

- look and feel updates
This commit is contained in:
Awilum
2019-07-03 13:37:55 +03:00
parent 73ca441917
commit b012b940ef
2 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
.gallery-grid-item-title {
position: absolute;
color: #fff;
padding: 14px 20px 8px;
background: rgba(0,0,0,1);
font-size: 20px;
width: 100%;
text-align: center;
bottom: 0;
margin: 0;
}
.gallery-grid-item-img {
cursor: pointer;
}
/* clear fix */
.gallery-grid:after {
content: "";
display: block;
clear: both;
}
/* ---- .grid-item ---- */
.gallery-grid-item,
.gallery-grid-sizer {
width: 33.333%;
}
.gallery-grid-item {
float: left;
padding: 10px;
> a {
display: block;
position: relative;
}
}
.gallery-grid-item img {
display: block;
width: 100%;
}
.gallery-img-box-left-bottom {
margin-right: 20px;
margin-bottom: 20px;
}
@media (max-width: 1024px) {
.gallery-grid-item-title {
font-size: 12px;
}
}
@media (max-width: 812px) {
.gallery-grid-item {
display: block;
float: none;
width: 100%;
}
}

View File

@@ -19,6 +19,7 @@
// Discrete, complete chunks of UI
@import "components/nav";
@import "components/blog";
@import "components/gallery";
@import "components/footer";
// Thumps