← back to FashionCrawler

fashioncrawler/resources/templates/style.css

75 lines

.centered {
    text-align: center;
    margin: 0 auto;
    position: relative;
}

h1.centered::after {
    content: "";
    position: absolute;
    top: 1.1em;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
}

div.data-box {
    border: 1px solid black;
    padding: 10px;
    overflow: hidden;
    display: flex;
    max-height: 400px;
    position: relative;
}

div.item-image-box {
    max-width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;

}

img.item-image {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-right: 15px;
}

.divider {
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: black;
    top: 0;
    bottom: 0;
    left: 30%;
    transform: translateX(-30%);
    z-index: 1;
}

div.item-details-box {
    margin-left: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

div.item-details-box p {
    margin: 0;
    flex-grow: 1;
}

div.item-details-box :not(strong) {
    font-size: 16px;
}

strong {
    font-size: 20px;
}