沉浸式终端 组件后端
沉浸式终端 组件 » 沉浸式终端 组件后端
/* Oxanium Font */ @import url('https://fonts.googleapis.com/css2?family=Oxanium&display=swap'); /* Screen Base Texture */ .screen-base { font-family: Oxanium; font-size: 120%; background-color: black; color: rgb(var(--tint)); text-shadow: 0 0 3px rgb(var(--tint)); background-image: repeating-linear-gradient(to bottom, rgba(var(--tint), 0.1) 0px, rgba(var(--tint), 0.1) 1px, rgb(0, 0, 0) 2px, rgb(0, 0, 0) 8px, rgba(var(--tint), 0.1) 9px, rgba(var(--tint), 0.1) 10px), repeating-linear-gradient(to right, rgba(var(--tint), 0.1) 0px, rgba(var(--tint), 0.1) 1px, rgb(0,0, 0) 2px, rgb(0, 0, 0) 8px, rgba(var(--tint), 0.1) 9px, rgba(var(--tint), 0.1) 10px); position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200; } /* Screen */ .screen { position: fixed; top: 20px; left: 20px; right: 20px; bottom: 35px; background-color: rgba(var(--tint), 0.1); border: 3px solid rgb(var(--tint)); border-radius: calc(15px + 2vw); box-shadow: 0 0 20px rgb(var(--tint)), 0 0 10px rgb(var(--tint)) inset; padding: calc(15px + 2vw); overflow: scroll; scroll: auto; } /* Scan Line */ .scanline { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(to right, transparent 0%, rgba(var(--tint), 0.2) 3%, rgba(var(--tint), 0.2) 4%, transparent 7%); background-repeat: repeat-x; overflow: hidden; pointer-events: none; -webkit-animation: lumos 5s linear infinite; -moz-animation: lumos 5s linear infinite; -o-animation: lumos 5s linear infinite; animation: lumos 5s linear infinite; } /* Selection */ .screen-base::selection { background-color: rgba(var(--tint), 0.5); } /* Scroll Bar */ .screen::-webkit-scrollbar { width: 5px !important; } .screen::-webkit-scrollbar-thumb { background: rgb(var(--tint)) !important; box-shadow: 0 0 5px rgb(var(--tint)) !important; } .screen::-webkit-scrollbar-track { background: rgba(var(--tint), 0.1) !important; box-shadow: 0 0 5px rgb(var(--tint)) !important; } /* Blockquotes */ .screen blockquote, .screen .blockquote { background-color: rgba(var(--tint), 0.1); border: 2px solid rgb(var(--tint)); box-shadow: 0 0 10px rgb(var(--tint)), 0 0 5px rgb(var(--tint)) inset; } .screen blockquote p, .screen .blockquote p { background: none; } /* Horizontal Rules */ .screen hr { height: 2px; background-color: rgb(var(--tint)); filter: drop-shadow(0 0 5px rgb(var(--tint))); } /* Headings */ .screen-base :is(p, h1, h2, h3, h4, h5, h6) { color: rgb(var(--tint)); } .screen :is( .yui-content, .hovertip, .scp-image-block .scp-image-caption, table.wiki-content-table th) { border: 2px solid rgb(var(--tint)); background-color: rgba(0, 0, 0, .5); } .screen table.wiki-content-table td { border: 2px solid rgb(var(--tint)); } /* Tabview */ .screen :is( .yui-navset .yui-nav a, .yui-navset .yui-navset-top .yui-nav a) { border: 2px solid rgb(var(--tint)); background-image: none; background-color: rgba(0, 0, 0, .5); color: rgb(var(--tint)); } .screen :is( .yui-navset .yui-nav .selected a, .yui-navset .yui-nav .selected a:focus, .yui-navset .yui-nav .selected a:hover) { border: 2px solid rgb(var(--tint)); background-image: none; background-color: rgb(var(--tint)); color: black; } /* Rating Module */ .screen :is( .page-rate-widget-box .rate-points, .page-rate-widget-box .cancel, .page-rate-widget-box .rateup, .page-rate-widget-box .ratedown) { background-color: rgba(0, 0, 0, .5) !important; border: solid 2px rgb(var(--tint)); border-radius: 2px; } .screen :is( .page-rate-widget-box a, .page-rate-widget-box .rateup a, .page-rate-widget-box .ratedown a, .page-rate-widget-box .cancel a) { background: transparent; color: white; } .screen .rate-box-with-credit-button { background-color: transparent; border: none; border-radius: 0; box-shadow: none; } .screen .creditButton p a { border: solid 2px rgb(var(--tint)); } .screen a { color: rgb(var(--tint)); } .screen a:visited { color: rgba(var(--tint), .5); } .screen a.newpage{ color: orange; } /* Scan Line Animation */ @keyframes lumos { 0% { -webkit-transform: translateX(-7vw); -ms-transform: translateX(-7vw); -moz-transform: translateX(-7vw); -o-transform: translateX(-7vw); transform: translateX(-7vw); } 100% { -webkit-transform: translateX(100vw); -ms-transform: translateX(100vw); -moz-transform: translateX(100vw); -o-transform: translateX(100vw); transform: translateX(100vw); } } /* Collapsible Exit Button */ .coltype { --button: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3E%3Cpath d='M50,90c-22.1,0-40-17.9-40-40c0-14.3,7.7-27.6,20-34.6c2.4-1.4,5.5-0.5,6.8,1.9c1.4,2.4,0.5,5.5-1.9,6.8 c-9.2,5.3-15,15.2-15,26c0,16.5,13.5,30,30,30s30-13.5,30-30c0-10.7-5.7-20.7-15-26c-2.4-1.4-3.2-4.4-1.9-6.8 c1.4-2.4,4.4-3.2,6.8-1.9C82.3,22.4,90,35.7,90,50C90,72.1,72.1,90,50,90z'/%3E%3Cpath d='M50,55.5c-2.8,0-5-2.2-5-5v-45c0-2.8,2.2-5,5-5c2.8,0,5,2.2,5,5v45C55,53.3,52.8,55.5,50,55.5z'/%3E%3C/svg%3E"); } .coltype .colmod-link-top a:last-of-type { position: fixed; left: 10px; bottom: 10px; z-index: 201; color: rgb(var(--tint)); font-family: Oxanium; font-weight: bold; font-size: 90%; } .coltype .colmod-link-top a:last-of-type::before { display: inline-block; width: 1rem; height: 1rem; content: ""; background-color: rgb(var(--tint)); -webkit-mask-image: var(--button); -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; mask-image: var(--button); mask-size: cover; mask-position: center; mask-repeat: no-repeat; filter: drop-shadow(0 0 3px rgb(var(--tint))); margin-right: 3px; margin-bottom: -3px; }






