사용자:Hsl0/common.css: 두 판 사이의 차이

리버티게임, 모두가 만들어가는 자유로운 게임
imported>Hsl0
편집 요약 없음
편집 요약 없음
 
(사용자 2명의 중간 판 114개는 보이지 않습니다)
1번째 줄: 1번째 줄:
#p-personal {
/* 2안 적색 배경 */
padding: 0;
/*.ns-3000 #content, .ns-3000 #p-cactions li a:hover, .ns-3000 #p-cactions li.selected a {
}
  background-color: #fff0f0;
@media(min-width: 500px) {
}*/
#p-collapse, #p-expand {
display: none;
}
}
@media(max-width: 500px) {
    #p-personal ul {
        float:right
    }


    #p-personal ul:not(.expanded) > li:nth-child(n+5) {
/* linktools.css */
         display: none
@keyframes link-wait {
    from {
         background-position-x: 200%;
     }
     }
 
     to {
     #p-personal ul.expanded {
         background-position-x: 0%;
        display: grid;
         background: white;
        width: auto;
        grid-template-columns: auto 1fr 1fr 1fr;
        align-items: baseline;
        border: 1px solid gray;
        border-radius: 5px;
     }
     }
}
.link-modifier-cloak,
.event-listener-cloak[data-target="link"],
.event-handler-cloak[data-target="link"] {
cursor: wait;
/* 그라데이션 애니메이션 */
    background-image: linear-gradient(
        135deg,
        #cccccc,
        #cccccc,
        #4d4d4d,
        #4d4d4d,
        #cccccc,
        #cccccc
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    color: transparent;
    animation: 2s linear 0s infinite running link-wait;
}


    #p-personal ul.expanded > * {
.link-modifier-cloak a,
        margin: 0;
.event-listener-cloak[data-target="link"] a,
        padding: 0;
.event-handler-cloak[data-target="link"] a {
        overflow: hidden;
    pointer-events: none;
        height: 100%;
    color: inherit;
    }
}


    #p-personal ul.expanded > li > a {
/* 애니메이션 줄이기가 켜진 경우 (vector 스킨 important 덮어쓰기) */
        display: block;
@media (prefers-reduced-motion: reduce) {
        height: 100%;
.link-modifier-cloak,
        padding-top: 10px;
.event-listener-cloak[data-target="link"],
        padding-bottom: 10px;
.event-handler-cloak[data-target="link"] {
        padding-left: 15px;
animation: 4s linear 0s infinite running link-wait !important;
        padding-right: 15px;
}
    }
 
    #p-personal ul.expanded > :nth-child(n+6) {
        margin: 0;
        grid-column: 1 / -1
    }
 
    #p-personal ul.expanded > :nth-child(n+6) > a {
        padding-left: 10px;
        padding-right: 10px
    }
 
    #p-personal ul.expanded > :hover {
        background: lightgrey
    }
 
    #p-personal ul.expanded #pt-userpage a {
        border-top-left-radius: 5px;
        display: block;
        padding: 0 10px;
        height: 20px;
        width: 100%;
        background-position-x: 15px;
        background-position-y: 7px;
        padding-right: 20px;
        padding-left: 40px !important;
    }
 
    #p-personal ul.expanded #pt-collapse a {
        border-top-right-radius: 5px;
        height: 20px;
    }
 
    ul.expanded #pt-logout a {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px
    }
 
    ul.expanded > #pt-expand {
        display: none
    }
 
    #pt-expand > a {
        top: -5px;
        position: relative;
        height: 20px;
        width: 20px;
        display: block
    }
 
    .expanded #pt-notifications-notice .mw-echo-notifications-badge,.expanded #pt-notifications-alert .mw-echo-notifications-badge,.expanded #pt-collapse a {
        top: 20%;
        margin: auto;
        background-repeat: no-repeat;
        background-position: center;
        height: 25px;
        vertical-align: bottom;
    }
}
}

2024년 2월 27일 (화) 20:37 기준 최신판

/* 2안 적색 배경 */
/*.ns-3000 #content, .ns-3000 #p-cactions li a:hover, .ns-3000 #p-cactions li.selected a {
  background-color: #fff0f0;
}*/

/* linktools.css */
@keyframes link-wait {
    from {
        background-position-x: 200%;
    }
    to {
        background-position-x: 0%;
    }
}
.link-modifier-cloak,
.event-listener-cloak[data-target="link"],
.event-handler-cloak[data-target="link"] {
	cursor: wait;
	
	/* 그라데이션 애니메이션 */
    background-image: linear-gradient(
        135deg,
        #cccccc,
        #cccccc,
        #4d4d4d,
        #4d4d4d,
        #cccccc,
        #cccccc
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    color: transparent;
    animation: 2s linear 0s infinite running link-wait;
}

.link-modifier-cloak a,
.event-listener-cloak[data-target="link"] a,
.event-handler-cloak[data-target="link"] a {
    pointer-events: none;
    color: inherit;
}

/* 애니메이션 줄이기가 켜진 경우 (vector 스킨 important 덮어쓰기) */
@media (prefers-reduced-motion: reduce) {
	.link-modifier-cloak,
	.event-listener-cloak[data-target="link"],
	.event-handler-cloak[data-target="link"] {
		animation: 4s linear 0s infinite running link-wait !important;
	}
}