CSS for framing an image inline the article

This commit is contained in:
Brian S. Stephan 2021-02-12 12:51:12 -06:00
parent 1c052b8409
commit c292f33334
3 changed files with 14 additions and 0 deletions

View File

@ -58,6 +58,11 @@ blockquote {
border: 1px solid #222;
}
.img-frame {
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid #333;
}
figure {
background: #222;
border: 1px solid #333;

View File

@ -58,6 +58,11 @@ blockquote {
border: 1px solid #CCC;
}
.img-frame {
background-color: rgba(0, 0, 0, 0.1);
border: 1px solid #BBB;
}
figure {
background: #EFEFEF;
border: 1px solid #CCCCCC;

View File

@ -141,6 +141,10 @@ img {
margin-right: auto;
}
.img-frame {
padding: 5px;
}
/* For screens with width smaller than 400px */
.figure-left .figure-right {
max-width: 95%;