Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
feat(content): support complete local resource references (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq authored May 28, 2020
1 parent 0c1f7d0 commit aa48df5
Show file tree
Hide file tree
Showing 93 changed files with 867 additions and 709 deletions.
4 changes: 4 additions & 0 deletions assets/css/_page/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@
height: 100%;
left: 0;
top: 0;
@include object-fit(none);
}

img.lazyloaded {
@include object-fit(cover);
}

Expand Down
10 changes: 9 additions & 1 deletion assets/css/_page/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@

img {
display: block;
width: 100%;
max-width: 100%;
height: auto;
margin: 0 auto;
overflow: hidden;
}

img.lazyloaded {
width: 100%;
}
}

.content {
Expand Down Expand Up @@ -321,3 +325,7 @@
@import "../_partial/_single/footer";
@import "../_partial/_single/comment";
}

.lg-toolbar .lg-icon::after {
color: #999;
}
Loading

0 comments on commit aa48df5

Please sign in to comment.