:사용자:pika/현관/styles.css

Pika (토론 | 기여)님의 2021년 4월 3일 (토) 13:01 판 (새 문서: .lookaroundcontainer { column-count: 2; column-gap: 20px; } .lookaround, .lookaround ul { margin-left: 0px!important; margin-top: 0px !important; margin:auto; }...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
.lookaroundcontainer {
    column-count: 2;
    column-gap: 20px;
}
  
.lookaround, .lookaround ul {
    margin-left: 0px!important;
    margin-top: 0px !important;
    margin:auto;
}

.lookaround li {
    list-style: none;
    height: 72px;
    border-bottom: 1px #e1e8ed solid;
}
.lookaround li:before {
    content: ""; display: inline-block;
    height: 100%;
    margin-right: 0; vertical-align: middle;
    width: 0.3rem; 
}

.lookaround li img{
    width: auto; height: auto;
    max-width: 60px;
    max-height: 60px;
    margin-right: 0.25rem;
}

@media (min-width: 768px) {
    .lookaroundcontainer {
        max-height: 144px;
    }
    .lookaround ul > li:last-child, li:nth-child(2), li:nth-child(4), li:nth-child(6) {
        border-bottom: 0;
    }
}
@media (min-width: 600px) and (max-width: 768px) {
    .lookaroundcontainer {
        column-count: 2;
        max-height: 216px;
    }
    .lookaround ul > li:last-child, li:nth-child(3), li:nth-child(6) {
        border-bottom: 0;
    }
}
@media (max-width: 600px) {
    .lookaroundcontainer {
        column-count: 1;
        text-align: left;
    }
    .lookaround ul > li:last-child {
        border-bottom: 0;
    }
}