mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-11-04 02:37:54 -06:00 
			
		
		
		
	Update blog archetype and add border to videos
This commit is contained in:
		@@ -15,6 +15,13 @@ tags = [
 | 
			
		||||
# this image will be shown for the article in list pages
 | 
			
		||||
[[resources]]
 | 
			
		||||
name = "feature"
 | 
			
		||||
src = "gui.webp"
 | 
			
		||||
title = "Checkra1n GUI running on Arch Linux"
 | 
			
		||||
src = "something.webp"
 | 
			
		||||
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%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
img:not(.noborder) {
 | 
			
		||||
img:not(.noborder), video:not(.noborder) {
 | 
			
		||||
  padding: 5px;
 | 
			
		||||
  border: 5px solid #1b5b9b;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user