미디어위키:Common.css: 두 판 사이의 차이

SKY's 킹샷 위키
편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 21개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* CSS 설정은 모든 스킨에 적용됩니다 */
/* =========================================
  최신 블로그/노션 스타일 화이트 테마 CSS (통합본)
  ========================================= */


/* 텍스트 드래그 선택 방지 */
/* 1. 고급 웹폰트(Pretendard) 로드 */
body {
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
     -webkit-user-select: none;
 
     -moz-user-select: none;
/* 2. 전체 배경 및 기본 폰트 최적화 (어두운 배경 강제 제거) */
     -ms-user-select: none;
body, .mw-body, .minerva-root, #content, #mw-page-base, #mw-head-base {
     user-select: none;
     background-color: #ffffff !important;
     background-image: none !important;
     font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #2c3e50 !important;
     line-height: 1.65;
}
}


/* =======================================
/* 3. 상단 헤더 바 & 네비게이션 (그림자/투박한 테두리 제거) */
  SKY's Kingshot 프리미엄 테마 (Timeless 스킨 전용)
header.header, #mw-head, #mw-navigation, #mw-panel, #p-personal {
  ======================================= */
     background-color: #ffffff !important;
 
    box-shadow: none !important;
/* 1. 상단 헤더 영역 (다크 & 골드 포인트) */
     border: none !important;
#mw-header-container {
     background-image: none !important;
     background-color: #1a1a1d; /* 고급스러운 다크 그레이 */
     border-bottom: 3px solid #FF8C00; /* 킹샷 오렌지 포인트 라인 */
     box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
}


/* 상단 로고 텍스트 색상 하얀색으로 강제 고정 */
/* 4. 본문 영역 (테두리 제거 배경 투명화) */
#mw-header-container h1, #mw-header-container a {
.mw-body, #content {
     color: #ffffff !important;
     border: none !important;
     font-weight: bold;
     box-shadow: none !important;
    background: transparent !important;
}
}


/* 2. 전체 배경 및 본문 영역 */
/* 5. 제목(h1~h6) 스타일링 (노션 스타일의 깔끔한 여백) */
body {
h1, h2, h3, h4, h5, h6, #firstHeading {
     background-color: #f4f5f7; /* 눈이 편안한 아주 연한 회색 배경 */
     font-family: 'Pretendard', sans-serif !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    border-bottom: none !important;
    text-shadow: none !important; /* 기존 게이밍 테마 네온사인 제거 */
}
}


/* 본문을 하얀색 종이처럼 띄우는 입체 효과 */
h1, #firstHeading {  
#mw-content-container {
     font-size: 2.2em;  
     background-color: #ffffff;
     margin-bottom: 0.5em;  
     border-radius: 12px; /* 모서리 둥글게 */
     font-weight: 800 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* 부드러운 그림자 */
    padding: 25px;
     margin-top: 20px;
    border: 1px solid #e1e4e8;
}
}


/* 3. 제목 스타일링 (대문, 소제목 등) */
h2 {
h1.firstHeading, h2 {
     border-bottom: 1px solid #f0f0f0 !important; /* h2에만 아주 연한 회색 구분선 */
    color: #2c3e50;
     padding-bottom: 8px;
     border-bottom: 2px solid #FF8C00; /* 오렌지색 밑줄 */
    margin-top: 1.5em;
     padding-bottom: 5px;
     font-size: 1.6em;
     font-weight: 800;
}
}


/* 4. 링크 색상 (마우스 올렸을 때 효과 포함) */
/* 6. 하이퍼링크 색상 (모던 블루 & 깔끔한 밑줄 효과) */
a {
a {
     color: #d35400;
     color: #0056b3 !important;
     transition: color 0.3s ease;
    text-decoration: none !important;
     transition: color 0.2s ease-in-out, background-color 0.2s;
}
}
a:hover {
a:hover {
     color: #FF8C00;
     color: #003d82 !important;
     text-decoration: none;
    text-decoration: underline !important;
}
 
/* 7. 검색창 및 폼 디자인 최적화 (둥글고 부드럽게) */
.search-box .search, #searchInput, input[type="text"], input[type="search"] {
    border-radius: 8px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #efefef !important;
    color: #333 !important;
    box-shadow: none !important;
}
 
