틀:리반문서틀/styles.css: 두 판 사이의 차이

편집 요약 없음
태그: 되돌려진 기여
편집 요약 없음
태그: 되돌려진 기여
40번째 줄: 40번째 줄:
}
}


/* 리스트를 나무위키처럼 */
/*목차 글자 색 변경*/
ul:not(#toc) {
#mw-toc-heading{
/* 없어도 차이없고, 존재시 catlink 간격만벌림림
color:#ec9f19;
margin: .2em 0 .2em 1.5em!important;
padding-left: .5rem!important; */
list-style-type: disc;
list-style-image: none;
}
}
ol:not(#toc) {
.toctogglelabel:after {
margin: .2em 0 .2em 1.5em!important;
color: #ec9f19!important;
padding-left: .5rem!important;
}
}
dl {
.tocnumber {
margin: .2em 0 .2em 1.5em!important;
color:#ec9f19!important;
padding-left: .5rem!important;
}
}
li:not(#toc) {
.toctogglespan {
margin: .2em 0!important;
color:#ec9f19!important;
}
}
dt {
.toctext {
margin: .2em 0!important;
color:#d8e6e6!important;
}
}
dd {
 
margin: .2em 0!important;
/* 목차 순번 칸*/
 
.toc ul {
text-shadow:0px 0px 0px transparent;
background:#050c16!important;
border: 1px solid #ec9f19!important;
box-shadow:0px 0px 0px !important;
}
}
ul ul:not(#toc) {
.toc li {
list-style-type: circle;
background:#050c16!important;
list-style-image: none;
}
}
ul ul ul:not(#toc) {
.toc ul ul {
list-style-type: square;
border: none!important;
list-style-image: none;
box-shadow: none!important;
}
#toc ul {
margin: 0!important;
padding: 0.6rem 1.2rem!important;
border: none;
border-radius: 0;
background: #1c1d1f;
}
#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: #1c1d1f;
}
}


/* 목차를 나무위키처럼 */
/* 목차 머리 칸*/
.toc {
 
border-radius: 0!important;
border: 1px solid #1c1d1f!important;
margin-left: 5px;
}
.toctitle {
.toctitle {
min-width: 0!important;
background:#050c16!important;
border: none!important;
border: 1px solid #ec9f19!important;
background-color: #1c1d1f!important;
box-shadow:0px 0px 0px !important;
font-size: 1.3rem;
font-size: 13px;
}
#mw-toc-heading {
border: none!important;
font-weight: normal;
user-select: none;
}
.tocnumber {
color: #337ab7;
padding-right: .3em!important;
font-size: 1rem;
}
.tocnumber:after {
content: '.';
}
.toctext {
cursor: default;
font-size: 1rem;
}
.toctogglespan {
display: none;
}
}

2024년 3월 30일 (토) 19:01 판

/* 바깥 배경*/
.Liban-template .wikitable {
	text-shadow:0px 0px 0px transparent;
}

/* 글자 색 변경*/
.Liban-template a {
	color: #ec9f19;
}
.Liban-template a:hover {
	color: #ec9f19;
}
.Liban-template a:active {
	color: #ec9f19;
}
.Liban-template a.new {
	color: #ec9f19;
}
.Liban-template a.new:hover {
	color: #ec9f19;
}
.Liban-template a.new:active {
	color: #ec9f19;
}
.Liban-template a.external {
	color: #ec9f19;
}
.Liban-template a.external:hover {
	color: #ec9f19;
}
.Liban-template a.external:active {
	color: #ec9f19;
}
.mw-headline-number {
    color: #ec9f19!important;
}
.mw-editsection {
	float: right;
	font-weight: bold;
}

/*목차 글자 색 변경*/
#mw-toc-heading{
	color:#ec9f19;
}
.toctogglelabel:after {
	color: #ec9f19!important;
}
.tocnumber {
	color:#ec9f19!important;
}
.toctogglespan {
	color:#ec9f19!important;
}
.toctext {
	color:#d8e6e6!important;
}

/* 목차 순번 칸*/

.toc ul {
	text-shadow:0px 0px 0px transparent;
	background:#050c16!important;
	border: 1px solid #ec9f19!important;
	box-shadow:0px 0px 0px !important;
}
.toc li {
	background:#050c16!important;
}
.toc ul ul {
	border: none!important;
	box-shadow: none!important;
}

/* 목차 머리 칸*/

.toctitle {
	background:#050c16!important;
	border: 1px solid #ec9f19!important;
	box-shadow:0px 0px 0px !important;
	font-size: 13px;
}