mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-10-24 22:13:33 -05:00
Remove make figure images centered and remove border
Also use a generic .figure-media class instead of manually specifying both img and video in the CSS Fixes #36 and a draft issue
This commit is contained in:
2 files changed
+11
-10
No files matched your search
@@ -198,21 +198,22 @@ video {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.post-media > figure img,
|
||||
.post-media > figure video {
|
||||
figure > .figure-media {
|
||||
padding: 5px;
|
||||
border: 7px solid var(--figure-border);
|
||||
}
|
||||
|
||||
figure img,
|
||||
figure video {
|
||||
padding: 5px;
|
||||
figure > .figure-media.border {
|
||||
border: 2px solid var(--figure-border);
|
||||
}
|
||||
|
||||
.post-media > figure > .figure-media {
|
||||
border: 7px solid var(--figure-border);
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: auto;
|
||||
display: inline-block;
|
||||
display: block;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
|
||||
Reference in new issue
Block a user