Skip to content

Commit

Permalink
Some css fine tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
indigoxela committed Jun 11, 2021
1 parent 0a522b8 commit 5a2aac6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion css/gallery-tiler-media.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@
grid-column: 2 / 4;
grid-row: 3 / 5;
}
.gallery-tiler-circles .tile-1,
.gallery-tiler-circles .tile-7 {
transform: scale(1.08);
}

/**
* Type "Octagon".
Expand All @@ -239,7 +243,9 @@
*/
.gallery-tiler-hexagon .field-items {
grid-template-columns: repeat(4, 1fr);
padding-bottom: var(--height);
padding-bottom: calc(var(--height) / 1.5);
padding-left: calc(2% + var(--gap));
padding-right: calc(2% + var(--gap));
}
.gallery-tiler-hexagon .field-item {
-webkit-clip-path: polygon(25% 0, 0 50%, 25% 100%, 75% 100%, 100% 50%, 75% 0%);
Expand Down
2 changes: 2 additions & 0 deletions css/gallery-tiler.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
/* Use our CSS variable. */
grid-auto-rows: var(--height, 180px);
gap: var(--gap, 0);
margin-top: var(--gap, 0);
margin-bottom: var(--gap, 0);
}
/* Fallback to flex for some older browsers. */
@supports not (display: grid) {
Expand Down

0 comments on commit 5a2aac6

Please sign in to comment.