CSS for framing an image inline the article
This commit is contained in:
parent
1c052b8409
commit
c292f33334
|
@ -58,6 +58,11 @@ blockquote {
|
||||||
border: 1px solid #222;
|
border: 1px solid #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.img-frame {
|
||||||
|
background-color: rgba(255, 255, 255, 0.1);
|
||||||
|
border: 1px solid #333;
|
||||||
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
background: #222;
|
background: #222;
|
||||||
border: 1px solid #333;
|
border: 1px solid #333;
|
||||||
|
|
|
@ -58,6 +58,11 @@ blockquote {
|
||||||
border: 1px solid #CCC;
|
border: 1px solid #CCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.img-frame {
|
||||||
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
|
border: 1px solid #BBB;
|
||||||
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
background: #EFEFEF;
|
background: #EFEFEF;
|
||||||
border: 1px solid #CCCCCC;
|
border: 1px solid #CCCCCC;
|
||||||
|
|
|
@ -141,6 +141,10 @@ img {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.img-frame {
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
/* For screens with width smaller than 400px */
|
/* For screens with width smaller than 400px */
|
||||||
.figure-left .figure-right {
|
.figure-left .figure-right {
|
||||||
max-width: 95%;
|
max-width: 95%;
|
||||||
|
|
Loading…
Reference in New Issue