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

r15187 → r15188
이전 줄새 줄내용
………
100100변경 없음 border-right: none !important;
101101변경 없음}
102102변경 없음
103삭제/* 다크모드: 사용자가 직접 지정한 표 배경색을 약 15% 어둡게 */
104삭제html.liberty-dark-mode .mw-parser-output table[style*="background-color"],
105삭제html.liberty-dark-mode .mw-parser-output tr[style*="background-color"],
106삭제html.liberty-dark-mode .mw-parser-output th[style*="background-color"],
107삭제html.liberty-dark-mode .mw-parser-output td[style*="background-color"],
108삭제body.liberty-dark-mode .mw-parser-output table[style*="background-color"],
109삭제body.liberty-dark-mode .mw-parser-output tr[style*="background-color"],
110삭제body.liberty-dark-mode .mw-parser-output th[style*="background-color"],
111삭제body.liberty-dark-mode .mw-parser-output td[style*="background-color"] {
112삭제 box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, .15);
103추가:root {
104추가 --fbnw-theme-010: #151720;
105추가 --fbnw-theme-020: #262A39;
106추가 --fbnw-theme-030: #3A3F52;
107추가 --fbnw-theme-040: #4F556B;
108추가 --fbnw-theme-050: #666D83;
109추가}
110추가
111추가html.liberty-dark-mode .dark\:fbnw-theme-010,
112추가body.liberty-dark-mode .dark\:fbnw-theme-010 {
113추가 background: var(--fbnw-theme-010) !important;
114추가}
115추가
116추가html.liberty-dark-mode .dark\:fbnw-theme-020,
117추가body.liberty-dark-mode .dark\:fbnw-theme-020 {
118추가 background: var(--fbnw-theme-020) !important;
119추가}
120추가
121추가html.liberty-dark-mode .dark\:fbnw-theme-030,
122추가body.liberty-dark-mode .dark\:fbnw-theme-030 {
123추가 background: var(--fbnw-theme-030) !important;
124추가}
125추가
126추가html.liberty-dark-mode .dark\:fbnw-theme-040,
127추가body.liberty-dark-mode .dark\:fbnw-theme-040 {
128추가 background: var(--fbnw-theme-040) !important;
129추가}
130추가
131추가html.liberty-dark-mode .dark\:fbnw-theme-050,
132추가body.liberty-dark-mode .dark\:fbnw-theme-050 {
133추가 background: var(--fbnw-theme-050) !important;
113134변경 없음}

2026년 8월 22일 (토) 17:48 판

.wikitable td {
    position: relative !important; /* 내부 요소 정렬 기준 */
    max-width: 100% !important;
    overflow: hidden !important;
    table-layout: fixed
}

.wikitable td table {
    width: 100% !important; /* 부모 td의 크기에 맞춤 */
    max-width: 100% !important;
}

.nob {
	margin-top: 4px;
	margin-bottom: 4px;
}

.ind {
	font-size: 14px;
	color : #4a4a4a;
	margin-left: 18px;
	margin-top: 4px;
	margin-bottom: 4px;
}

.nob2 {
	margin-top: -3px;
}

.mw-headline  #toc a {
  margin-right: 6px;
}

li > ul {
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

li > ul > li {
	  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

.mw-parser-output > h2, h3 {
  margin-top: 32px !important;
}

h2 .mw-headline a[href="#toc"],
h3 .mw-headline a[href="#toc"],
h4 .mw-headline a[href="#toc"] {
  margin-right: 5px;
}

.mw-custom-collapse-viewport {
	overflow: hidden;
	width: 100%;
}

.mw-custom-collapse-viewport-inner {
	width: 100%;
}

/* 부드러운 접기/펼치기 */
.smooth-collapse {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.35s ease;
}

.smooth-collapse > .smooth-collapse-inner {
    overflow: hidden;
    min-height: 0;
}

.smooth-collapse.is-collapsed {
    grid-template-rows: 0fr;
}

/* 선택사항: 내용도 살짝 페이드 */
.smooth-collapse > .smooth-collapse-inner {
    opacity: 1;
    transition: opacity 0.25s ease;
}

.smooth-collapse.is-collapsed > .smooth-collapse-inner {
    opacity: 0;
}

/* 펼치기 · 접기 내부 표의 좌우 외곽선 제거 */
.mw-collapsible-content > table {
    border-left: none !important;
    border-right: none !important;
}

.mw-collapsible-content > table > tbody > tr > :first-child {
    border-left: none !important;
}

.mw-collapsible-content > table > tbody > tr > :last-child {
    border-right: none !important;
}

:root {
	--fbnw-theme-010: #151720;
	--fbnw-theme-020: #262A39;
	--fbnw-theme-030: #3A3F52;
	--fbnw-theme-040: #4F556B;
	--fbnw-theme-050: #666D83;
}

html.liberty-dark-mode .dark\:fbnw-theme-010,
body.liberty-dark-mode .dark\:fbnw-theme-010 {
	background: var(--fbnw-theme-010) !important;
}

html.liberty-dark-mode .dark\:fbnw-theme-020,
body.liberty-dark-mode .dark\:fbnw-theme-020 {
	background: var(--fbnw-theme-020) !important;
}

html.liberty-dark-mode .dark\:fbnw-theme-030,
body.liberty-dark-mode .dark\:fbnw-theme-030 {
	background: var(--fbnw-theme-030) !important;
}

html.liberty-dark-mode .dark\:fbnw-theme-040,
body.liberty-dark-mode .dark\:fbnw-theme-040 {
	background: var(--fbnw-theme-040) !important;
}

html.liberty-dark-mode .dark\:fbnw-theme-050,
body.liberty-dark-mode .dark\:fbnw-theme-050 {
	background: var(--fbnw-theme-050) !important;
}