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 {
|
& .sidebar {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -456,11 +457,18 @@ img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 500px;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
p > img + em {
|
p > img + em {
|
||||||
display: block;
|
display: block;
|
||||||
transform: translateY(-1rem);
|
transform: translateY(-1rem);
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
|
Loading…
Reference in a new issue