1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Improve image style (#204)

This commit is contained in:
Cotes Chung
2020-12-14 15:00:21 +08:00
parent cc24af11fc
commit dc88321ed5
3 changed files with 5 additions and 5 deletions

View File

@@ -807,10 +807,10 @@ div.post-content .table-wrapper {
word-wrap: break-word;
@mixin img($caption: false) {
> img:not([style]) {
> img[data-src] {
margin: 0.5rem 0;
&:not(.normal):not(.left):not(.right) {
&:not([class]) {
@include align-center;
@if $caption {

View File

@@ -43,7 +43,7 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
margin: 1rem 0 0.8rem;
}
}
.post-preview-img {
.preview-img {
margin-top: 0;
margin-bottom: 2.5rem;
@include align-center;