Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions hlx_statics/blocks/image/image.css

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSS nesting

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
main div.image-wrapper {
width: 50%;
margin: auto;
}

main div.image-wrapper div.image {
display: flex;
justify-content: center;
}

main div.section.image-container {
background-color: #fff;
}

main div.section.image-container:has(.image.background-color-gray) {
background-color: rgb(245, 245, 245);
}

main div.section.image-container:has(.image.background-color-white) {
background-color: #fff;
}

main div.section.image-container:has(.image.background-color-navy) {
background-color: rgb(15, 55, 95);
}

main div.section.image-container:has(.image.background-color-dark-gray) {
background-color: #323232;
}

main div.image-wrapper div.image.medium img {
width: 500px;
height: 100%;
}
Empty file.
Loading