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:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user