diff --git a/.gitignore b/.gitignore index a07761a3..e85fd74f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/key/ +# /key/ include* \ No newline at end of file diff --git a/key/style copy.css b/key/style copy.css new file mode 100644 index 00000000..4825f83d --- /dev/null +++ b/key/style copy.css @@ -0,0 +1,771 @@ +/* designed by jerry */ + +:root { + color-scheme: light dark; + background: white; + color: black; +} + +/* all styles */ +/* header style */ + +body { + margin: 0; +} + +#buttercup { + position: fixed; + top: 0; + left: 0; + right: 0; + display: flex; + justify-content: center; + align-items: center; + z-index: 30; +} + +#butter { + width: 100vw; + height: 0; + background-color: #eeeeeec8; + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); + -moz-backdrop-filter: blur(12px); + position: absolute; + top: 0; + left: 0; + z-index: 0; + transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1); + overflow-x: hidden; + overflow-y: scroll; +} + +#butter.active { + height: 100vh; +} + +#butter a { + color: unset; + text-decoration: none; +} + +#butter a:hover { + text-decoration: underline; +} + +#cup { + position: absolute; + top: 0; + left: 0; + right: 0; + display: flex; + justify-content: center; + align-items: center; + transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1); +} + +#cup.active { + top: 90vh; +} + +#btcs { + position: relative; +} + +.btc-o { + height: 50px; + background-color: #eee; + border-radius: 0 0 10px 10px; +} + +#btc-circles { + display: flex; + justify-content: center; + align-items: center; +} + +#btc-o-1 { + width: 217px; +} + +.btc-o::before, +.btc-o::after, +.btc-o .btc-circles::before, +.btc-o .btc-circles::after { + content: ""; + position: absolute; + top: 0; +} + +.btc-o::before, +.btc-o::after { + background-image: url(../img/corner_a.svg); + background-size: contain; + width: 10px; + height: 10px; + left: -10px; + z-index: 1; +} + +.btc-o::after { + background-image: url(../img/corner_b.svg); + background-size: contain; + left: unset; + right: -10px; +} + +#cup.active .btc-o::before, +#cup.active .btc-o::after { + background-image: none; +} + +#cup.active .btc-o { + background-color: #eee; + border-radius: 10px; +} + +.btc { + width: 40px; + height: 40px; + position: absolute; + bottom: 5px; + left: 5px; + display: flex; + justify-content: center; + align-items: center; + border-radius: 5px; + color: black; + animation: app-elements-fade-in 2s cubic-bezier(0.75, 0, 0, 1.05) 0s 1; +} + +#btc-1 { + width: 72px; + background-image: url(../img/home-button-light.svg); + background-size: cover; +} + +#btc-2 { + margin-left: 77px; +} + +#btc-3 { + margin-left: 122px; +} + +#btc-4 { + margin-left: 167px; +} + +.btc:hover { + background-color: hsl(0, 0%, 83%); +} + +#doors-wall.active { + height: 100vh; +} + +#doors-wall-head { + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 35px; + font-weight: bold; + margin-left: 30px; + margin-top: 30px; +} + +#doors-wall-grid { + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + margin-left: 30px; + margin-right: 30px; + margin-top: 15px; + display: grid; + grid-template-columns: 1fr 2fr 3fr; + column-gap: 15px; +} + +.d-wall-sec>ul { + list-style: none; + margin-left: 0; + padding-left: 0; +} + +.d-wall-sec>ul>a>li { + margin-bottom: 5px; + font-size: 18px; +} + +.d-wall-sec-text { + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 22px; +} + +#d-wall-sec-3>ul { + display: grid; + grid-template-columns: 2fr 2fr; +} + +#d-wall-mark { + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 12px; + display: flex; + justify-content: center; + align-items: center; + white-space: nowrap; + padding-bottom: 20px; + color: rgba(0, 0, 0, 0.5); +} + +#d-wall-mark-small { + font-size: 8px; +} + +/* loader style */ + +.loader-wrapper { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background-color: #e9e9e9af; + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); + -moz-backdrop-filter: blur(12px); + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + color: black; + font-size: 100px; + text-align: center; + z-index: 15; +} + +#loader-prompt { + font-size: 25px; + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; +} + +/* section style */ + +#content-unit { + margin-left: 240px; + transition: all 0.2s; +} + +#content-unit.active { + margin-left: 0px; +} + +#header-unit { + position: fixed; + top: 0; + left: 0; + bottom: 0; + width: 240px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + overflow: hidden; + background-color: #fff; + transition: all 0.2s; +} + +#header-unit.active { + width: 0; +} + +#header-unit>div>a, +#header-unit>div>span>a { + color: #000000; +} + +#header-collapse { + position: fixed; + bottom: 20px; + left: 25px; + z-index: 2; + width: fit-content; + height: 30px; + border-radius: 10px; + border: solid 1px #dddddd; + background-color: #fff; + font-family: 'Source Han Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-weight: normal; + font-size: 14px; + overflow: hidden; +} + +#header-collapse-button { + height: 25px; + margin: 2.5px; + transition: all 0.2s; + line-height: 25px; + padding-left: 5px; + padding-right: 5px; + border-radius: 7.5px; +} + +#header-collapse-button:hover { + background-color: #cacaca7a; +} + +#header-collapse-button:active { + scale: 95%; + box-shadow: none; +} + +.header { + width: 210px; + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 18px; + line-height: 30px; + padding-left: 0px; + margin-left: 30px; + border-right: solid 1px #cbcbcb; +} + +#quick-links { + width: 210px; + margin-left: 30px; + line-height: 25px; + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + padding-top: 10px; + border-right: solid 1px #cbcbcb; + white-space: wrap; +} + +#quick-links>b { + padding: 10px; + color: rgba(0, 0, 0, 0.5); +} + +.quick-link { + padding: 10px; + padding-top: 0; + padding-bottom: 0; + width: fit-content; + display: block; +} + +#quick-link-1 { + margin-top: 10px; +} + +#dev-cal-1 { + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 60px; + font-weight: bold; + margin-left: 30px; + margin-right: 30px; + margin-top: 120px; +} + +#dev-cal-1>a { + color: #000; +} + +#dev-cal-2 { + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 15px; + z-index: -1; + margin-left: 30px; + margin-right: 30px; +} + +#update { + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-weight: 20px; + color: rgba(0, 0, 0, 0.401); + margin-left: 30px; + margin-right: 30px; +} + +/* element style */ + +#copyright-info { + font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 15px; + text-align: right; + background-color: #dedede8b; + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); + -moz-backdrop-filter: blur(12px); + position: relative; + overflow: hidden; + padding: 10px; +} + +.copyright-info { + margin: 10px; +} + +.pages-container { + width: auto; + margin-top: 30px; + margin-right: 30px; + border: solid 1px #dddddd; + margin-left: 30px; + padding: 30px; + overflow-x: scroll; + overflow-y: hidden; + border-radius: 10px; +} + +#glass { + width: 300px; + position: fixed; + right: 0; + top: 0; + bottom: 0; + z-index: 0; + background-color: #ffffff; + border-left: solid 1px #dddddd; + overflow: hidden; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + font-family: 'Source Han Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; +} + +#outside-glass { + width: auto; + margin-right: 300px; +} + +#exhibit-info { + padding: 20px; + text-align: center; +} + +#en-warn { + margin-left: 30px; + margin-right: 30px; + border-radius: 10px; + width: fit-content; + height: fit-content; + padding: 10px; + padding-left: 15px; + padding-right: 15px; + font-size: 16px; + font-weight: bold; + font-family: 'Source Han Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + border: #dddddd solid 1px; + overflow: hidden; +} + +.subtitle { + font-weight: bold; + font-size: 25px; +} + +nav { + background-color: #f3f3f346; + padding: 1px; + padding-left: 30px; + padding-right: 30px; + font-family: 'Source Han Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; +} + +.crumbs ol { + list-style-type: none; + padding-left: 0; +} + +.crumb { + display: inline-block; +} + +.crumb>a { + color: #38383891; +} + +.crumb a::after { + display: inline-block; + color: #38383891; + content: ' / '; + font-size: 80%; + font-weight: bold; + padding: 0 3px; +} + +/* media query */ + +@media (max-width: 768px) { + #door-3 { + display: none !important; + } + + #header-unit { + right: 0; + top: 70px; + display: unset; + width: auto; + margin-left: 10px; + margin-right: 10px; + height: 69px; + border-radius: 10px; + background-color: rgba(245, 245, 245, 0.5); + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); + -moz-backdrop-filter: blur(12px); + border: solid 1px #cbcbcb; + z-index: 3; + } + + #header-collapse { + display: none; + } + + .header { + width: 100%; + height: 24px; + font-weight: bold; + font-size: 15px !important; + margin-left: 0 !important; + } + + #quick-links { + height: 20px; + padding: 10px; + width: auto; + margin-left: 0 !important; + margin-right: 0 !important; + border-right: none !important; + white-space: nowrap; + overflow-x: scroll; + overflow-y: hidden; + } + + #quick-links>b { + padding: unset; + font-size: 15px; + } + + .quick-link { + display: inline !important; + border-radius: 20px; + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: solid 1px gray; + transition: all 0.3s; + margin-right: 5px; + font-size: 15px; + } + + #quick-link-1 { + margin-left: 10px; + } + + #content-unit { + margin-left: 0 !important; + } + + #glass { + display: none !important; + } + + #outside-glass { + width: 100vw !important; + } + + @media (prefers-color-scheme: dark) { + #header-unit { + background-color: rgba(42, 42, 42, 0.5) !important; + border: solid 1px #707070; + } + } +} + +@media (max-width: 430px) { + #doors-wall-grid { + grid-template-columns: 1fr 1fr; + } + + #d-wall-sec-3>ul { + display: block; + } +} + +@keyframes app-elements-fade-in { + 0% { + color: transparent; + transform: translateX(20px); + } + + 100% { + color: #000; + transform: translateX(0px); + } +} + +@keyframes app-elements-fade-in-dark { + 0% { + color: transparent; + transform: translateX(10px); + } + + 100% { + color: #ffffff; + transform: translateX(0px); + } +} + +@media (prefers-color-scheme: dark) { + :root { + background: black; + color: white; + } + + svg { + fill: white; + } + + a { + color: hsl(225, 36%, 72%) !important; + } + + #butter, + .btc-o { + background-color: #333333; + } + + #butter { + background-color: #333333c8; + } + + .btc { + color: #fff; + animation: app-elements-fade-in-dark 2s cubic-bezier(0.75, 0, 0, 1.05) 0s 1; + } + + .btc-o::before, + .btc-o::after { + background-image: url(../img/corner_a_dark.svg); + } + + .btc-o::after { + background-image: url(../img/corner_b_dark.svg); + } + + #cup.active .btc-o { + background-color: #666; + } + + #btc-1 { + background-image: url(../img/home-button-dark.svg); + } + + .btc:hover { + background-color: hsl(0, 0%, 53%); + } + + #d-wall-mark { + color: rgba(255, 255, 255, 0.5); + } + + #copyright-info { + background-color: #3b3b3b8b; + } + + #update { + color: rgb(255, 255, 255, 0.401) !important; + } + + #header-unit, + #tool, + #header-collapse { + background-color: #000 !important; + } + + #quick-links>b { + color: rgba(255, 255, 255, 0.5) !important; + } + + .header, + #quick-links { + border-right: solid 1px #707070 !important; + } + + .loader-wrapper { + background-color: #141414af !important; + } + + #en-warn, + .pages-container, + #app-element-2, + #tool, + #header-collapse { + border-color: #575757 !important; + } + + #glass { + background-color: #000 !important; + border-left-color: #575757 !important; + } + + .crumb>a, + .crumb a::after { + color: #ffffffd4 !important; + } + + .tool-elements>a, + #dev-cal-1>a, + #header-unit>div>a, + #header-unit>div>span>a, + .loader-wrapper, + .app-element-pop-ups.active>a, + .app-element-pop-ups-3.active ul#app-site-list>a { + color: white !important; + } + + @media (max-width: 768px) { + + .header, + #quick-links { + border-right: none !important; + } + } +} + +/* special elements style */ + +::-webkit-scrollbar { + width: 5px; + height: 0px; + border-radius: 10px; + background: rgba(224, 224, 224, 0.8); +} + +::-webkit-scrollbar-track { + border-radius: 10px; + background: #f1f1f100; +} + +::-webkit-scrollbar-thumb { + border-radius: 10px; + background: #888; +} + +a { + text-decoration: none; + color: rgb(35, 45, 75); +} + +a:hover { + text-decoration: underline; +} + +@font-face { + font-family: 'Source Han Sans'; + src: url(../fonts/SourceHanSansCN-Regular-min.woff2) format('woff2'); + font-weight: normal; +} + +@font-face { + font-family: 'Source Han Sans'; + src: url(../fonts/SourceHanSansCN-Bold-min.woff2) format('woff2'); + font-weight: bold; +} \ No newline at end of file