Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • master-patch-00bb
2 results

styles.css

Blame
  • styles.css 1.02 KiB
    table {
        width: 100%; /* 테이블의 전체 너비 */
        border-collapse: collapse; /* 테이블 경계선을 하나로 합침 */
        margin: 20px 0; /* 테이블 위아래 여백 */
      }
      
      th, td {
        padding: 8px; /* 셀 내부의 패딩 */
        text-align: left; /* 셀 내용 왼쪽 정렬 */
        border-bottom: 1px solid #ddd; /* 셀 하단 경계선 스타일 */
      }
      
      th {
        background-color: #f4f4f4; /* 헤더 배경색 */
        color: #333; /* 헤더 글자색 */
      }
      
      tr:nth-child(even) {
        background-color: #f2f2f2; /* 짝수 줄 배경색 */
      }
      
      tr:hover {
        background-color: #ddd; /* 마우스 오버 시 배경색 */
      }
      
      a {
        color: #0066cc; /* 링크 색상 */
        text-decoration: none; /* 밑줄 제거 */
      }
      
      a:hover {
        text-decoration: underline; /* 마우스 오버 시 밑줄 추가 */
      }
    
    .content {
        max-width: 1000px; /* 콘텐츠 최대 너비 설정 */
        margin: 0 auto; /* 좌우 자동 마진으로 중앙 정렬 */
        padding: 40px; /* 콘텐츠 내부 여백 */
    }