Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rocket-martue/cdbae87790207e27af82ed2d88c68e21 to your computer and use it in GitHub Desktop.
Save rocket-martue/cdbae87790207e27af82ed2d88c68e21 to your computer and use it in GitHub Desktop.
Snow Monkey 任意のタクソノミーの投稿の画像を「画像」ブロックで使用できる流体にする
.snow-monkey-taxonomy-posts .c-entry-summary__figure {
background-color:transparent;
}
.snow-monkey-taxonomy-posts .c-entries__item>a .c-entry-summary__figure>img {
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
mask-position: 50% 50%;
-webkit-mask-size: contain;
mask-size: contain;
-webkit-mask-image: url(//example.com/wp-content/plugins/snow-monkey-editor/dist/css/../../src/style/fluid-shape-1/shape.svg);
mask-image: url(//example.com/wp-content/plugins/snow-monkey-editor/dist/css/../../src/style/fluid-shape-1/shape.svg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment