편집 요약 없음 태그: 되돌려진 기여 |
편집 요약 없음 태그: 수동 되돌리기 되돌려진 기여 |
||
3번째 줄: | 3번째 줄: | ||
/* 모바일 분류 박스 */ | /* 모바일 분류 박스 */ | ||
.namucat-main-box { | .namucat-main-box { | ||
margin-bottom: . | margin-bottom: .6rem; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
border-radius: 4px; | border-radius: 4px; | ||
10번째 줄: | 10번째 줄: | ||
/* 모바일 미분류 박스 */ | /* 모바일 미분류 박스 */ | ||
.namucat-no-box { | .namucat-no-box { | ||
margin-bottom: . | margin-bottom: .6rem; | ||
border: 1px solid #bcdff1; | border: 1px solid #bcdff1; | ||
padding: 10px; | padding: 10px; | ||
16번째 줄: | 16번째 줄: | ||
border-radius: 5px; | border-radius: 5px; | ||
color: #31708f; | color: #31708f; | ||
} | } | ||
/* 링크 클릭 시 파란 박스 */ | /* 링크 클릭 시 파란 박스 */ | ||
37번째 줄: | 26번째 줄: | ||
} | } | ||
/* 순환 링크 애니메이션 제외 */ | /* 순환 링크 애니메이션 제외 */ | ||
a.selflink:active { | a.selflink:active:before { | ||
animation: none; | animation: none; | ||
} | } | ||
} | } | ||
48번째 줄: | 33번째 줄: | ||
@keyframes btn-background { | @keyframes btn-background { | ||
from { | from { | ||
background: rgba(0, 0, 255, .1); | background: blue; | ||
background: rgba(0, 0, 255, 0.1); | |||
} | } | ||
to { | to { | ||
background: | background: none; | ||
} | } | ||
} | } | ||
59번째 줄: | 45번째 줄: | ||
/* PC 분류 박스 */ | /* PC 분류 박스 */ | ||
.namucat-main-box { | .namucat-main-box { | ||
margin-bottom: | margin-bottom: 1rem; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
border-radius: 4px; | border-radius: 4px; | ||
66번째 줄: | 52번째 줄: | ||
/* PC 미분류 박스 */ | /* PC 미분류 박스 */ | ||
.namucat-no-box { | .namucat-no-box { | ||
margin-bottom: | margin-bottom: 1rem; | ||
border: 1px solid #bcdff1; | border: 1px solid #bcdff1; | ||
padding: 10px; | padding: 10px; | ||
73번째 줄: | 59번째 줄: | ||
color: #31708f; | color: #31708f; | ||
} | } | ||
} | } | ||
252번째 줄: | 91번째 줄: | ||
} | } | ||
/* | /* 분류 블러 */ | ||
.namucat-blur { | |||
filter: blur(3px); | |||
} | } | ||
.namucat-blur:hover { | |||
filter: none; | |||
} | } | ||
/* 분류 간 구분선 */ | |||
.namucat-stick:after { | |||
content: '|'; | |||
padding: 0 5px; | |||
user-select: 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 { | ||
text- | 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; | |||
} | } |
2024년 3월 24일 (일) 02:24 판
/* 모바일에서 */
@media screen and (max-width: 768px) {
/* 모바일 분류 박스 */
.namucat-main-box {
margin-bottom: .6rem;
border: 1px solid #ccc;
border-radius: 4px;
padding: 3px 3px 3px 5px;
}
/* 모바일 미분류 박스 */
.namucat-no-box {
margin-bottom: .6rem;
border: 1px solid #bcdff1;
padding: 10px;
background: #d9edf7;
border-radius: 5px;
color: #31708f;
}
/* 링크 클릭 시 파란 박스 */
a:active {
animation-name: btn-background;
animation-duration: .5s;
animation-iteration-count: 1;
animation-timing-function: steps(1, end);
animation-fill-mode: forwards;
}
/* 순환 링크 애니메이션 제외 */
a.selflink:active:before {
animation: none;
}
}
/* 파란 박스가 0.5초 뒤 사라지는 애니메이션 */
@keyframes btn-background {
from {
background: blue;
background: rgba(0, 0, 255, 0.1);
}
to {
background: none;
}
}
/* PC에서 */
@media screen and (min-width: 768px) {
/* PC 분류 박스 */
.namucat-main-box {
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
padding: 3px 3px 3px 5px;
}
/* PC 미분류 박스 */
.namucat-no-box {
margin-bottom: 1rem;
border: 1px solid #bcdff1;
padding: 10px;
background: #d9edf7;
border-radius: 5px;
color: #31708f;
}
}
/* 목차를 나무위키처럼 */
.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: #0275d8;
padding-right: .3em!important;
}
.tocnumber:after {
content: '.';
}
.toctext {
cursor: default;
}
.toctogglespan {
display: none;
}
/* 분류 블러 */
.namucat-blur {
filter: blur(3px);
}
.namucat-blur:hover {
filter: none;
}
/* 분류 간 구분선 */
.namucat-stick:after {
content: '|';
padding: 0 5px;
user-select: 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;
}