/* This CSS file will be included with your plugin, and available in the app when your plugin is enabled. If your plugin does not need CSS, delete this file. */ a:has(.openGraphPreview) { display: block; padding-right: 0; text-decoration: none; background-image: none; container-name: openGraphPreview; container-type: inline-size; } a:has(.openGraphPreview):hover { text-decoration: none; } .openGraphPreview { height: 100%; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 8px; border: var(--cards-border-width) solid var(--background-modifier-border); background: none; color: var(--text-normal); text-decoration: none; background: none; } .openGraphPreview:hover { text-decoration: none; color: var(--text-normal); } .openGraphPreview .se-oglink-thumbnail { width: 100%; } .openGraphPreview .se-oglink-thumbnail-resource { height: 100%; object-fit: cover !important; border-radius: 0 !important; } .openGraphPreview .se-oglink-info-container { display: flex; flex-direction: column; justify-content: center; gap: 4px; overflow: auto; padding: var(--size-4-3) var(--size-4-2); } .openGraphPreview .se-oglink-summary { font-size: 0.8rem; overflow: hidden; -webkit-line-clamp: 2; display: box; display: -webkit-box; -webkit-box-orient: vertical; text-overflow: ellipsis; white-space: normal; color: var(--text-normal); } .openGraphPreview .se-oglink-url { font-size: 0.8rem; margin-block: 0 !important; color: var(--link-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .table-cards table .openGraphPreview, .cards table .openGraphPreview { border: none; } @container openGraphPreview (width > 400px) { .openGraphPreview { flex-direction: row; } .openGraphPreview .se-oglink-thumbnail { width: 150px; flex-shrink: 0; } }