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

(버튼 테두리 없는 형태)
편집 요약 없음
(사용자 2명의 중간 판 10개는 보이지 않습니다)
3번째 줄: 3번째 줄:
     flex-wrap: wrap;
     flex-wrap: wrap;
     list-style: none;
     list-style: none;
     margin: 0 !important;
     margin: 1rem auto 2.5em;
    justify-content: center !important;
}
}


.libre .libre-tab .libre-tab-btn {
.libre .libre-tab .libre-tab-btn {
     position: relative;
     position: relative;
     display: inline-block;
     display: grid;
     flex: 1 auto;
     flex: 1 auto;
     padding: 0.4rem;
     padding: 0.4rem;
     text-align: center;
     text-align: center;
     width: 6rem;
     word-break: keep-all;
    align-items: center;
    max-width: 14rem;
     cursor: pointer;
     cursor: pointer;
     border-bottom: 1px solid #e1e8ed;
     border-bottom: 2px solid #e1e8ed;
     transition: 0.2s;
     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-active,
.libre .libre-tab .libre-tab-btn:hover {
.libre .libre-tab .libre-tab-btn:hover {
    border-bottom: 2px solid #4188F1;
     font-weight: bold;
     font-weight: bold;
}
}
.libre .libre-tab .libre-tab-btn:hover {
@media (hover: hover) and (pointer: fine) {
    background: rgba(213,225,230,0.4);
    .libre .libre-tab .libre-tab-btn:hover {
        background: rgba(213,225,230,0.35);
    }
}
}


36번째 줄: 45번째 줄:
     display: block;
     display: block;
     border-bottom: 2px solid #4188F1;
     border-bottom: 2px solid #4188F1;
    margin-bottom: -2px;
}
}


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

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;
}