margin-inline
This commit is contained in:
parent
cc787dbf01
commit
d04e207a64
4 changed files with 6 additions and 6 deletions
|
@ -74,8 +74,8 @@
|
||||||
|
|
||||||
& code {
|
& code {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
margin: 0 3px;
|
margin-inline: 3px;
|
||||||
padding: 0 3px;
|
padding-inline: 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: var(--code-color);
|
background-color: var(--code-color);
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
grid-template-rows: max-content;
|
grid-template-rows: max-content;
|
||||||
gap: 25px;
|
gap: 25px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 0 auto;
|
margin-inline: auto;
|
||||||
max-width: 1599px;
|
max-width: 1599px;
|
||||||
}
|
}
|
||||||
.post {
|
.post {
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
margin: 0 auto;
|
margin-inline: auto;
|
||||||
transition: transform .3s ease-out;
|
transition: transform .3s ease-out;
|
||||||
}
|
}
|
||||||
& div.emoji {
|
& div.emoji {
|
||||||
|
|
|
@ -201,7 +201,7 @@
|
||||||
article {
|
article {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
max-width: 60rem;
|
max-width: 60rem;
|
||||||
margin: 0 auto;
|
margin-inline: auto;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
@ -221,7 +221,7 @@
|
||||||
}
|
}
|
||||||
& .thumbnail {
|
& .thumbnail {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin-inline: auto;
|
||||||
max-height: 50vh;
|
max-height: 50vh;
|
||||||
}
|
}
|
||||||
& img.thumbnail {
|
& img.thumbnail {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue