Untitled

 avatar
unknown
plain_text
2 months ago
1.1 kB
2
Indexable
.custom-internal-embed {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    width: 100%;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
}

.custom-internal-embed-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.custom-internal-embed-image {
    width: 30%;
    height: auto;
    object-fit: cover;
}

.custom-internal-embed-image picture {
    display: flex; /* Fixes extra spacing */
    margin: 0;
    padding: 0;
    line-height: 0;
}

.custom-internal-embed-image img {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.custom-internal-embed-title {
    flex-grow: 1;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    font-size: 16px;
    font-weight: bold;
}

/* Adjustments for Mobile */
@media (max-width: 768px) {
    .custom-internal-embed-title {
        font-size: 12px;
    }
    
    .custom-internal-embed-image {
        width: 100%; /* Increase image size on mobile */
    }
}
Editor is loading...
Leave a Comment