mirror of
https://gitlab.com/upRootNutrition/obsidian.git
synced 2025-06-15 22:35:12 -05:00
Initial commit
This commit is contained in:
commit
bc15d67574
1475 changed files with 1056167 additions and 0 deletions
26
.obsidian/snippets/img-grid.css
vendored
Normal file
26
.obsidian/snippets/img-grid.css
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
/* Updated for Obsidian 0.9.22 and up */
|
||||
|
||||
.img-grid .markdown-preview-section img:not([width]),
|
||||
.img-grid .markdown-preview-section video {
|
||||
width:100%;
|
||||
}
|
||||
.img-grid .markdown-preview-section > div {
|
||||
display:flex;
|
||||
}
|
||||
.img-grid .markdown-preview-section > div > .internal-embed {
|
||||
flex:1;
|
||||
margin-left:-0.5rem;
|
||||
padding:0 0.5rem 0.5rem 0.5rem;
|
||||
}
|
||||
.img-grid .markdown-preview-section > div > *:not(div) {
|
||||
margin-block-start: 0rem;
|
||||
margin-block-end: 1rem;
|
||||
}
|
||||
.img-grid .markdown-preview-section > div hr {
|
||||
width:100%;
|
||||
}
|
||||
/* These lines make every image the same height */
|
||||
.img-grid .markdown-preview-section > div > .internal-embed img:not(:active) {
|
||||
object-fit:cover;
|
||||
height:100%;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue