Skip to content

Commit

Permalink
💄 Style: update bilibili and douyin shortcode style
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jul 7, 2024
1 parent c021a53 commit adf2acd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions assets/css/_shortcodes/_bilibili.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.bilibili {
position: relative;
width: 100%;
height: 0;
padding-bottom: 75%;
margin: 3% auto;
height: auto;
aspect-ratio: 16 / 9;
margin: 1rem auto;
text-align: center;

iframe {
Expand Down
2 changes: 1 addition & 1 deletion assets/css/_shortcodes/_douyin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
width: 100%;
height: 0;
padding-bottom: 60.725%;
margin: 3% auto;
margin: 1rem auto;
text-align: center;

iframe {
Expand Down

0 comments on commit adf2acd

Please sign in to comment.