Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

850 B
Raw Blame
@use '../../../../manga-reader-common';

.image-container {
    height: calc(100vh); // override as on single, we -34px for the potential scrollbar
    
    #image-1 {
        &.double {
            margin: 0 0 0 auto;
        }
    }
}

.image-container.full-height {
    display: inline-block !important;
}

.full-width {
    width: 100%;
    margin: 0 auto;
    vertical-align: top;
    max-width: fit-content;

    &.double {
        width: 50%;

        &.cover {
            width: 100%;
        }
    }
}

.center-double {
    display: flex;
    overflow: unset;
}

.fit-to-width-double-offset {
    max-width: 100%; // max-width fixes center alignment issue
}

.original-double-offset {
    max-width: 100%;
}

.fit-to-height-double-offset {
    height: 100vh;
    object-fit: scale-down;
    top: 50%;
    left: 50%;
    max-width: 100%;
}