편집 요약 없음 태그: 수동 되돌리기 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
/* 리스트를 나무위키처럼 */ | |||
ul:not(#toc) { | |||
margin: .2em 0 .2em 1.5em!important; | |||
padding-left: .5rem!important; | |||
list-style-type: disc; | |||
list-style-image: none; | |||
} | |||
ol:not(#toc) { | |||
margin: .2em 0 .2em 1.5em!important; | |||
padding-left: .5rem!important; | |||
} | |||
dl { | |||
margin: .2em 0 .2em 1.5em!important; | |||
padding-left: .5rem!important; | |||
} | |||
li:not(#toc) { | |||
margin: .2em 0!important; | |||
} | |||
dt { | |||
margin: .2em 0!important; | |||
} | |||
dd { | |||
margin: .2em 0!important; | |||
} | |||
ul ul:not(#toc) { | |||
list-style-type: circle; | |||
list-style-image: none; | |||
} | |||
ul ul ul:not(#toc) { | |||
list-style-type: square; | |||
list-style-image: none; | |||
} | |||
#toc ul { | |||
margin: 0!important; | |||
padding: 0.6rem 1.2rem!important; | |||
border: none; | |||
border-radius: 0; | |||
background: #fff; | |||
} | |||
#toc ul ul { | |||
margin: 0 0 0 1rem!important; | |||
padding: 0!important; | |||
} | |||
#toc li { | |||
margin: 0!important; | |||
padding: 0!important; | |||
border: none; | |||
border-radius: 0; | |||
background: #fff; | |||
} | |||
/* 목차를 나무위키처럼 */ | |||
.toc { | .toc { | ||
border-radius: 0!important; | border-radius: 0!important; | ||
12번째 줄: | 64번째 줄: | ||
border: none!important; | border: none!important; | ||
font-weight: normal; | font-weight: normal; | ||
user-select: none; | user-select: none; | ||
} | } | ||
18번째 줄: | 69번째 줄: | ||
color: #337ab7; | color: #337ab7; | ||
padding-right: .3em!important; | padding-right: .3em!important; | ||
font-size: | font-size: 14.8px; | ||
} | } | ||
.tocnumber:after { | .tocnumber:after { | ||
25번째 줄: | 76번째 줄: | ||
.toctext { | .toctext { | ||
cursor: default; | cursor: default; | ||
font-size: | font-size: 14.8px; | ||
} | } | ||
.toctogglespan { | .toctogglespan { | ||
display: none; | display: none; | ||
} | } |
2024년 3월 27일 (수) 22:07 판
/* 리스트를 나무위키처럼 */
ul:not(#toc) {
margin: .2em 0 .2em 1.5em!important;
padding-left: .5rem!important;
list-style-type: disc;
list-style-image: none;
}
ol:not(#toc) {
margin: .2em 0 .2em 1.5em!important;
padding-left: .5rem!important;
}
dl {
margin: .2em 0 .2em 1.5em!important;
padding-left: .5rem!important;
}
li:not(#toc) {
margin: .2em 0!important;
}
dt {
margin: .2em 0!important;
}
dd {
margin: .2em 0!important;
}
ul ul:not(#toc) {
list-style-type: circle;
list-style-image: none;
}
ul ul ul:not(#toc) {
list-style-type: square;
list-style-image: none;
}
#toc ul {
margin: 0!important;
padding: 0.6rem 1.2rem!important;
border: none;
border-radius: 0;
background: #fff;
}
#toc ul ul {
margin: 0 0 0 1rem!important;
padding: 0!important;
}
#toc li {
margin: 0!important;
padding: 0!important;
border: none;
border-radius: 0;
background: #fff;
}
/* 목차를 나무위키처럼 */
.toc {
border-radius: 0!important;
border: 1px solid #ccc!important;
margin-left: 5px;
}
.toctitle {
min-width: 0!important;
border: none!important;
background-color: #fff!important;
}
#mw-toc-heading {
border: none!important;
font-weight: normal;
user-select: none;
}
.tocnumber {
color: #337ab7;
padding-right: .3em!important;
font-size: 14.8px;
}
.tocnumber:after {
content: '.';
}
.toctext {
cursor: default;
font-size: 14.8px;
}
.toctogglespan {
display: none;
}