move styles to theme

move styles responsible for centering images within figure elements to
the theme.
This commit is contained in:
ray 2020-02-14 20:58:20 +00:00
parent dd07efe300
commit 6978b760d0
1 changed files with 10 additions and 3 deletions

View File

@ -36,7 +36,6 @@ body.colorscheme-light .avatar img {
display: block; display: block;
height: auto; height: auto;
width: auto; width: auto;
margin: 0 auto;
} }
@media (max-width: 500px) { @media (max-width: 500px) {
@ -88,7 +87,6 @@ body.colorscheme-light .avatar img {
height: auto; height: auto;
width: 100%; width: 100%;
max-width: 250px; max-width: 250px;
margin: 0 auto;
} }
@media (min-width: 500px) { @media (min-width: 500px) {
@ -114,7 +112,6 @@ body.colorscheme-light .avatar img {
.content figure.logo > img { .content figure.logo > img {
display: block; display: block;
height: 100%; height: 100%;
margin: 0 auto;
} }
@media (min-width: 500px) { @media (min-width: 500px) {
@ -130,3 +127,13 @@ body.colorscheme-light .avatar img {
height: 1.6em; height: 1.6em;
} }
} }
.wp-icon > img {
opacity: 0.7;
}
@media (max-width: 500px) {
.content figure.icon-inline.wp-icon > img {
display: none;
}
}