| --- | |
| # 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); | |
| } | |
| } | |