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

(padding: 0.5rem;)
(857653판 편집을 되돌림)
태그: 편집 취소
13번째 줄: 13번째 줄:
     display: inline-block;
     display: inline-block;
     flex: 1 auto;
     flex: 1 auto;
     padding: 0.5rem;
     padding: 0.2rem;
     text-align: center;
     text-align: center;
     width: 6rem;
     width: 6rem;

2020년 4월 23일 (목) 20:36 판

.libre-tab .libre-tab-btns {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 !important;
    border-top: 1px solid #e1e8ed;
    border-left: 1px solid #e1e8ed;
    background: rgba(217, 227, 231, 0.15);
}

.libre-tab .libre-tab-btn {
    position: relative;
    display: inline-block;
    flex: 1 auto;
    padding: 0.2rem;
    text-align: center;
    width: 6rem;
    cursor: pointer;
    border-right: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
    transition: 0.2s;
}

.libre-tab .libre-tab-btn-active,
.libre-tab .libre-tab-btn:hover {
    background: rgba(213, 225, 230, 0.4);
}

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

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

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

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