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

SKY's 킹샷 위키
편집 요약 없음
편집 요약 없음
 
1번째 줄: 1번째 줄:
/* ==================================================
/* =========================================
   SKY's Kingshot 하드코어 게이밍 테마 (Timeless 대응 통합판)
   최신 블로그/노션 스타일 화이트 테마 CSS (통합본)
   ================================================== */
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700;900&display=swap');


/* 1. 전체 배경 */
/* 1. 고급 웹폰트(Pretendard) 로드 */
body {
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
     background-color: #0b0b0e !important;
 
     background-image: radial-gradient(circle at 50% 0%, #2e1a0b 0%, #0b0b0e 60%) !important;
/* 2. 전체 배경 및 기본 폰트 최적화 (어두운 배경 강제 제거) */
     color: #d1d5db !important;
body, .mw-body, .minerva-root, #content, #mw-page-base, #mw-head-base {
     font-family: 'Noto Sans KR', sans-serif !important;
     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;
}
}


/* 2. 본문 패널 (게이밍 감성) */
/* 3. 상단 헤더 바 & 네비게이션 (그림자/투박한 테두리 제거) */
#mw-content-wrapper {
header.header, #mw-head, #mw-navigation, #mw-panel, #p-personal {
     background-color: rgba(22, 22, 26, 0.95) !important;
     background-color: #ffffff !important;
     border: 1px solid #333 !important;
     box-shadow: none !important;
     border-radius: 10px !important;
     border: none !important;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
     background-image: none !important;
    padding: 25px !important;
}
}


/* 3. 제목 네온 효과 */
/* 4. 본문 영역 (테두리 제거 및 배경 투명화) */
h1, h2, h3, h4, #firstHeading {
.mw-body, #content {
     color: #ff8c00 !important;
     border: none !important;
     text-shadow: 0 0 10px rgba(255, 140, 0, 0.4) !important;
     box-shadow: none !important;
     font-weight: 900 !important;
     background: transparent !important;
}
}


/* 4. 링크 스타일 */
/* 5. 제목(h1~h6) 스타일링 (노션 스타일의 깔끔한 여백) */
a { color: #ffab40 !important; transition: all 0.2s ease-in-out; }
h1, h2, h3, h4, h5, h6, #firstHeading {
a:hover { color: #ffffff !important; text-shadow: 0 0 8px #ff8c00 !important; }
    font-family: 'Pretendard', sans-serif !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    border-bottom: none !important;
    text-shadow: none !important; /* 기존 게이밍 테마 네온사인 제거 */
}


/* 5. [중요] 타임리스 스킨 사이드바 & 메뉴 강제 수정 */
h1, #firstHeading {  
/* 사이드바 제목 */
     font-size: 2.2em;  
#mw-site-navigation h3,
     margin-bottom: 0.5em;  
#mw-related-navigation h3 {
     font-weight: 800 !important;
     color: #ff8c00 !important;
     font-weight: 900 !important;
     opacity: 1 !important;
}
}


/* 사이드바 링크를 세련된 밝은 회색으로 (기존 검은색/파란색 짬뽕 제거) */
h2 {
#mw-site-navigation a,
    border-bottom: 1px solid #f0f0f0 !important; /* h2에만 아주 연한 회색 구분선 */
#mw-related-navigation a {
    padding-bottom: 8px;
    color: #e0e0e0 !important;
    margin-top: 1.5em;
     font-weight: bold !important;
     font-size: 1.6em;
}
}


/* 사이드바 마우스 올리면 주황색 빔 */
/* 6. 하이퍼링크 색상 (모던 블루 & 깔끔한 밑줄 효과) */
#mw-site-navigation a:hover,
a {
#mw-related-navigation a:hover {
    color: #0056b3 !important;
     color: #ff8c00 !important;
    text-decoration: none !important;
     background-color: transparent !important;
    transition: color 0.2s ease-in-out, background-color 0.2s;
}
a:hover {
     color: #003d82 !important;
     text-decoration: underline !important;
}
}


/* 6. 우측 상단 개인 프로필 팝업 (Kim1231) */
/* 7. 검색창 및 폼 디자인 최적화 (둥글고 부드럽게) */
#p-personal .dropdown-content {
.search-box .search, #searchInput, input[type="text"], input[type="search"] {
     background-color: #1a1a1d !important;
    border-radius: 8px !important;
     border: 2px solid #ff8c00 !important;
     background-color: #f8f9fa !important;
     border: 1px solid #efefef !important;
    color: #333 !important;
    box-shadow: none !important;
}
}


/* 팝업 안 모든 텍스트 하얀색 고정 */
/* 8. 사이드바(메뉴) 텍스트 최적화 */
#p-personal .dropdown-content * {
#mw-panel .portal h3, #mw-panel .portal h5, #p-navigation h3 {
     color: #ffffff !important;
     color: #888 !important;
    font-weight: bold !important;
    font-size: 0.85em !important;
    border: none !important;
}
}


/* 팝업 마우스 오버 */
#mw-panel .portal ul li a {
#p-personal .dropdown-content a:hover {
    color: #4a4a4a !important;
     color: #ff8c00 !important;
}
     background-color: #333333 !important;
#mw-panel .portal ul li a:hover {
     color: #1a1a1a !important;
     background-color: #f8f9fa !important;
    text-decoration: none !important;
    border-radius: 4px;
}
}


/* 7. 번역기 버튼 */
/* 9. 목차(TOC) 박스 노션 스타일로 다듬기 */
#google_translate_element {
#toc, .toc {
     background-color: #121215 !important;
     background-color: #f8f9fa !important;
     border: 2px solid #ff8c00 !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;
}