Skip to content

Commit 831804f

Browse files
Merge pull request #3378 from kolchfa-aws/image-style
Add border styling and padding to blog images
2 parents 0df54a6 + ef8dde1 commit 831804f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

_sass/_opensearch.scss

+8-3
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,11 @@
102102
.img-fluid {
103103
max-width: 100%;
104104
height: auto;
105-
border: 1px solid $line-lighter;
106105
}
107106
.img-centered {
108107
max-width: 100%;
109108
margin: 0 auto;
110109
display: block;
111-
border: 1px solid $line-lighter;
112110
}
113111
.downloads-page {
114112
.layout-2col {
@@ -506,7 +504,14 @@
506504
}
507505

508506
.page--blog-post {
509-
507+
#content-main {
508+
img {
509+
padding: 10px;
510+
border: 1px solid $line-lighter;
511+
border-radius: 4px;
512+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
513+
}
514+
}
510515

511516
.highlight pre, .highlight code {
512517
border: none;

0 commit comments

Comments
 (0)