mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Update blog archetype and add border to videos
This commit is contained in:
parent
2616803f47
commit
afb9ff6ab0
@ -15,6 +15,13 @@ tags = [
|
|||||||
# this image will be shown for the article in list pages
|
# this image will be shown for the article in list pages
|
||||||
[[resources]]
|
[[resources]]
|
||||||
name = "feature"
|
name = "feature"
|
||||||
src = "gui.webp"
|
src = "something.webp"
|
||||||
title = "Checkra1n GUI running on Arch Linux"
|
title = "Some image (image format can be anything; webp is just an example)"
|
||||||
|
|
||||||
|
# same as above, but a video. only one will be shown; image takes
|
||||||
|
# priority over video
|
||||||
|
[[resources]]
|
||||||
|
name = "feature-video"
|
||||||
|
src = "whatever.webm"
|
||||||
|
title = "Whatever video (video format can be anything; webm is just an example)"
|
||||||
+++
|
+++
|
||||||
|
@ -95,7 +95,7 @@ img, video {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
img:not(.noborder) {
|
img:not(.noborder), video:not(.noborder) {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: 5px solid #1b5b9b;
|
border: 5px solid #1b5b9b;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user