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

(새 문서: @import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Gugi&family=Noto+Sans+KR:wght@100;400&family=Noto+Serif+KR:wght@200;500&family=Sunflower:wght@300;500&displ...)
 
편집 요약 없음
태그: 수동 되돌리기
 
(사용자 3명의 중간 판 299개는 보이지 않습니다)
1번째 줄: 1번째 줄:
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Gugi&family=Noto+Sans+KR:wght@100;400&family=Noto+Serif+KR:wght@200;500&family=Sunflower:wght@300;500&display=swap');
.wikitable td {
 
    position: relative !important; /* 내부 요소 정렬 기준 */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;400;700&display=swap');
    max-width: 100% !important;
.info {
    overflow: hidden !important;
width: 100%;
    table-layout: fixed
text-align: center;
}
 
.pct-infobox {
width: 360px;
float: right;
clear: right;
padding: 0.2em;
}
 
@media (max-width: 768px){
.pct-infobox {
width: 100%;
max-width: 450px;
margin: 0 auto;
}
}
 
@media (max-width: 540px){
.pct-infobox {
width: 100%;
max-width: 100%;
clear: both;
}
}
 
.pct-fixedbox {
width:100%;
border-collapse:collapse;
margin-top: 12px;
}
 
.fixedbox-title {
height:60px;
color:white;
font-size:24px;
text-align:center;
vertical-align:middle;
border-bottom:1px solid#bbb;
}
 
.fixedbox-row-full {
color:white;
border-bottom:1px solid#bbb;
text-align: center;
padding:6px 6px;
font-size:14px;
vertical-align:middle;
}
 
.fixedbox-row-20 {
width: 20%;
color:white;
border-top:1px solid#bbb;
text-align: center;
padding:6px 6px;
font-size:14px;
vertical-align:middle;
}
 
.fixedbox-row-20:last-child {
border: 0px;
}
 
.fixedbox-row-30 {
width: 30%;
background-color:#eeeeee;
border-top:1px solid#bbb;
text-align: center;
padding:8px 6px;
font-size:14px;
vertical-align:middle;
}
 
.fixedbox-row-30:last-child {
border-bottom: 0px;
}
 
.fixedbox-row-40 {
width: 40%;
background-color:#fff;
border-top:1px solid#bbb;
text-align: center;
padding:8px 6px;
font-size:14px;
vertical-align:middle;
}
}


.fixedbox-row-40:last-child {
.wikitable td table {
border: 0px;
    width: 100% !important; /* 부모 td의 크기에 맞춤 */
    max-width: 100% !important;
}
}


.fixedbox-row-desc {
.nob {
border-top:1px solid#bbb;
margin-top: 4px;
padding:6px 8px;
margin-bottom: 4px;
font-size:14px;
font-weight:500;
vertical-align:middle;
}
}


.fixedbox-row-desc:last-child {
.ind {
border-bottom:0px;
font-size: 14px;
color : #4a4a4a;
margin-left: 18px;
margin-top: 4px;
margin-bottom: 4px;
}
}


.pct-infobox-title {
.nob2 {
height:80px;
margin-top: -3px;
color:white;
font-size:24px;
font-weight:500;
text-align:center;
vertical-align:middle;
}
}


.pct-infobox-image {
.mw-headline  #toc a {
padding:24px;
  margin-right: 6px;
vertical-align:middle;
text-align:center;
}
}


.pct-infobox-row-full {
li > ul {
color:white;
  margin-top: 2px !important;
height:32px;
  margin-bottom: 2px !important;
text-align:center;
vertical-align:middle;
font-size:13px;
}
}


.togglebutton {
li > ul > li {
cursor:pointer;
  margin-top: 2px !important;
display:block;
  margin-bottom: 2px !important;
text-align:center;
}
}


#togglebutton, #togglecontent {
.mw-parser-output > h2, h3 {
height:0;
  margin-top: 32px !important;
    overflow:hidden;
}
}


#togglebutton:checked + #togglecontent {
h2 .mw-headline a[href="#toc"],
    height:auto;
h3 .mw-headline a[href="#toc"],
    position:relative;
h4 .mw-headline a[href="#toc"] {
  margin-right: 5px;
}
}

2025년 10월 5일 (일) 11:04 기준 최신판

.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;
}