틀:Namutoc-liban/styles.css: 두 판 사이의 차이

편집 요약 없음
태그: 되돌려진 기여
편집 요약 없음
 
(다른 사용자 한 명의 중간 판 8개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* 리스트를 나무위키처럼 */
ul:not(#toc) {
/* 없어도 차이없고, 존재시 catlink 간격만벌림림
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;
8번째 줄: 61번째 줄:
border: none!important;
border: none!important;
background-color: #fff!important;
background-color: #fff!important;
font-size: 1.3rem;
}
}
#mw-toc-heading {
#mw-toc-heading {
border: none!important;
border: none!important;
font-weight: normal;
font-weight: normal;
font-size: 1.3rem;
user-select: none;
user-select: none;
}
}
26번째 줄: 79번째 줄:
cursor: default;
cursor: default;
font-size: 1rem;
font-size: 1rem;
padding-bottom: .3em!important;;
}
}
.toctogglespan {
.toctogglespan {
display: none;
display: none;
}
}
#toc ul {
 
margin: 0!important;
/* 링크 색 변화 없애기 */
padding: 0.6rem 1.2rem!important;
a:hover {
border: none;
color: #feddbd!important;
background: #fff;
text-shadow:0px 0px 15px #fdd18b!important;
}
a:active {
color: #ec9f19!important;
}
a.new:hover {
color: #fe5757!important;
text-shadow:0px 0px 15px #fc2020!important;
}
a.new:active {
color: #dc4343!important;
}
a.external:hover {
color: #95ed95!important;
text-shadow:0px 0px 15px #17ec17!important;
}
a.external:active {
color: #33b733!important;
}
.plainlinks:hover a.external {
color: #feddbd!important;
text-shadow:0px 0px 15px #fdd18b!important;
}
.plainlinks:active a.external {
color: #ec9f19!important;
}
a.selflink {
color: inherit!important;
}
}
#toc ul ul {
a.selflink:hover {
margin: 0 0 0 1rem!important;
color: inherit!important;
padding: 0!important;
}
}
#toc li {
a.selflink:active {
margin: 0!important;
color: inherit!important;
padding: 0!important;
border: none;
background: #fff;
}
}

2024년 3월 28일 (목) 02:00 기준 최신판

/* 리스트를 나무위키처럼 */
ul:not(#toc) {
	/* 없어도 차이없고, 존재시 catlink 간격만벌림림
	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;
	font-size: 1.3rem;
}
#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;
}

/* 링크 색 변화 없애기 */
a:hover {
	color: #feddbd!important;
	text-shadow:0px 0px 15px #fdd18b!important;
}
a:active {
	color: #ec9f19!important;
}
a.new:hover {
	color: #fe5757!important;
	text-shadow:0px 0px 15px #fc2020!important;
}
a.new:active {
	color: #dc4343!important;
}
a.external:hover {
	color: #95ed95!important;
	text-shadow:0px 0px 15px #17ec17!important;
}
a.external:active {
	color: #33b733!important;
}
.plainlinks:hover a.external {
	color: #feddbd!important;
	text-shadow:0px 0px 15px #fdd18b!important;
}
.plainlinks:active a.external {
	color: #ec9f19!important;
}
a.selflink {
	color: inherit!important;
}
a.selflink:hover {
	color: inherit!important;
}
a.selflink:active {
	color: inherit!important;
}