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

SKY's 킹샷 위키
편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* =======================================
/* =========================================
   [최종] Timeless 스킨 전용 스타일 시트
   최신 블로그/노션 스타일 화이트 테마 CSS (통합본)
   ======================================= */
   ========================================= */
/* 1. 상단 Kim1231 팝업창 (배경 까맣게, 글씨 하얗게) */
 
#p-personal .dropdown-content,
/* 1. 고급 웹폰트(Pretendard) 로드 */
.dropdown-content {
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
     background-color: #1a1a1d !important;
 
     border: 2px solid #ff8c00 !important;
/* 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. 본문 영역 (테두리 제거 및 배경 투명화) */
#p-personal .dropdown-content *,
.mw-body, #content {
.dropdown-content * {
     border: none !important;
     color: #ffffff !important;
    box-shadow: none !important;
     background-color: transparent !important;
     background: transparent !important;
}
}


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


/* 2. 사이드바 (제목 오렌지, 링크 진회색) */
h1, #firstHeading {  
#mw-site-navigation h3,
     font-size: 2.2em;  
#mw-related-navigation h3,
     margin-bottom: 0.5em;  
.sidebar-chunk h3 {
     font-weight: 800 !important;
     color: #ff8c00 !important;
     font-weight: 900 !important;
     font-size: 15px !important;
    opacity: 1 !important;
}
}


/* 사이드바 링크 모든 상태(방문/새 문서 등)를 진회색으로 고정 */
h2 {
#mw-site-navigation .sidebar-chunk a,
    border-bottom: 1px solid #f0f0f0 !important; /* h2에만 아주 연한 회색 구분선 */
#mw-site-navigation .sidebar-chunk a:visited,
    padding-bottom: 8px;
#mw-site-navigation .sidebar-chunk a.new,
    margin-top: 1.5em;
#mw-related-navigation .sidebar-chunk a,
    font-size: 1.6em;
#mw-related-navigation .sidebar-chunk a:visited,
}
#mw-related-navigation .sidebar-chunk a.new {
 
     color: #333333 !important;
/* 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-weight: bold !important;
    font-size: 0.85em !important;
    border: none !important;
}
}


/* 사이드바 마우스 올렸을 때 */
#mw-panel .portal ul li a {
#mw-site-navigation .sidebar-chunk a:hover,
    color: #4a4a4a !important;
#mw-related-navigation .sidebar-chunk a:hover {
}
     color: #ff8c00 !important;
#mw-panel .portal ul li a:hover {
     background-color: transparent !important;
     color: #1a1a1a !important;
     background-color: #f8f9fa !important;
    text-decoration: none !important;
    border-radius: 4px;
}
}


/* 3. 본문 텍스트 (하얀 배경에 맞게 검은색) */
/* 9. 목차(TOC) 박스 노션 스타일로 다듬기 */
#content {
#toc, .toc {
     color: #222222 !important;
     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;
}