틀:포켓몬 도감 설명/styles.css: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
51번째 줄: 51번째 줄:
.pokedex .libre-tab .libre-tab-main-content-active {
.pokedex .libre-tab .libre-tab-main-content-active {
     display: block;
     display: block;
}
@media screen and (min-width: 544px) {
    .pokedex {
    width: 40em;
    }
}
@media screen and (max-width: 543px) {
.pokedex {
    width: 20em;
}
}
}

2020년 3월 16일 (월) 17:56 판

.pokedex .libre-tab .libre-tab-btns {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 !important;
}

.pokedex .libre-tab .libre-tab-btn {
    position: relative;
    display: inline-block;
    flex: 1 auto;
    padding: 0.5rem;
    text-align: center;
    width: 5em;
    max-width: 5em;
    cursor: pointer;
    background-color: #f5f8fa;
    border-radius: 0.8em 0.8em 0 0;
    border-top: 0.15em solid #000000;
    border-right: 0.15em solid #000000;
    border-left: 0.15em solid #000000;
    transition: 0.2s;
}

.pokedex .libre-tab .libre-tab-btn-active,
.pokedex .libre-tab .libre-tab-btn:hover {
    background-color: white;
}

.pokedex .libre-tab .libre-tab-btn-active::before,
.pokedex .libre-tab .libre-tab-btn:hover::before {
    position: absolute;
    left: 0px;
    bottom: 0px;
    content: ' ';
    width: 100%;
    display: block;
    border-radius: 0.8em 0.8em 0 0;
}

.pokedex .libre-tab .libre-tab-main {
    border: 0.4em solid #e1e8ed;
    border-radius: 0 0 0.8em 0.8em;
    padding-left: 0.1em;
}

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

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

@media screen and (min-width: 544px) {
    .pokedex {
    	width: 40em;
    }
}

@media screen and (max-width: 543px) {
	.pokedex {
    	width: 20em;
	}
}