/* 모바일에서 */
@media screen and (max-width: 768px) {
/* 모바일 분류 박스 */
.AMGDcat-main-box {
margin-bottom: .6rem;
border: 1px solid #ccc;
border-radius: 4px;
padding: 3px 3px 3px 5px;
}
/* 모바일 미분류 박스 */
.AMGDcat-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 분류 박스 */
.AMGDcat-main-box {
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
padding: 3px 3px 3px 5px;
}
/* PC 미분류 박스 */
.AMGDcat-no-box {
margin-bottom: 1rem;
border: 1px solid #bcdff1;
padding: 10px;
background: #d9edf7;
border-radius: 5px;
color: #31708f;
}
}
/* 분류 블러 */
.AMGDcat-blur {
filter: blur(3px);
}
.AMGDcat-blur:hover {
filter: none;
}
/* 분류 간 구분선 */
.AMGDcat-stick:after {
content: '|';
padding: 0 5px;
user-select: none;
}
/* 링크 색 변화 없애기 */
a {
color: #d08491!important;
}
a:hover {
color: #fdecec!important;
text-shadow:0px 0px 25px #e6b6fb!important;
}
a:active {
color: #da8080!important;
}
a.new {
color: #ba0000!important;
}
a.new:hover {
color: #fe5757!important;
text-shadow:0px 0px 25px #f80101!important;
}
a.new:active {
color: #ba0000!important;
}
a.external {
color: #33b733!important;
}
a.external:hover {
color: #95ed95!important;
text-shadow:0px 0px 25px #17ec17!important;
}
a.external:active {
color: #33b733!important;
}
.plainlinks a.external {
color: #d08491!important;
}
.plainlinks:hover a.external {
color: #fdecec!important;
text-shadow:0px 0px 25px #e6b6fb!important;
}
.plainlinks:active a.external {
color: #d08491!important;
}
a.selflink {
color: inherit!important;
}
a.selflink:hover {
color: inherit!important;
}
a.selflink:active {
color: inherit!important;
}
/* 분류 칸 제거 */
.catlinks {
display:none;
}