본문으로 건너뛰기
사용자

NodeulsumNaru(비교)

r17 vs r18
......
154154
margin: 20px auto; border-collapse: separate; border-spacing: 0;
155155
}
156156
157
/* 탭 버튼 (헤더) 디자인 */
157
/* 탭 버튼 (헤더) 디자인 개선 */
158158
table.stel-menu > thead > tr { display: flex; gap: 8px; margin-bottom: -1px; justify-content: center; }
159159
table.stel-menu > thead > tr > th {
160160
flex: 1; max-width: 120px; padding: 12px 5px !important;
161161
cursor: pointer; transition: all 0.2s;
162
background: rgba(255, 255, 255, 0.2);
163
color: #fff !important; font-weight: bold; border: 1px solid rgba(255,255,255,0.4) !important;
162
/* 버튼처럼 보이게 배경색과 테두리 강화 */
163
background: #ffaaa5 !important;
164
color: #fff !important; font-weight: bold;
165
border: 2px solid #ff9a8b !important;
164166
border-radius: 15px 15px 0 0; border-bottom: none !important;
167
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
165168
}
166
table.stel-menu > thead > tr > th:hover { background: rgba(255, 255, 255, 0.4); }
169
table.stel-menu > thead > tr > th:hover { background: #ff8b8b !important; transform: translateY(-2px); }
167170
168
/* 화살표 등 불필요한 요소 제거 */
171
/* 정렬 화살표 제거 */
169172
table.stel-menu > thead > tr > th::before,
170173
table.stel-menu > thead > tr > th::after { display: none !important; }
171174
172
/* 핵심 로직: 첫 번째 행만 보여주고 나머지는 숨김 */
175
/* 핵심 로직: 첫 번째 행만 표시 */
173176
table.stel-menu > tbody > tr { display: none; }
174177
table.stel-menu > tbody > tr:first-child { display: table-row; }
175178
176
/* 컨텐츠 영역 디자인 */
179
/* 0, 1 숫자 숨기기 및 컨텐츠 박스 */
177180
table.stel-menu > tbody > tr > td {
178181
border: 1px solid rgba(255,255,255,0.4) !important;
179182
border-radius: 20px; background: #fff; padding: 0 !important;
183
/* 숫자 숨기기용 설정 */
184
font-size: 0 !important; color: transparent !important;
180185
}
181186
182187
.stel-tab-content {
188
/* 내부 실제 글자 크기 복구 */
189
font-size: 14px !important; color: #000 !important;
183190
padding: 20px; text-align: center;
184191
background: linear-gradient(160deg in oklch, #ffd3b6 0%, #ffaaa5 40%, #d4a5ff 80%, #a29bfe 100%);
185192
border-radius: 18px;
......