1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 13:44:15 +00:00

feat: add embed video support

This commit is contained in:
Cotes Chung
2022-12-17 03:56:19 +08:00
parent 8de1abda6b
commit ed6dc539ef
3 changed files with 25 additions and 0 deletions

View File

@@ -576,6 +576,21 @@ i { /* fontawesome icons */
}
}
.embed-video {
width: 100%;
height: 100%;
border-radius: 4px;
margin-bottom: 1rem;
&.youtube {
aspect-ratio: 16 / 9;
}
&.twitch {
aspect-ratio: 310 / 189;
}
}
/* --- buttons --- */
.btn-lang {
border: 1px solid !important;