/* 8. 사이드바(메뉴) 텍스트 최적화 */
#mw-panel .portal h3, #mw-panel .portal h5, #p-navigation h3 {
    color: #888 !important;
    font-weight: bold !important;
    font-size: 0.85em !important;
    border: none !important;
}
 
#mw-panel .portal ul li a {
    color: #4a4a4a !important;
}
#mw-panel .portal ul li a:hover {
    color: #1a1a1a !important;
    background-color: #f8f9fa !important;
     text-decoration: none !important;
    border-radius: 4px;
}
 
/* 9. 목차(TOC) 박스 노션 스타일로 다듬기 */
#toc, .toc {
    background-color: #f8f9fa !important;
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: none !important;
}
#toc h2 {
    border: none !important;
    font-size: 1em !important;
    margin-top: 0 !important;
}
}

2026년 6월 5일 (금) 10:29 기준 최신판

/* =========================================
   최신 블로그/노션 스타일 화이트 테마 CSS (통합본)
   ========================================= */

/* 1. 고급 웹폰트(Pretendard) 로드 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* 2. 전체 배경 및 기본 폰트 최적화 (어두운 배경 강제 제거) */
body, .mw-body, .minerva-root, #content, #mw-page-base, #mw-head-base {
    background-color: #ffffff !important;
    background-image: none !important;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #2c3e50 !important;
    line-height: 1.65;
}

/* 3. 상단 헤더 바 & 네비게이션 (그림자/투박한 테두리 제거) */
header.header, #mw-head, #mw-navigation, #mw-panel, #p-personal {
    background-color: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    background-image: none !important;
}

/* 4. 본문 영역 (테두리 제거 및 배경 투명화) */
.mw-body, #content {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* 5. 제목(h1~h6) 스타일링 (노션 스타일의 깔끔한 여백) */
h1, h2, h3, h4, h5, h6, #firstHeading {
    font-family: 'Pretendard', sans-serif !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    border-bottom: none !important;
    text-shadow: none !important; /* 기존 게이밍 테마 네온사인 제거 */
}

h1, #firstHeading { 
    font-size: 2.2em; 
    margin-bottom: 0.5em; 
    font-weight: 800 !important;
}

h2 {
    border-bottom: 1px solid #f0f0f0 !important; /* h2에만 아주 연한 회색 구분선 */
    padding-bottom: 8px;
    margin-top: 1.5em;
    font-size: 1.6em;
}

/* 6. 하이퍼링크 색상 (모던 블루 & 깔끔한 밑줄 효과) */
a {
    color: #0056b3 !important;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out, background-color 0.2s;
}
a:hover {
    color: #003d82 !important;
    text-decoration: underline !important;
}

/* 7. 검색창 및 폼 디자인 최적화 (둥글고 부드럽게) */
.search-box .search, #searchInput, input[type="text"], input[type="search"] {
    border-radius: 8px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #efefef !important;
    color: #333 !important;
    box-shadow: none !important;
}

/* 8. 사이드바(메뉴) 텍스트 최적화 */
#mw-panel .portal h3, #mw-panel .portal h5, #p-navigation h3 {
    color: #888 !important;
    font-weight: bold !important;
    font-size: 0.85em !important;
    border: none !important;
}

#mw-panel .portal ul li a {
    color: #4a4a4a !important;
}
#mw-panel .portal ul li a:hover {
    color: #1a1a1a !important;
    background-color: #f8f9fa !important;
    text-decoration: none !important;
    border-radius: 4px;
}

/* 9. 목차(TOC) 박스 노션 스타일로 다듬기 */
#toc, .toc {
    background-color: #f8f9fa !important;
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: none !important;
}
#toc h2 {
    border: none !important;
    font-size: 1em !important;
    margin-top: 0 !important;
}