편집 요약 없음 |
편집 요약 없음 |
||
(같은 사용자의 중간 판 8개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
. | .pokedex .libre-tab .libre-tab-btns { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
6번째 줄: | 6번째 줄: | ||
} | } | ||
. | .pokedex .libre-tab .libre-tab-btn { | ||
position: relative; | position: relative; | ||
display: inline-block; | display: inline-block; | ||
24번째 줄: | 24번째 줄: | ||
} | } | ||
. | .pokedex .libre-tab .libre-tab-btn-active, | ||
. | .pokedex .libre-tab .libre-tab-btn:hover { | ||
background-color: white; | background-color: white; | ||
} | } | ||
. | .pokedex .libre-tab .libre-tab-btn-active::before, | ||
. | .pokedex .libre-tab .libre-tab-btn:hover::before { | ||
position: absolute; | position: absolute; | ||
left: | left: 0; | ||
bottom: | bottom: 0; | ||
content: ' '; | content: ' '; | ||
width: 100%; | width: 100%; | ||
40번째 줄: | 40번째 줄: | ||
} | } | ||
. | .pokedex .libre-tab .libre-tab-main { | ||
border-top: 0.2em solid #000000; | border-top: 0.2em solid #000000; | ||
border-right: 0.4em solid #000000; | border-right: 0.4em solid #000000; | ||
46번째 줄: | 46번째 줄: | ||
border-left: 0.4em solid #000000; | border-left: 0.4em solid #000000; | ||
border-radius: 0 0 0.8em 0.8em; | border-radius: 0 0 0.8em 0.8em; | ||
} | } | ||
. | .pokedex .libre-tab .libre-tab-main-content { | ||
display: none; | display: none; | ||
} | } | ||
. | .pokedex .libre-tab .libre-tab-main-content-active { | ||
display: block; | display: block; | ||
} | } | ||
@media screen and (min-width: 544px) { | @media screen and (min-width: 544px) { | ||
. | .pokedex { | ||
width: | width: 42em; | ||
} | } | ||
} | } | ||
@media screen and (max-width: 543px) { | @media screen and (max-width: 543px) { | ||
. | .pokedex { | ||
width: 25em; | width: 25em; | ||
margin: auto; | margin: auto; | ||
} | } | ||
} | } |
2022년 10월 7일 (금) 05:14 기준 최신판
.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-bottom: 0.2em 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: 0;
bottom: 0;
content: ' ';
width: 100%;
display: block;
border-radius: 0.8em 0.8em 0 0;
}
.pokedex .libre-tab .libre-tab-main {
border-top: 0.2em solid #000000;
border-right: 0.4em solid #000000;
border-bottom: 0.4em solid #000000;
border-left: 0.4em solid #000000;
border-radius: 0 0 0.8em 0.8em;
}
.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: 42em;
}
}
@media screen and (max-width: 543px) {
.pokedex {
width: 25em;
margin: auto;
}
}