class to center an image as a block element
this is effectively a replacement for div.splash means of getting a centered header image, and can be used anywhere
This commit is contained in:
parent
bb0e71e9e4
commit
ae72fe87b5
|
@ -131,6 +131,12 @@ img {
|
||||||
max-width: 50% !important;
|
max-width: 50% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.img-center {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
/* 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