:root { --ani-speed: 1; } /*====所有的动画===*/ /*基础*/ @keyframes rightin0{ 0%{ transform:translateX(-1rem); opacity:0; } 100%{ transform:translateX(0); opacity:1; } } @keyframes upin0{ 0%{ transform:translateY(1rem); opacity:0; } 100%{ transform:translateY(0); opacity:1; } } @keyframes staggerUp { 0% { transform: translateY(1.2rem); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } @keyframes opacity-1 { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes letter-spacing-opacity { 0% { letter-spacing: 10px; opacity: 0; } 100% { letter-spacing: 0; opacity: 1; } } @keyframes fadeInScale { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } @keyframes blur5 { 0% { filter: blur(5px); } 100% { filter: blur(0px); } } @keyframes fadeIn-sd { 0% {clip-path: polygon(0% 0%,0% 0%, -10% 100%,0% 100%);} 100% {clip-path: polygon(0% 0%,110% 0%, 100% 100%,0% 100%);} } @keyframes rightin{ 0%{ transform:translateX(-1rem); opacity:0; } 80%{ transform:translateX(-1rem); opacity:0; } 100%{ transform:translateX(0); opacity:1; } } @keyframes rras-space{ from { transform:rotateX(90deg); } to{ transform:rotateX(0deg); } } @keyframes leftin{ 0%{ transform:translateX(1rem); opacity:0; } 80%{ transform:translateX(1rem); opacity:0; } 100%{ transform:translateX(0); opacity:1; } } @keyframes leftin0{ 0%{ transform:translateX(1rem); opacity:0; } 100%{ transform:translateX(0); opacity:1; } } @keyframes upin1{ 0%{ transform:translateY(1rem); opacity:0; } 50%{ transform:translateY(1rem); opacity:0; } 100%{ transform:translateY(0); opacity:1; } } @keyframes upin2{ 0%{ transform:translateY(1rem); opacity:0; } 50%{ transform:translateY(1rem); opacity:0; } 75%{ transform:translateY(0); opacity:1; } 100%{ transform:translateY(0); opacity:1; } } @keyframes sd-diamond-pattern { 0% { opacity: 0; } 100% { opacity: 0.15; } } /* 这什么逆天写法 transform: translateX(-1rem); transform: rotate(30deg); */ @keyframes ic-right { 0% { transform: translateX(-1rem) rotate(30deg); opacity: 0; } 80% { transform: translateX(-1rem) rotate(30deg); opacity: 0; } 100% { transform: translateX(0) rotate(0deg); opacity: 1; } } @keyframes ic-border { 0% { border-bottom: rgba(var(--ic_border-color), 0) solid var(--ic_interspace); } 100% { border-bottom: rgba(var(--ic_border-color), 1) solid var(--ic_interspace); } } @keyframes ic-add-h { 0% { clip-path: polygon(50% 0%,50% 0%,50% 100%,50% 100%); background-color: rgba(var(--ic_border-color), 1); } 100% { clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%); background-color: rgba(var(--ic_add-habitability-bg-color), 1); } } @keyframes ic-add-r { 0% { clip-path: polygon(50% 0%,50% 0%,50% 100%,50% 100%); background-color: rgba(var(--ic_border-color), 1); } 100% { clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%); background-color: rgba(var(--ic_add-resource-bg-color), 1); } } @keyframes ic-add-s { 0% { clip-path: polygon(50% 0%,50% 0%,50% 100%,50% 100%); background-color: rgba(var(--ic_border-color), 1); } 100% { clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%); background-color: rgba(var(--ic_add-signal-bg-color), 1); } } @keyframes border-spin-pc { 0%{ clip-path: polygon(0% 0%,0% 0.4rem,0% 0.4rem,0% 0%); transform: scaleX(5000%); } 30% { clip-path: polygon(0% 0%,0% 0.4rem,100% 0.4rem,100% 0%); transform: scaleX(5000%); opacity: 1; } 60% { clip-path: polygon(0% 0%,0% 100%,100% 100%,100% 0%); transform: scaleX(5000%); opacity: 1; } 100% { transform: scaleX(100%); opacity: 1; } } @keyframes border-spin-mo { 0% { clip-path: polygon(50% 0%,50% 100%,50% 100%,50% 0%); } 70% { clip-path: polygon(50% 0%,50% 100%,50% 100%,50% 0%); opacity: 1; } 100% { clip-path: polygon(0% 0%,0% 100%,100% 100%,100% 0%); opacity: 1; } } @keyframes rightin { 0% { transform: translateX(-1rem); opacity: 0; } 80% { transform: translateX(-1rem); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } } @keyframes rightin2 { 0% { transform: translateY(1rem); opacity: 0; } 80% { transform: translateY(1rem); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } @keyframes upin0 { 0% { transform: translateY(1rem); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } @keyframes right0 { 0% { transform: translateX(-1rem); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } } @keyframes fadeIn-nu-sd { 0% { clip-path: polygon(0% 0%,0% 0%, -10% 100%,0% 100%); transform: rotateY(180deg); } 100% { clip-path: polygon(0% 0%,200% 0%, 100% 100%,0% 100%); transform: rotateX(0deg); opacity: 1; } } @keyframes upin1 { 0% { transform: translateY(1rem); opacity: 0; } 50% { transform: translateY(1rem); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } @keyframes upin2 { 0% { transform: translateY(1rem); opacity: 0; } 50% { transform: translateY(1rem); opacity: 0; } 75% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 1; } } @keyframes fadeIn-nu-exit { 0% { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 0%,0% 0%); } 25% { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 100%,0% 100%); } 100% { clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%); } } @keyframes fadeIn-nu-env { 0% { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 0%,0% 0%); } 25% { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 100%,0% 100%); } 100% { clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%); } } @keyframes fadeIn-nu-enti { 0% { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 0%,0% 0%); } 25% { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 100%,0% 100%); } 100% { clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%); } } @keyframes no-opacity { 0% { opacity: 0; } 25% { opacity: 0; } 100% { opacity: 1; } } @keyframes cecs-stripe { to { opacity: 1; transform: skew(45deg); } } @keyframes cecs-class-wrapper { to { background-color: rgb(var(--cecs-dark)); } } @keyframes cecs-class-clip { 0% { clip-path: polygon(0% 0%,0.5em 0%, 0.5em 0%,0% 0%); } 25% { clip-path: polygon(0% 0%,0.5em 0%, 0.5em 100%,0% 100%); } 100% { clip-path: polygon(0% 0%,100% 0%, 100% 100%,0% 100%); } } @keyframes cecs-border-top { 0% { border-top: rgb(var(--cecs-accent)) solid 0em; } 100% { border-top: rgb(var(--cecs-accent)) solid 0.2em; } } @keyframes fadeIn-cecs-wrapper { 0% { clip-path: polygon(0% 0%,100% 0%, 100% -10%,0% 0%); } 100% { clip-path: polygon(0% 0%,100% 0%, 100% 100%,0% 100%); } } @keyframes cocs-safety { to { height: 4.5em; } } @keyframes cocs-border-top { 0% { border-top: rgb(var(--cocs-accent)) solid 0em; } 100% { border-top: rgb(var(--cocs-accent)) solid 0.2em; } } @keyframes cocs-border-bottom { 0% { border-bottom: rgba(var(--cocs-accent),0) solid 0em; } 100% { border-bottom: rgba(var(--cocs-accent),1) solid 0.2em; } } @keyframes fadeIn-cecs-wrapper { 0% { clip-path: polygon(0% 0%,100% 0%, 100% -10%,0% 0%); } 100% { clip-path: polygon(0% 0%,100% 0%, 100% 100%,0% 100%); } } @keyframes paper-in{ from{transform: skew(10deg, 10deg) scale(0.8);opacity: 0;} to{ transform: skew(0deg, 0deg) scale(1);opacity: 1;} } @keyframes paper-in-object{ from{transform: skew(0);opacity: 0;} to{ transform: skew(45deg);opacity: 1;} } @keyframes ebcs-iets{ 0%{ box-shadow: inset var(--box-shadow, 0 0.05rem 0.15rem rgba(0, 0, 0, 0)); background-color: rgb(var(--blockquote-bg-color, 0, 10, 8, 0)); opacity: 0; } 1%{ opacity: 1; } 100%{ box-shadow: inset var(--box-shadow, 0 0.05rem 0.15rem rgba(0, 0, 0, 0.4)); background-color: rgb(var(--blockquote-bg-color, 0, 10, 8, 0.03)); opacity: 1; } } @keyframes dark-bd{ to{ border-bottom: solid 0.1em rgba(255,255,255,1); } } @keyframes standard-bd{ to{ border-bottom: solid 0.1em rgba(51,51,51,1); } } /*======最基本的SD=====*/ /*简写了下,另外我在思考为啥看起来一样的代码又出错了*/ /* */ .sd-container{animation-fill-mode: forwards;} .sd-container .top-box, .top-box-x,.top-box-e{ animation: fadeIn-sd calc(2s / var(--ani-speed) ); } .sd-container .top-text, .top-text-x,.top-text-e{ animation: rightin calc(2.25s / var(--ani-speed) ); } .sd-container .bottom-text, .bottom-text-x,.bottom-text-e{ animation: rightin calc(2.5s / var(--ani-speed) ); } .sd-container .diamondy, .diamondy-x,.diamondy-e{ animation: upin1 calc(3s / var(--ani-speed) ); } .sd-container .diamond-image, .diamond-image-x,.diamond-image-e { animation: upin2 calc(4s / var(--ani-speed) ); } .sd-container .bottom-box ul li { opacity: 0; animation: staggerUp calc(0.6s / var(--ani-speed)) ease-out forwards; } .sd-container .bottom-box ul li:nth-child(1) { animation-delay: calc(2.2s / var(--ani-speed)); } .sd-container .bottom-box ul li:nth-child(2) { animation-delay: calc(2.4s / var(--ani-speed)); } .sd-container .bottom-box ul li:nth-child(3) { animation-delay: calc(2.6s / var(--ani-speed)); } .sd-container .diamond-pattern { animation: sd-diamond-pattern calc(0.5s / var(--ani-speed)) forwards; animation-delay: calc(2.5s / var(--ani-speed)); } .sd-container .header-diamond .bg{ opacity: 0; animation: opacity-1 calc(0.5s / var(--ani-speed)) forwards; animation-delay: calc(2.5s / var(--ani-speed)); } /* */ /*RRAS,我寻思是*/ /* {$rras}/ .rras--level span{ opacity: 0; opacity: 0; animation: letter-spacing-opacity calc(1s / var(--ani-speed) ) forwards , rightin0 calc(1s / var(--ani-speed) ) forwards , blur5 calc(1s / var(--ani-speed) ) forwards ; } .rras--bg { clip-path: polygon(0% 0%,0% 0%, -10% 100%,0% 100%); animation: fadeIn-sd calc(1s / var(--ani-speed) ) forwards; } .rras--text{ opacity: 0; animation: fadeInScale calc(0.7s / var(--ani-speed) ) calc(1.7s / var(--ani-speed) ) forwards; } .rras--space{ transform:rotateX(90deg); animation: rras-space calc(0.7s / var(--ani-speed) ) calc(1s / var(--ani-speed) ) forwards; } .rras .rras--info{ opacity: 0; animation: fadeInScale calc(0.7s / var(--ani-speed) ) calc(1s / var(--ani-speed) ) forwards , blur5 calc(0.7s / var(--ani-speed) ) calc(1s / var(--ani-speed) ) forwards; } /{$rras} */ /*FDSD*/ /* {$fdsd}/ .title-bar{ animation: fadeIn-sd calc(1s / var(--ani-speed) ); } .sd-image{ animation: upin1 calc(2s / var(--ani-speed) ); } .list-item{ opacity:0; } .list-item:nth-child(1) { animation: rightin0 calc(0.5s / var(--ani-speed) ) calc(1.5s / var(--ani-speed)) forwards; } .list-item:nth-child(2) { animation: rightin0 calc(0.5s / var(--ani-speed) ) calc(1.7s / var(--ani-speed)) forwards; } .list-item:nth-child(3) { animation: rightin0 calc(0.5s / var(--ani-speed) ) calc(1.9s / var(--ani-speed)) forwards; } /{$fdsd} */ /*====================岛屿分级系统================*/ /* {$ic}/ .ic_wrap-box .ic_top-left-box { animation: right0 calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .ic_wrap-box .ic_top-left-box .ic_text { animation: right0 calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; } .ic_wrap-box .ic_h-icon { animation: ic-right calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.3s / var(--ani-speed)); opacity: 0; } .ic_wrap-box .ic_r-icon { animation: ic-right calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.4s / var(--ani-speed)); opacity: 0; } .ic_wrap-box .ic_s-icon { animation: ic-right calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.5s / var(--ani-speed)); opacity: 0; } .ic_wrap-box .ic_sd-box { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 0%,0% 0%); animation: fadeIn-nu-exit calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .ic_wrap-box .ic_infobox-1,.ic_wrap-box .ic_infobox-2 { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 0%,0% 0%); animation: fadeIn-nu-env calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.1s / var(--ani-speed)); } .ic_wrap-box .ic_infobox-3 { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 0%,0% 0%); animation: fadeIn-nu-enti calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.2s / var(--ani-speed)); } .ic_wrap-box .ic_sd-box .ic_text { animation: rightin2 calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .ic_wrap-box .ic_sd-box .ic_sd { animation: rightin2 calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; } .ic_wrap-box .ic_infobox-1 .ic_text { animation: rightin calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.1s / var(--ani-speed)); } .ic_wrap-box .ic_infobox-1 .ic_info { animation: rightin calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.1s / var(--ani-speed)); } .ic_wrap-box .ic_infobox-2 .ic_text { animation: rightin calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.2s / var(--ani-speed)); } .ic_wrap-box .ic_infobox-2 .ic_info { animation: rightin calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.2s / var(--ani-speed)); } .ic_wrap-box .ic_infobox-3 .ic_text { animation: rightin calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.3s / var(--ani-speed)); } .ic_wrap-box .ic_infobox-3 .ic_info { animation: rightin calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.3s / var(--ani-speed)); } .ic_wrap-box .ic_add-h { clip-path: polygon(50% 0%,50% 0%,50% 100%,50% 100%); animation: ic-add-h calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.3s / var(--ani-speed)); } .ic_wrap-box .ic_add-r { clip-path: polygon(50% 0%,50% 0%,50% 100%,50% 100%); animation: ic-add-r calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.4s / var(--ani-speed)); } .ic_wrap-box .ic_add-s { clip-path: polygon(50% 0%,50% 0%,50% 100%,50% 100%); animation: ic-add-s calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.5s / var(--ani-speed)); } .ic_wrap-box .ic_add-h .ic_text { animation: rightin2 calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.5s / var(--ani-speed)); } .ic_wrap-box .ic_add-h .ic_info { animation: rightin calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.5s / var(--ani-speed)); } .ic_wrap-box .ic_add-r .ic_text { animation: rightin2 calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.6s / var(--ani-speed)); } .ic_wrap-box .ic_add-r .ic_info { animation: rightin calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.6s / var(--ani-speed)); } .ic_wrap-box .ic_add-s .ic_text { animation: rightin2 calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.7s / var(--ani-speed)); } .ic_wrap-box .ic_add-s .ic_info { animation: rightin calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.7s / var(--ani-speed)); } .ic_addbox .ic_text,.ic_addbox .ic_info{ opacity: 0; } .ic_top-box { animation: ic-border calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .ic_wrap-box { border-bottom: rgba(var(--ic_border-color), 0) solid var(--ic_interspace); animation: ic-border calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; animation-delay: calc(0.7s / var(--ani-speed)); } /{$ic} */ /*====================新版层级================*/ /* {$nusd}/ .sdnumber p { opacity: 0; animation: right0 calc(2s / var(--ani-speed)); animation-fill-mode: forwards; } .sdnumber p { opacity: 0; animation: right0 calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sdnumber strong { opacity: 0; animation: right0 calc(1.2s / var(--ani-speed) ); animation-fill-mode: forwards; } .sdnumber .lines { opacity: 0; animation: fadeIn-nu-sd calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .exit { animation: fadeIn-nu-exit calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .environment { animation: fadeIn-nu-env calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .entity { animation: fadeIn-nu-enti calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .syntax .sd{ animation: rightin calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .syntax p strong { animation: rightin calc(1.05s / var(--ani-speed) ); animation-fill-mode: forwards; } .class.customclass strong::after{ animation: no-opacity calc(1.05s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .exit strong { animation: rightin2 calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .exit p span:nth-child(3) { animation: rightin2 calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .environment strong { animation: rightin2 calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .environment p span:nth-child(3) { animation: rightin2 calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .entity strong { animation: rightin2 calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .entity p span:nth-child(3) { animation: rightin2 calc(1.1s / var(--ani-speed) ); animation-fill-mode: forwards; } @media only screen and (min-width: 1071px) { .sd-container .border { animation: border-spin-pc calc(1s / var(--ani-speed) ); transform-origin: right; } .sdnumber p { animation-delay: calc((2s / var(--ani-speed))*0.6); } .sdnumber p { animation-delay: calc((1s / var(--ani-speed))*0.6); } .sdnumber strong { animation-delay: calc((1.2s / var(--ani-speed))*0.6); } .sdnumber .lines { animation-delay: calc((1s / var(--ani-speed))*0.6); } } @media only screen and (min-width: 620px) and (max-width: 1070px) { .sd-container .border { animation: border-spin-mo calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } } @media only screen and (max-width: 620px) { .sd-container .border { animation: border-spin-mo calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .exit { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 0%,0% 0%); animation-delay: 0; animation-fill-mode: forwards; } .sd-container .environment { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 0%,0% 0%); animation-delay: calc(0.5s / var(--ani-speed) ); animation-fill-mode: forwards; } .sd-container .entity { clip-path: polygon(0% 0%,0.4rem 0%,0.4rem 0%,0% 0%); animation-delay: calc(1s / var(--ani-speed) ); animation-fill-mode: forwards; } } /{$nusd} */ /*===================标签式分级系统================*/ /* 难做的钥匙啊 */ /* {$bqsd}/ .block-right{ opacity: 0; transform: translateX(1rem); animation: leftin calc(1s / var(--ani-speed)) forwards; } .block-right .diamond-image{ clip-path: polygon(0% 0%,0% 0%, -10% 100%,0% 100%); animation: fadeIn-sd calc(1s / var(--ani-speed)) forwards; animation-delay: calc(1s / var(--ani-speed)); } .class-inner a{ animation: letter-spacing-opacity calc(1s / var(--ani-speed)) forwards,blur5 calc(1s / var(--ani-speed)) forwards; filter: blur(5px); letter-spacing: 10px; opacity: 0; } .level-wrapper:nth-of-type(3){ opacity: 0; animation: rightin calc(0.5s / var(--ani-speed)) ease-out forwards; animation-delay: calc(1s / var(--ani-speed)); } .level-wrapper:nth-of-type(4){ opacity: 0; animation: rightin calc(0.5s / var(--ani-speed)) ease-out forwards; animation-delay: calc(1.25s / var(--ani-speed))!important; } .level-wrapper:nth-of-type(5){ opacity: 0; animation: rightin calc(0.5s / var(--ani-speed)) ease-out forwards; animation-delay: calc(1.5s / var(--ani-speed))!important; } .properties{ transform: scale(0.8) translateY(1.2rem); opacity: 0; filter: blur(5px); animation: staggerUp calc(3s / var(--ani-speed)) forwards calc(2s / var(--ani-speed)),blur5 calc(2s / var(--ani-speed)) forwards calc(2s / var(--ani-speed)),fadeInScale calc(1s / var(--ani-speed)) forwards calc(2s / var(--ani-speed)); } /{$bqsd} */ /*PLS现象组件*/ /* {$pls}/ .pls .pls-title em { opacity: 0; } .pls .pls-title .pls-subtitle { clip-path: polygon(0% 0%,0% 0%, -10% 100%,0% 100%); animation: fadeIn-sd calc(1s / var(--ani-speed)) forwards; } .pls .pls-title em { opacity: 0; animation: letter-spacing-opacity calc(1s / var(--ani-speed)) forwards; animation-delay: calc(1s / var(--ani-speed)); } .pls .pls-list li { opacity: 0; animation: staggerUp calc(0.6s / var(--ani-speed)) ease-out forwards; } .pls .pls-list li:nth-child(1) { animation-delay: calc(1.2s / var(--ani-speed)); } .pls .pls-list li:nth-child(2) { animation-delay: calc(1.4s / var(--ani-speed)); } .pls .pls-list li:nth-child(3) { animation-delay: calc(1.6s / var(--ani-speed)); } .pls-icon { opacity: 0; animation: fadeInScale calc(0.8s / var(--ani-speed)) forwards; animation-delay: calc(1.8s / var(--ani-speed)); position: relative; } .pls-icon:before { animation: blur5 calc(0.8s / var(--ani-speed)) forwards; animation-delay: calc(1.8s / var(--ani-speed)); position: relative; } .pls-icon-title { opacity: 0; animation: staggerUp calc(0.6s / var(--ani-speed)) forwards; animation-delay: calc(2.2s / var(--ani-speed)); display: inline-block; } .pls-side p span { opacity: 0; display: inline-block; animation: staggerUp calc(0.5s / var(--ani-speed)) forwards; animation-delay: calc(2.3s / var(--ani-speed)); } @media screen and (max-width: 768px) { .pls .pls-title em { animation-delay: calc(0s / var(--ani-speed)); } .pls .pls-list li:nth-child(1) { animation-delay: calc(0.5s / var(--ani-speed)); } .pls .pls-list li:nth-child(2) { animation-delay: calc(0.7s / var(--ani-speed)); } .pls .pls-list li:nth-child(3) { animation-delay: calc(0.9s / var(--ani-speed)); } .pls-icon { animation-delay: calc(1.2s / var(--ani-speed)); } .pls-icon:before { animation-delay: calc(1.2s / var(--ani-speed)); } .pls-icon-title { animation-delay: calc(1.8s / var(--ani-speed)); } .pls-side p span { animation-delay: calc(1.9s / var(--ani-speed)); } } /{$pls} */ /*统合实体分类系统*/ /* {$cecs}/ .class-wrapper { clip-path: polygon(0% 0%,0.5em 0%, 0.5em 0%,0% 0%); background-color: rgb(var(--cecs-light)); animation: cecs-class-wrapper calc(1s / var(--ani-speed)) calc(4s / var(--ani-speed)) forwards , cecs-class-clip calc(1.1s / var(--ani-speed)) calc(2.9s / var(--ani-speed)) forwards; } .class-stripe { opacity: 0; transform: skew(0deg); animation: cecs-stripe calc(0.5s / var(--ani-speed)) calc(4s / var(--ani-speed)) forwards; } .class-label { z-index: 1; opacity: 0; animation: rightin0 calc(0.5s / var(--ani-speed)) calc(3.5s / var(--ani-speed)) forwards; } .class-inner { opacity: 0; animation: rightin0 calc(0.5s / var(--ani-speed)) calc(3.7s / var(--ani-speed)) forwards; } .properties-label { opacity: 0; animation: upin0 calc(0.5s / var(--ani-speed)) calc(4.2s / var(--ani-speed)) forwards; } .properties { animation: blur5 calc(0.5s / var(--ani-speed)) calc(4.2s / var(--ani-speed)) forwards , fadeInScale calc(0.5s / var(--ani-speed)) calc(4.2s / var(--ani-speed)) forwards; opacity: 0; } .wrapper .label-wrapper .hexa-outerline .hexa-midline { opacity: 0; animation: fadeInScale calc(0.5s / var(--ani-speed)) forwards; } .wrapper .label-wrapper .hexa-outerline .hexa-innerline { opacity: 0; animation: fadeInScale calc(0.5s / var(--ani-speed)) forwards; animation-delay: calc(0.2s / var(--ani-speed)); } .wrapper div .label-wrapper .label strong { opacity: 0; animation: rightin0 calc(1s / var(--ani-speed) ) forwards; animation-delay: calc(0.2s / var(--ani-speed)); } .cecs-wrapper { border-top: rgb(var(--cecs-accent)) solid 0em; animation: cecs-border-top calc(1s / var(--ani-speed) ) forwards; animation-delay: calc(0.2s / var(--ani-speed)); } .cecs-wrapper .base,.cecs-wrapper .base:after { opacity: 0; animation: opacity-1 calc(1s / var(--ani-speed) ) forwards; animation-delay: calc(1.2s / var(--ani-speed)); } .cecs-wrapper .last-stripe { opacity: 0; animation: rightin0 calc(1s / var(--ani-speed) ) forwards; animation-delay: calc(1.2s / var(--ani-speed)); } .cecs-wrapper .text-box { opacity: 0; animation: fadeInScale calc(0.8s / var(--ani-speed)) forwards; animation-delay: calc(1.8s / var(--ani-speed)); } .cecs-wrapper .iets:before { clip-path: polygon(0% 0%,100% 0%, 100% -10%,0% 0%); animation: fadeIn-cecs-wrapper calc(1s / var(--ani-speed) ) forwards; animation-delay: calc(1.8s / var(--ani-speed)); } .iets-wrapper strong { opacity: 0; animation: rightin0 calc(0.5s / var(--ani-speed) ) forwards; animation-delay: calc(2.8s / var(--ani-speed)); } .iets-wrapper .iets-val strong { opacity: 0; animation: rightin0 calc(0.5s / var(--ani-speed) ) forwards , blur5 calc(0.4s / var(--ani-speed) ) forwards; animation-delay: calc(2.9s / var(--ani-speed)); } /{$cecs} */ /*物品*/ /* 跟HW的实体那个略微改了一下 */ /* {$cocs}/ .cocs-wrapper + div { clip-path: polygon(0% 0%,0.5em 0%, 0.5em 0%,0% 0%); animation: cecs-class-clip calc(1.1s / var(--ani-speed)) calc(2.5s / var(--ani-speed)) forwards; } .wrapper .label-wrapper .hexa-outerline .hexa-midline { opacity: 0; animation: fadeInScale calc(0.5s / var(--ani-speed)) forwards; } .wrapper .label { animation: letter-spacing-opacity calc(0.5s / var(--ani-speed) ) forwards; animation-delay: calc(1s / var(--ani-speed)); opacity: 0; } .wrapper .label-wrapper .hexa-outerline .hexa-innerline { opacity: 0; animation: fadeInScale calc(0.5s / var(--ani-speed)) forwards; animation-delay: calc(0.2s / var(--ani-speed)); } div[class*=base2] { height: 0; animation: cocs-safety calc(0.5s / var(--ani-speed)) forwards; animation-delay: calc(2.2s / var(--ani-speed)); } div[class*=custom-color] { height: 0; animation: cocs-safety calc(0.5s / var(--ani-speed)) forwards; animation-delay: calc(2.2s / var(--ani-speed)); } .purpose-stripe { opacity: 0; z-index: 3; animation: paper-in-object calc(0.4s / var(--ani-speed)) calc(3.4s / var(--ani-speed)) forwards,blur5 calc(0.5s / var(--ani-speed)) calc(3.2s / var(--ani-speed)) forwards; } .purpose-label { z-index: 2; opacity: 0; animation: rightin0 calc(0.5s / var(--ani-speed)) calc(3.4s / var(--ani-speed)) forwards; } .cocs-purpose { opacity: 0; z-index: 1; animation: fadeInScale calc(0.5s / var(--ani-speed)) calc(3s / var(--ani-speed)) forwards,blur5 calc(0.5s / var(--ani-speed)) calc(3s / var(--ani-speed)) forwards; } .purpose-inner { opacity: 0; z-index: 2; animation: rightin0 calc(0.5s / var(--ani-speed)) calc(3.4s / var(--ani-speed)) forwards; } .cocs-wrapper { border-top: rgba(var(--cocs-accent),0) solid 0em; animation: cocs-border-top calc(1s / var(--ani-speed) ) forwards calc(0.2s / var(--ani-speed)), cocs-border-bottom calc(1s / var(--ani-speed)) backwards calc(2.3s / var(--ani-speed)); } .cocs-wrapper .base, .cocs-wrapper .base:after { opacity: 0; animation: opacity-1 calc(1s / var(--ani-speed) ) forwards; animation-delay: calc(1.2s / var(--ani-speed)); } .cocs-wrapper .last-stripe { opacity: 0; animation: rightin0 calc(1s / var(--ani-speed) ) forwards; animation-delay: calc(1.2s / var(--ani-speed)); } .cocs-wrapper .text-box { opacity: 0; animation: fadeInScale calc(0.8s / var(--ani-speed)) forwards; animation-delay: calc(1.8s / var(--ani-speed)); } .status { animation: blur5 calc(0.5s / var(--ani-speed)) calc(4.4s / var(--ani-speed)) forwards , fadeInScale calc(0.5s / var(--ani-speed)) calc(4.4s / var(--ani-speed)) forwards; opacity: 0; } .status-label { opacity: 0; animation: upin0 calc(0.5s / var(--ani-speed)) calc(4.2s / var(--ani-speed)) forwards; } /{$cocs} */ /*实体生物学分类系统*/ /* {$ebcs}/ .ebcs{ transform: skew(10deg, 10deg); opacity: 0; animation: paper-in calc(0.8s / var(--ani-speed)) calc(0s / var(--ani-speed)) forwards; } .ebcs-title h2{ transform:translateX(-1rem); opacity:0; animation: rightin0 calc(0.5s / var(--ani-speed)) calc(0.85s / var(--ani-speed)) forwards; } .ebcs-number p span{ opacity: 0; animation: leftin0 calc(0.5s / var(--ani-speed)) calc(0.87s / var(--ani-speed)) forwards; } .ebcs-number p strong{ letter-spacing: 10px; opacity: 0; animation: letter-spacing-opacity calc(0.5s / var(--ani-speed)) calc(0.9s / var(--ani-speed)) forwards; } .ebcs-iets{ animation: ebcs-iets calc(1.5s / var(--ani-speed)) calc(1s / var(--ani-speed)) forwards; box-shadow: inset var(--box-shadow, 0 0.05rem 0.15rem rgba(0, 0, 0, 0)); background-color: rgb(var(--blockquote-bg-color, 0, 10, 8, 0)); opacity: 0; } .ebcs-iets strong{ animation: blur5 calc(1.5s / var(--ani-speed)) calc(1s / var(--ani-speed)) forwards , opacity-1 calc(1.5s / var(--ani-speed)) calc(2s / var(--ani-speed)) forwards; opacity: 0; } .ebcs-meta span:nth-child(1){ opacity: 0; animation: rightin0 calc(0.5s / var(--ani-speed)) calc(2s / var(--ani-speed)) forwards; } .ebcs-meta span:nth-child(3){ opacity: 0; animation: rightin0 calc(0.5s / var(--ani-speed)) calc(2.25s / var(--ani-speed)) forwards; } .ebcs-meta span:nth-child(5){ opacity: 0; animation: rightin0 calc(0.5s / var(--ani-speed)) calc(2.5s / var(--ani-speed)) forwards; } .ebcs-des{ animation: fadeIn-sd calc(1s / var(--ani-speed)) calc(2.5s / var(--ani-speed)) forwards; clip-path: polygon(0% 0%,0% 0%, -10% 100%,0% 100%); } .ebcs-img{ opacity: 0; animation: blur5 calc(1s / var(--ani-speed)) calc(2.5s / var(--ani-speed)) forwards , fadeInScale calc(1s / var(--ani-speed)) calc(2.5s / var(--ani-speed)) forwards; } /{$ebcs} */ /* 人物 */ /* {$poi}/ .footerbox{ animation: fadeIn-sd calc(1s / var(--ani-speed)) forwards; } .footerbox > h4{ animation: fadeInScale calc(1s / var(--ani-speed)) forwards calc(1s / var(--ani-speed)); opacity: 0; } .footerbox > h4{ animation: fadeInScale calc(0.5s / var(--ani-speed)) forwards calc(1s / var(--ani-speed)); opacity: 0; } .footerbox img{ animation: blur5 calc(1s / var(--ani-speed)) forwards calc(1.5s / var(--ani-speed)), fadeInScale calc(1s / var(--ani-speed)) forwards calc(1.5s / var(--ani-speed)); opacity: 0; } .footerflavor{ animation: upin0 calc(0.5s / var(--ani-speed)) forwards calc(1s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img,hr):nth-child(1){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(1.8s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img,hr):nth-child(2){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(2.2s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img,hr):nth-child(3){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(2.6s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img):nth-child(4){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(3s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img):nth-child(5){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(3.4s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img):nth-child(6){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(3.8s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img):nth-child(7){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(4.2s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img):nth-child(8){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(4.6s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img):nth-child(9){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(5s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img):nth-child(10){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(5.4s / var(--ani-speed)); opacity: 0; } .footerflavor > *:not(img):nth-child(n + 11){ animation:staggerUp calc(1s / var(--ani-speed)) forwards calc(5.8s / var(--ani-speed)); opacity: 0; } /{$poi} */ /* upes */ /* {$upes}/ .phenomenon-content{ animation: fadeIn-sd calc(1s / var(--ani-speed)) forwards; } .colmod-link-top .foldable-list-container a{ animation: leftin calc(1.5s / var(--ani-speed)) forwards calc(-0.5s / var(--ani-speed)); opacity: 0; } div.colmod-content-anti, div.colmod-content{ animation: fadeInScale calc(1.5s / var(--ani-speed)) backwards, blur5 calc(1.3s / var(--ani-speed)) backwards!important; } .standard-border { border-bottom: solid 0.1em rgba(51, 51, 51, 0); } .dark-border { border-bottom: solid 0.1em rgba(255,255,255,0); } .dark-border:nth-of-type(1){ animation: dark-bd calc(0.5s / var(--ani-speed)) forwards calc(1.25s / var(--ani-speed)); } .standard-border:nth-of-type(1){ animation: standard-bd calc(0.5s / var(--ani-speed)) forwards calc(1.25s / var(--ani-speed)); } .phenomenon-content div[class*=level] > *{ opacity: 0; animation: letter-spacing-opacity calc(0.5s / var(--ani-speed)) forwards calc(1.5s / var(--ani-speed)); } .dark-border:nth-of-type(2){ animation: dark-bd calc(0.5s / var(--ani-speed)) forwards calc(1.75s / var(--ani-speed)); } .standard-border:nth-of-type(2){ animation: standard-bd calc(0.5s / var(--ani-speed)) forwards calc(1.75s / var(--ani-speed)); } /{$upes} */
:root { --lh-red: #c0392b; --lh-blue: #2980b9; --lh-green: #27ae60; --lh-dark-green: #16a085; --lh-purple: #8e44ad; --lh-orange: #e67e22; --lh-yellow: #f1c40f; --lh-paper-bg: 255, 251, 240; --lh-string-color: 192, 57, 43; --lh-book-color: var(--gray-monochrome); --lh-tape-color: 90,90,90,0.3; --lh-white-bg: 249,249,249; --lh-dark-bg: 50, 50, 50; --lh-highlighter: var(--bright-accent); --lh-border-color: var(--gray-monochrome); --lh-wiki-note-color: var(--bright-accent) } /** * 旧代码合集 * 为了向下兼容而保留 */ .grid-container{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.grid-container,.grid-container [class*=grid]{box-sizing:border-box}[class*=grid]{padding:5px}.grid{width:100%}.grid-large{width:75%}.grid-big{width:50%}.grid-medium{width:33.33%}.grid-small{width:25%}@media screen and (min-width:768px){.wd-grid-large{width:75%}.wd-grid,.wd-grid-big{width:50%}.wd-grid-medium{width:33.33%}.wd-grid-small{width:25%}}.text-hover-hide{opacity:0;transition:opacity .3s}.text-hover-hide:hover{opacity:1}.text-block-hide{background:rgb(var(--black-monochrome));color:rgb(var(--black-monochrome));transition:background .3s}.text-block-hide:hover{background:0 0}.text-blur-hide,.text-blur-hover-hide{filter:blur(.3rem);-webkit-filter:blur(.3rem) transition: blur .3s}.text-blur-hover-hide:hover{filter:blur(0);-webkit-filter:blur(0)}.lyric-box{text-align:center;font-size:1.05rem;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center}.lyric-box p{margin:1.5em auto}.lyric-box.with-bigger-line p{margin:3em auto} /** * 便签纸 * notepaper */ .notepaper { background: linear-gradient(rgb(var(--lh-paper-bg)) 95%, #ddd 0); line-height: 2em; background-size: 100% 2em; background-attachment: local; border: 2em solid rgb(var(--lh-paper-bg)); box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.2); padding: 0; margin: 1em auto; box-sizing: border-box; position: relative } .notepaper p { margin: 0; font-size: 1.05rem; letter-spacing: 0.1rem; line-height: inherit } .notepaper.narrow, .notepaper.wide { width: 90% } @media screen and (min-width:768px){ .notepaper.narrow { width: 50% } .notepaper.wide { width: 75% } } .notepaper.tight { border-width: 1rem; border-left-width: 1.2rem; border-right-width: 1.2rem; line-height: 1.8em; background-size: 100% 1.8em; font-size: 13px } .notepaper.with-string::before { content: ''; width: 0.5em; height: 6rem; background: rgb(var(--lh-string-color)); top: -2rem; right: -1rem; display: block; position: absolute; box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.2); clip-path: polygon(-100% -100%,100% 0%,100% 100%,50% 98%,0% 100%); } .notepaper.with-tape::before { content: ''; border: 1px solid #ddd; background: rgba(var(--lh-tape-color)); width: 1.5em; height: 4em; transform: rotate(45deg); display: block; position: absolute; top: -3em; left: -1.8em } .notepaper.tight.with-string::before { top: -1rem; right: -0.25rem; } .notepaper.tight.with-tape::before { top: -2.5em; left: -1.3em } .notepaper.page { min-height: 36em; counter-increment: page; display: flex; flex-direction: column; justify-content: space-between } @media screen and (min-width:768px){ .notepaper.page { width: 70% } } .notepaper.page:after { content: counter(page); display: block; text-align: center } .notepaper-group { counter-reset: page; } .book-pattern { display: flex; flex-wrap: wrap; flex-direction: row } .book-pattern .notepaper.page:not(.notepaper > .notepaper) { width: 100% } @media screen and (min-width: 768px) { .book-pattern .notepaper.page:not(.notepaper > .notepaper) { width: 50% } } .book-wrapper { background: rgb(var(--lh-book-color)); padding: 0.5rem; box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.2); border-radius: 5px; margin: 1rem auto } @media screen and (min-width: 768px) { .book-wrapper .notepaper { margin: 0 } } /** * 文字修饰 */ .text-highlighted { position: relative } .text-highlighted::before { content: ""; position: absolute; height: 0.9em; bottom: 2px; left: -2px; width: 105%; z-index: -1; background-color: rgb(var(--lh-highlighter)); opacity: .6; transform: skew(-15deg); transition: opacity .2s ease; border-radius: 3px 8px 10px 6px; transition: 0.1s ease background-color; } .text-underlined { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: rgb(var(--lh-highlighter)) } .text-wavy { text-decoration: underline wavy; text-underline-offset: 4px; text-decoration-color: rgb(var(--lh-highlighter)) } .text-circled, .text-squared { display: inline-block; border: 2px solid rgb(var(--lh-highlighter)); border-radius: 100%; box-sizing: border-box } .text-squared { border-radius: 0 } .text-shadow { text-shadow: 0.075em 0.075em 0 rgb(var(--lh-highlighter)) } .text-highlighted.td-red::before { background: var(--lh-red) } .text-circled.td-red, .text-squared.td-red { border-color: var(--lh-red) } .text-underlined.td-red, .text-wavy.td-red { text-decoration-color: var(--lh-red) } .text-highlighted.td-blue::before { background: var(--lh-blue) } .text-circled.td-blue, .text-squared.td-blue { border-color: var(--lh-blue) } .text-underlined.td-blue, .text-wavy.td-blue { text-decoration-color: var(--lh-blue) } .text-highlighted.td-green::before { background: var(--lh-green) } .text-circled.td-green, .text-squared.td-green { border-color: var(--lh-green) } .text-underlined.td-green, .text-wavy.td-green { text-decoration-color: var(--lh-green) } .text-highlighted.td-darkgreen::before { background: var(--lh-dark-green) } .text-circled.td-darkgreen, .text-squared.td-darkgreen { border-color: var(--lh-dark-green) } .text-underlined.td-darkgreen, .text-wavy.td-darkgreen { text-decoration-color: var(--lh-dark-green) } .text-highlighted.td-purple::before { background: var(--lh-purple) } .text-circled.td-purple, .text-squared.td-purple { border-color: var(--lh-purple) } .text-underlined.td-purple, .text-wavy.td-purple { text-decoration-color: var(--lh-purple) } .text-highlighted.td-yellow::before { background: var(--lh-yellow) } .text-circled.td-yellow, .text-squared.td-yellow { border-color: var(--lh-yellow) } .text-underlined.td-yellow, .text-wavy.td-yellow { text-decoration-color: var(--lh-yellow) } .text-highlighted.td-orange::before { background: var(--lh-orange) } .text-circled.td-orange, .text-squared.td-orange { border-color: var(--lh-orange) } .text-underlined.td-orange, .text-wavy.td-orange { text-decoration-color: var(--lh-orange) } /* 隐藏文字 */ .text-blank { color: rgba(0,0,0,0) } .text-block { background: rgb(var(--black-monochrome)); color: rgb(var(--black-monochrome)); } .text-blur { filter: blur(0.3em); -webkit-filter: blur(0.3em) } .text-hoverback, .text-selectback { transition-duration: 0.3s; transition-property: background, transform, color } .text-blank.text-hoverback:hover, .text-blank.text-selectback::selection, .text-blank.text-selectback *::selection { color: rgb(var(--black-monochrome)) } .text-block.text-hoverback:hover { background: transparent!important } .text-block.text-selectback::selection, .text-block.text-selectback *::selection { color: rgb(var(--white-monochrome, 255, 255, 255)) } .text-blur.text-hoverback:hover { filter: blur(0)!important; -webkit-filter: blur(0)!important } /** * 附加项 */ .with-border, .with-box-style { border: 1px solid rgb(var(--bright-accent)) } .with-border-dark { border: 1px solid rgb(var(--black-monochrome)) } .with-border-light { border: 1px solid rgb(var(--white-monochrome)) } .with-border-thick { border-width: 2px } .with-shadow-sm { box-shadow: 0 0 0.1em rgba(0,0,0,0.2) } .with-shadow { box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.2) } .with-shadow-lg { box-shadow: 0 0.15em 0.3em rgba(0,0,0,0.2) } .with-shadow-xl { box-shadow: 0 0.2em 0.5em rgba(0,0,0,0.2) } .with-shadow-xxl { box-shadow: 0 0.25em 0.8em rgba(0,0,0,0.2) } .with-padding, .with-box-style { padding: 0.25em 1em } .with-p-sm { padding: 0.125em 0.5em } .with-p-lg { padding: 0.5em 2em } .with-margin, .with-box-style { margin: 1em auto } .with-m-sm { margin: 0.5em auto } .with-m-lg { margin: 2em auto } .with-narrow-width { width: 90%!important; margin-left: auto; margin-right: auto } @media screen and (min-width: 768px) { .with-narrow-width { width: 75%!important } } [class*="with-bg-"], [class*="with-bg-"] h1 { color: #fff!important } .with-bg-red { background: var(--lh-red)!important } .with-bg-blue { background: var(--lh-blue)!important } .with-bg-green { background: var(--lh-green)!important } .with-bg-darkgreen { background: var(--lh-dark-green)!important } .with-bg-yellow { background: var(--lh-yellow)!important } .with-bg-orange { background: var(--lh-orange)!important } .with-bg-purple { background: var(--lh-purple)!important } /** * 删除类 */ .offwith-shadow { box-shadow: none!important } .offwith-border { border: none!important } .offwith-padding, .offwith-pam { padding: 0!important } .offwith-margin, .offwith-pam { margin: 0!important } .offwith-width-limit { width: auto!important; margin-left: auto!important; margin-right: auto!important } div[class*="grider"].offwith-grid-gap { grid-gap: 0!important } /** * 网格布局 */ /* Gridder 容器 */ div[class*="gridder"] { display: grid; box-sizing: border-box; grid-gap: 1rem; padding: 0 } div[class*="gridder"] * { box-sizing: border-box } .gridder, .gridder-col-2 { grid-template-columns: 1fr 1fr; } .gridder-col-3 { grid-template-columns: repeat(3, 1fr); } .gridder-col-4 { grid-template-columns: repeat(4, 1fr); } @media screen and (min-width: 768px) { .pc-gridder, .pc-gridder-col-2 { grid-template-columns: 1fr 1fr; } .pc-gridder-col-3 { grid-template-columns: repeat(3, 1fr); } .pc-gridder-col-4 { grid-template-columns: repeat(4, 1fr); } } .spanner, .spanner-2 { grid-column-start: span 2; } .spanner-3 { grid-column-start: span 3; } /** * 告示组件 */ .signblock, .signblock-dark, .signblock-warn { margin: 1rem auto; box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.4); background: rgb(var(--lh-white-bg)); font-size: 1.05rem; padding: 2rem } @media screen and (min-width: 768px) { .signblock, .signblock-dark, .signblock-warn { width: 75% } } .signblock-dark, .signblock-dark h1 { background: rgb(var(--lh-dark-bg)); color: #fff } .signblock-warn, .signblock-warn h1 { background: var(--lh-red); color: #fff } .signblock h1, .signblock-dark h1, .signblock-warn h1 { text-align: center; font-size: 2rem; margin: 0; font-weight: 700 } .signblock-img { display: flex; flex-direction: row; justify-content: center } .signblock-img img { width: 8em } .signblock-footer { font-size: 0.9em; text-align: center; margin: 0.5rem 0; font-weight: bolder; display: block } /** * 报告 */ .reportblock, .reportblock-dark { border: 2px solid rgb(var(--lh-border-color)); box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.3); background: rgb(var(--white-monochrome)); padding: 0.8rem 1.5rem; padding-bottom: 0.4rem; margin: 1.5rem auto; margin-bottom: 1rem; position: relative } .reportblock hr, .reportblock-dark hr { background-color: rgb(var(--lh-border-color)); margin-left: -1.5rem; margin-right: -1.5rem } .reportblock h1:first-child, .reportblock-dark h1:first-child { position: absolute; top: -1rem; left: 1.5rem; font-size: 110%; font-weight: 600; background: rgb(var(--lh-border-color)); color: #fff; padding: 0.2rem 0.5rem; margin: 0; } .reportblock-dark, .reportblock-dark h1 { border-color: rgb(var(--lh-white-bg)); background: rgb(var(--lh-dark-bg)); color: #fff } .reportblock-dark hr { background-color: rgb(var(--lh-white-bg)); } /* 更好的折叠框 */ .bettercollap { margin: 1em 0; } .bettercollap .collapsible-block { width: auto; overflow: hidden; border: 1px solid rgb(var(--lh-border-color)) } .bettercollap .collapsible-block-content, .bettercollap .collapsible-block-link { background: rgb(var(--white-monochrome)); padding: 0.5em } .bettercollap .collapsible-block-content { padding-left: 1em; padding-right: 1em } .bettercollap .collapsible-block-link { color: rgb(var(--lh-border-color)); background: rgb(var(--white-monochrome)); transition: .3s; display: block; } .bettercollap .collapsible-block-link:hover, .bettercollap .collapsible-block-unfolded .collapsible-block-link, .styledcollap.bettercollap .collapsible-block-link { color: rgb(var(--white-monochrome)); background: rgb(var(--lh-border-color))!important; text-decoration: none } .bettercollap .collapsible-block-link:hover a { color: rgb(var(--white-monochrome)) } .bettercollap .collapsible-block-link::before { content: "\25BC"; display: inline-block; margin-right: 0.5em; transform: rotate(-90deg) scale(0.9) } .bettercollap .collapsible-block-unfolded .collapsible-block-link::before { transform: rotate(0) scale(0.9) } .bettercollap .collapsible-block + .collapsible-block { border-top: none } .styledcollap.bettercollap .collapsible-block { border-radius: 2px; box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.3) } .styledcollap.bettercollap .collapsible-block-content { background-color: rgb(var(--pale-gray-monochrome)); border-width: 3px } .styledcollap.bettercollap .collapsible-block-link:hover { background: rgba(var(--lh-border-color),0.95)!important; } /** * 提示框 */ .infoblock { color: #f1f1f1; font-weight: bold; background: #424242; padding: 5px 5px 5px 5px; border-radius: 4px; margin: -0.5rem 0 1rem 0; display: block; width: fit-content; padding-right: 25px; } .infoblock::before { content: "ⓘ " } /** * 单页迭代 */ .offset-page:not(:target), .offset-page:target ~ div#u-default-page { display: none } .offset-page:target { display: block }
…
…
黑暗的栈道上。
有着少量破损的木质地面上规律地响起你的脚步声。
两侧几乎凝聚为实质的黑色雾气翻涌着,似乎有什么东西即将被孕育出来。
你内心感到本能的不安。
心跳声越来越频繁。
你加快了脚下的步伐,一种无来由的危机感令你毛骨悚然。
忽的,两侧的浓雾如若沸水一般疯狂翻滚,随后向中间挤压而来。
你慌忙逃窜,但还是被淹没于黑雾之中。
昏黄的路灯,坚硬的水泥地面……
这是哪?
生存难度:生存難度:
等级等級 unknown
- {$one}
- {$two}
- {$three}
如何使用:
[[include :backrooms-wiki-cn:component:level-class
|class=等级
]]
class 处的可用参数包括以下内容,支持简繁体及英文输入。
| English | 简体中文 | 繁體中文 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 2 | 3 | 4 | 5 | 0 | 1 | 2 | 3 | 4 | 5 | 0 | 1 | 2 | 3 | 4 | 5 |
| unknown | 未知 | 未知 | |||||||||||||||
| habitable | 宜居 | 宜居 | |||||||||||||||
| deadzone | 死区 | 死區 | |||||||||||||||
| pending | 等待分级 | 等待分級 | |||||||||||||||
| n/a | 不适用 | 不適用 | |||||||||||||||
| amended | 修正 | 修正 | |||||||||||||||
| omega | 终结 | 終結 | |||||||||||||||
该组件支持简繁切换,如下方代码所示:
[[include :backrooms-wiki-cn:component:level-class
|lang=cn/tr
|class=等级
]]
在 lang 处选择语言,cn 表示简体中文,tr 表示繁体中文,不填默认选择简体中文。
自定义等级
[[include :backrooms-wiki-cn:component:level-class
|lang=cn/tr
|class=等级名字
|color=#000000(带有井号的十六进制色号代码。)
|image=链接(至图片的链接。)
|one=在这
|two=随便
|three=放文字
]]
使用 CSS 进行自定义:
你可以使用 CSS 进行额外的自定义,将代码放入到 [[module css]] 中或者是放入到页面的版式内都可以。在这一组件中,不要把 [[module css]] 放在 [[include]] 里面,把它放在那个的下面或者是页面的顶部或底部。
将这些代码放入到你的页面/版式中以编辑所有的颜色,因为组件的 |color= 部分仅能控制背景:
[[module css]]
.sd-container {
/* 字体 */
--sd-font: Poppins, Noto Sans SC, Noto Serif SC;
/* 边框 */
--sd-border: var(--gray-monochrome); /* 大多数等级 */
--sd-border-secondary: 0, 0, 0; /* 不适用 */
--sd-border-deadzone: 20, 0, 0; /* 死区 */
/* 标志 */
--sd-symbol: var(--sd-border) !important; /* 大多数标志 */
--sd-symbol-secondary: 255, 255, 255; /* 4 级以上的是白色 */
/* 文本 */
--sd-bullets: var(--sd-border) !important; /* 点句符文本颜色 */
--sd-text: var(--swatch-text-secondary-color); /* 顶部框文本颜色 */
/* 等级颜色 */
--class-0: 247, 227, 117;
--class-1: 247, 227, 117;
--class-1: 255, 201, 14;
--class-2: 245, 156, 0;
--class-3: 249, 90, 0;
--class-4: 254, 23, 1;
--class-5: 175, 6, 6;
--class-unknown: 38, 38, 38;
--class-habitable: 26, 128, 111;
--class-deadzone: 44, 13, 12;
--class-pending: 182, 182, 182;
--class-n-a: 38, 38, 38;
--class-amended: 185, 135, 212;
--class-omega: 25, 46, 255;
}
[[/module]]
旧版颜色:
如果你不喜欢新版的样式,想要用回旧版的红色边框色,只需要在你的页面中与组件一同引入下方的代码:
[[module css]]
.sd-container {
--sd-border: 90, 29, 27;
--sd-image: 90, 29, 27;
--sd-symbol: 90, 29, 27;
}
[[/module]]
“荒芜长路”是云室的一个隐秘层级。
描述
“荒芜长路”在外观上呈现为一条由沥青铺成的公路,通常笔直向前延伸,不会出现拐弯、断开的情况。在路的两侧均匀分布着散发着黯淡白色灯光的路灯,少量路灯会出现频闪甚至完全不发光的情况。目前暂未发现支持该层级路灯发出亮光的电源。
该层级的时间始终稳定在黑夜,任何能够显示时间的仪器——如钟表、电子表等,其上的时间都将固定在23:45分。流浪者能够在该层级观测到一类似于前厅或某些开阔层级中的“月亮”的天体高悬于空中,其“月相”始终保持在满月。
一张“荒芜长路”的照片。
同时,该层级特殊的永夜效应似乎能够影响到流浪者的切出。当流浪者切出该层级时被传送到一存在昼夜变化的层级,则该层级的时间必定为午夜——这似乎是一种能够弯曲“时间”概念的现象。
该层级的气温恒定在24℃,唯一的光源来自路边的路灯。该层级存在稳定的信号源,且能够与外界进行正常沟通。
该层级的一切事物都无法以常规手段破坏,但路灯可以进行拆卸,流浪者可能会在其中发现大量杂乱的电线、生锈的零件、灰尘,少量实用性较大的物品如杏仁水、幸运豆奶、团成一团的老旧睡袋、装有半瓶维生素的塑料瓶甚至是一只崭新的鞋子可能会隐藏在这些电线、灰尘之后。这也是该层级中唯一获取资源的方式。
道路的两侧是两片相似的、广袤的、荒芜的平原,可能会出现少量隆起的小山丘。平原由一类有机物含量与水分较高的土壤组成,但目前未在平原上发现任何植株。目前对该地区的探索仍在进行中,若有相关信息请及时上交M.E.G。
在流浪者持续向该层级深处探索时,一种会使流浪者感到焦虑、恐惧现象将会出现,并随着探索的程度逐渐加深。该现象在关于该层级的多篇报告中均有被提及,具体表现如下:
- 使流浪者感到道路周围的平原上“有目光在注视着自己”;
- 使流浪者感到烦躁、焦虑,焦虑对象通常是一个难以描述的、令人感到恐惧的、从未出现在流浪者记忆当中的未知事物;
- 流浪者将感到一些未知的东西正站在自己身后凝视着自己。但在少许流浪者回头观察时却没有发现任何事物。
- 使流浪者缺乏勇气回头观察情况,这将使上一条的情况愈发严重。
目前关于该层级的所有报告皆称其未在该层级中发现其它流浪者,暂且推测该层级中存在与Level 0类似的孤立效应。
该层级的路面上可能会出现残破的纸片,但其上的文字通常会被替换为意义相近的字词,且其中少量文字会被打乱顺序——这通常会导致其中的内容难以理解。流浪者若拾取到这些纸片可以在离开层级后将其上交给M.E.G,这可能帮助这篇文档上出现更多有关“荒芜长路”的信息。
由于该层级缺乏资源且具有少量精神危害。不建议流浪者在此过多驻留。
基地、前哨与社区
该层级不存在任何基地、前哨与社区。
入口与出口
入口
- 在Level Cloud-904中可能会遭遇“黑雾突然开始翻涌,随后向中间挤压”的情况,流浪者在完全没入黑雾中后将来到该层级。
- 在任何层级中走上一条路都有小概率来到该层级。
出口
- 向切入该层级时背对的方向行走一段时间将会昏迷,随后流浪者将会在任一实体绝迹、不存在已知环境危害与精神危害的层级的某条道路上醒来。
仅此为止;
作者:DX_com4
芝士我的第四篇层级文了……
第一次尝试叙事,目前打算发展出一个小系列,所以可能会有很多坑没填,还有很多谜语部分,请见谅……
图一:https://www.pexels.com/zh-cn/photo/3289156/
荒芜长路 | 混沌迷雾 »


© The Cloudrooms云室维基 (2022-2026) - 本站不遵循CC协议。