Skip to content

Commit

Permalink
feat: Remark42 style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lh1me committed Feb 19, 2021
1 parent 1b4a5ab commit e108af7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ gulp.task('css', function () {
'source/stylesheets/viewer.min.css',
'source/stylesheets/swiper-bundle.min.css',
'source/stylesheets/plyr.css',
'source/stylesheets/remark42.css',
'source/stylesheets/post.css',
'source/stylesheets/style.scss'
])
Expand Down
4 changes: 2 additions & 2 deletions source/dist/build.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions source/stylesheets/remark42.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#remark42 {
padding: 20px;
background: #fff;
border-radius: 8px;
}
5 changes: 3 additions & 2 deletions source/stylesheets/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ img:not([src]):not([srcset]) {
.main {
position: relative;
margin-bottom: 150px;
z-index: 2;

.inner {
padding-right: 300px;
Expand Down Expand Up @@ -741,6 +740,8 @@ img:not([src]):not([srcset]) {
position: relative;

.article-gallery {
z-index: 0 !important;

img {
width: 100%;
cursor: pointer;
Expand Down Expand Up @@ -978,7 +979,7 @@ img:not([src]):not([srcset]) {
position: fixed;
left: 0;
bottom: 0;
z-index: 1;
z-index: -1;

&-wave {
width: 100%;
Expand Down

0 comments on commit e108af7

Please sign in to comment.