Skip to content

Instantly share code, notes, and snippets.

@Sinled
Last active September 12, 2025 10:50
Show Gist options
  • Save Sinled/c5006debf7c468e005247a02e6b2a97d to your computer and use it in GitHub Desktop.
Save Sinled/c5006debf7c468e005247a02e6b2a97d to your computer and use it in GitHub Desktop.
---
# some note properties for bases here
# ...
cssclasses:
- my-wiki-base-card-right
---
![[some.base#Single Card]]
# other note content
# ...
# ... base yml
- type: cards
name: Single Card
filters:
and:
- file.name == this.file.name
order:
- game_name
- game_genres
- game_release_year
- game_completion_status
- game_playtime
- game_user_score
- game_critic_score
- game_community_score
rowHeight: extra
columnSize:
formula.Cover: 188
note.game_genres: 181
note.game_completion_status: 103
note.game_community_score: 115
cardSize: 280
imageFit: ""
imageAspectRatio: 1.3
image: formula.Cover
/** For backwards compatibility, use wiki-right alt */
.my-wiki-base-card-right {
.bases-embed {
float: right;
margin-left: 20px;
width: 280px;
min-height: 300px;
.bases-header {
display: none;
}
}
/** Make images in content fit around floating block */
&.markdown-preview-view img:not([width]), &.markdown-rendered img:not([width]) {
max-width: calc(100% - 300px);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment