틀:정보상자/styles.css: 두 판 사이의 차이
HamWiki
더 많은 작업
< 틀:정보상자
새 문서: .infobox[style*="solid"] th, .infobox[style*="solid"] td { border-right:none !important; border-left:none !important; } .infobox[style*="solid"] tr:first-child th { border-top:none !important; border-radius: 3px 3px 0 0 !important; } .infobox[style*="solid"] tr:last-child th, .infobox[style*="solid"] tr:last-child td { border-bottom:none !important; } .infobox[style*="solid"] tr:last-child th { border-radius: 0 0 0 4px !important; } |
편집 요약 없음 |
||
| (다른 사용자 한 명의 중간 판 하나는 보이지 않습니다) | |||
| 1번째 줄: | 1번째 줄: | ||
.infobox[style*="solid"] th, .infobox[style*="solid"] td { | /* Citizen 정보상자 - solid 테두리 처리 */ | ||
.infobox[style*="solid"] { | |||
border-radius: 0.75rem; | |||
overflow: hidden; | |||
} | |||
/* 내부 셀의 좌우 테두리 제거 */ | |||
.infobox[style*="solid"] th, | |||
.infobox[style*="solid"] td { | |||
border-right: none !important; | |||
border-left: none !important; | |||
} | |||
/* 첫 번째 행 */ | |||
.infobox[style*="solid"] tr:first-child th, | |||
.infobox[style*="solid"] tr:first-child td { | |||
border-top: none !important; | |||
} | |||
/* 마지막 행 */ | |||
.infobox[style*="solid"] tr:last-child th, | |||
.infobox[style*="solid"] tr:last-child td { | |||
border-bottom: none !important; | |||
} | } | ||
.infobox[style*="solid"] tr:first-child th { | /* 첫 번째 행의 상단 모서리 */ | ||
.infobox[style*="solid"] tr:first-child th:first-child { | |||
border-radius: 0.75rem 0.75rem 0 0 !important; | |||
} | } | ||
.infobox[style*="solid"] tr:last-child th | /* 마지막 행의 하단 모서리 */ | ||
.infobox[style*="solid"] tr:last-child th:first-child { | |||
border-radius: 0 0 0 0.75rem !important; | |||
} | } | ||
.infobox[style*="solid"] tr:last-child | .infobox[style*="solid"] tr:last-child td:last-child { | ||
border-radius: 0 0 0.75rem 0 !important; | |||
} | } | ||
2026년 8월 10일 (월) 21:36 기준 최신판
/* Citizen 정보상자 - solid 테두리 처리 */
.infobox[style*="solid"] {
border-radius: 0.75rem;
overflow: hidden;
}
/* 내부 셀의 좌우 테두리 제거 */
.infobox[style*="solid"] th,
.infobox[style*="solid"] td {
border-right: none !important;
border-left: none !important;
}
/* 첫 번째 행 */
.infobox[style*="solid"] tr:first-child th,
.infobox[style*="solid"] tr:first-child td {
border-top: none !important;
}
/* 마지막 행 */
.infobox[style*="solid"] tr:last-child th,
.infobox[style*="solid"] tr:last-child td {
border-bottom: none !important;
}
/* 첫 번째 행의 상단 모서리 */
.infobox[style*="solid"] tr:first-child th:first-child {
border-radius: 0.75rem 0.75rem 0 0 !important;
}
/* 마지막 행의 하단 모서리 */
.infobox[style*="solid"] tr:last-child th:first-child {
border-radius: 0 0 0 0.75rem !important;
}
.infobox[style*="solid"] tr:last-child td:last-child {
border-radius: 0 0 0.75rem 0 !important;
}