틀:탭/styles.css: 두 판 사이의 차이

잔글편집 요약 없음
편집 요약 없음
(다른 사용자 한 명의 중간 판 하나는 보이지 않습니다)
3번째 줄: 3번째 줄:
     flex-wrap: wrap;
     flex-wrap: wrap;
     list-style: none;
     list-style: none;
     margin: auto;
     margin: 1rem auto 2.5em;
    margin-top: 1rem;
     justify-content: center !important;
     justify-content: center !important;
}
}
52번째 줄: 51번째 줄:
     border: 1px solid #e1e8ed;
     border: 1px solid #e1e8ed;
     padding: 1.5rem;
     padding: 1.5rem;
    margin-top: 1.5em;
}
}



2021년 8월 7일 (토) 22:12 판

.libre .libre-tab .libre-tab-btns {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 1rem auto 2.5em;
    justify-content: center !important;
}

.libre .libre-tab .libre-tab-btn {
    position: relative;
    display: grid;
    flex: 1 auto;
    padding: 0.4rem;
    text-align: center;
    word-break: keep-all;
    align-items: center;
    max-width: 14rem;
    cursor: pointer;
    border-bottom: 2px solid #e1e8ed;
    transition: 0.2s;
}
@media (min-width: 544px) {
    .libre .libre-tab .libre-tab-btns {
        max-width: 90%;
    }
}

.libre .libre-tab .libre-tab-btn-active,
.libre .libre-tab .libre-tab-btn:hover {
    font-weight: bold;
}
@media (hover: hover) and (pointer: fine) {
    .libre .libre-tab .libre-tab-btn:hover {
        background: rgba(213,225,230,0.35);
    }
}

.libre .libre-tab .libre-tab-btn-active::before,
.libre .libre-tab .libre-tab-btn:hover::before {
    position: absolute;
    left: 0;
    bottom: 0;
    content: ' ';
    width: 100%;
    display: block;
    border-bottom: 2px solid #4188F1;
    margin-bottom: -2px;
}

.libre .libre-tab .libre-tab-main {
    border: 1px solid #e1e8ed;
    padding: 1.5rem;
}

.libre .libre-tab .libre-tab-main-content {
    display: none;
}

.libre .libre-tab .libre-tab-main-content-active {
    display: block;
}