Make img centered
This commit is contained in:
parent
73ce337a03
commit
8c21f73baf
1 changed files with 8 additions and 0 deletions
|
@ -153,6 +153,7 @@ a {
|
|||
& .sidebar {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
top: 0;
|
||||
|
@ -456,11 +457,18 @@ img {
|
|||
max-width: 100%;
|
||||
border-radius: 5px;
|
||||
margin: 1rem 0;
|
||||
max-width: 100%;
|
||||
max-height: 500px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
p > img + em {
|
||||
display: block;
|
||||
transform: translateY(-1rem);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
hr {
|
||||
|
|
Loading…
Reference in a new issue