Skip to content

Commit

Permalink
Update image styles
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Oct 17, 2024
1 parent ce3cf73 commit 0201e35
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 60 deletions.
22 changes: 4 additions & 18 deletions css/drupal.ckeditor.theme.styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/drupal.ckeditor.theme.styles.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/drupal.ckeditor.theme.styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/drupal.ckeditor.theme.styles.min.css.map

Large diffs are not rendered by default.

22 changes: 4 additions & 18 deletions css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/styles.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/styles.min.css.map

Large diffs are not rendered by default.

22 changes: 4 additions & 18 deletions src/css/base/media.base.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,6 @@ object {
object-fit: cover;
}

.img-zoom {
overflow: hidden;
}

.img-zoom img {
transition: transform 0.3s ease-in-out;
transform-origin: bottom center;
}

.img-zoom:hover img {
transform: scale(1.05);
}

.img-rounded img {
border-radius: 9999px;
}

@media (min-width: $breakpoint--md) {

.md--img-cover-none img {
Expand All @@ -92,7 +75,10 @@ object {
transform: scale(1.05);
}

.img-rounded img {
.img-rounded img,
.image-style-circle-400,
.image-style-circle-600,
.image-style-circle-focal-point-600 {
border-radius: 9999px;
}

Expand Down

0 comments on commit 0201e35

Please sign in to comment.