@charset "UTF-8"; /* 标签 */ body { background-color: #999; color: #000; margin: 6em auto; text-transform: none; overflow-x: hidden; scroll-behavior: smooth; } a { color: #222; } a:hover { color: #03A9F4; } a:active { color: #00BCD4; } h2 { color: #FFF; font-size: 1.6em; text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2); } h3 { color: #03A9F4; } /* 覆盖 Slinky */ header, h1 { color: #444; } header h1::before { background-image: url('../../favicon.ico'); background-position: center; background-repeat: no-repeat; background-size: contain; } header p { color: #555; } main { /* opacity: 0; */ background-color: transparent; transition: opacity 1s; } footer { color: #FFF; font-size: 0.9em; line-height: 1.5em; } footer a { color: #FFF; } footer p { margin: 0; } /* 工具面板 */ .tool-panel { display: none; z-index: 100; position: fixed; left: 0; bottom: 0; opacity: 1; transition: all 0.5s; animation: ToolPanelShow 0.5s; } .tool-panel-bar { height: 32px; } .tool-panel-newtab, .tool-panel-close { position: absolute; top: 0; height: 32px; width: 64px; box-shadow: -2px 0 10px 0 rgba(0, 0, 0, 0.1); line-height: 32px; text-align: center; font-size: 14px; color: #FFF; } .tool-panel-blank { position: absolute; top: 0; left: 0; height: 32px; width: 100%; background-color: #FFF; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .tool-panel-newtab { right: 72px; background-color: #2196F3; } .tool-panel-close { right: 8px; background-color: #F44336; } .tool-panel-iframe iframe { height: calc(100vh - 32px); width: 100vw; } /* 链接图标 */ /* main section li img { height: 28px; position: absolute; transform: translate(10px, 10px); } main section li a:not(.back) { padding-left: 45px !important; } */ /* 全屏文字 */ .fullscreen-text { position: fixed; top: 50%; left: 50%; font-size: 5vw; color: #FFF; transform: translate(-50%, -50%); transition: opacity 1s; } /* 查找面板 */ .search-panel { visibility: hidden; position: fixed; top: 50%; left: 50%; height: 300px; width: 500px; background-color: #fff; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); transform: translate(-50%, -50%); } .search-bar{ text-align: center; } .search-bar .search-input { margin: 20px 5px 0 0; padding: 0 15px; width: 60%; height: 50px; border: solid 2px #03A9F4; box-shadow: 0 0 5px rgba(3, 169, 244, 0.1); font-size: 20px; transition: border 0.2s; } .search-bar .search-input:hover { border: solid 2px #00BCD4; } .search-bar .search-submit, .search-bar .search-cancel { width: 75px; height: 50px; border: none; background-color: #03A9F4; box-shadow: 0 5px 10px -5px rgba(3, 169, 244, 0.4); font-size: 20px; color: #FFF; transition: background 0.2s; } .search-bar .search-submit:hover, .search-bar .search-cancel:hover { background-color: #00BCD4; } .search-bar .search-submit { margin-right: 5px; } .search-result { margin-top: 10px; padding: 0 16px; height: calc(100% - 100px); overflow-y: scroll; } .search-result a { display: block; margin-bottom: 10px; font-size: 20px; } #search-result-title { border-bottom: 1px solid #DDD; } #search-result-link { margin-top: 7px; } @media screen and (max-width: 500px) { .search-panel { height: 300px; width: 95%; } .search-bar .search-input { margin: 15px 5px 0 0; padding: 0 10px; width: 55%; height: 40px; font-size: 16px; } .search-bar .search-submit, .search-bar .search-cancel { width: 16%; height: 40px; font-size: 16px; } .search-result { padding: 0 5%; height: calc(100% - 80px); } .search-result a { margin-bottom: 8px; font-size: 16px; } } /* 搜索引擎 */ .search-engine { width: 100%; } .search-engine-bar { height: 45px; width: 100%; background-color: #FFF; border-radius: 5px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05); white-space: nowrap; } .search-engine-select { color: #FFF; text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5); } #search-engine-input { padding-left: 15px; box-sizing: border-box; height: 100%; width: calc(100% - 45px); background-color: transparent; border: none; font-size: 14px; } .search-engine-submit { display: inline-block; position: relative; top: 7px; left: 7px; height: 24px; width: 24px; color: #03A9F4; fill: currentcolor; user-select: none; } .search-engine-select ul { margin-top: 20px; width: 100%; text-align: center; } .search-engine-select ul li { display: inline-block; margin: 0 5px; list-style: none; font-size: 16px; } /* radio 样式 */ .search-engine-select ul li input[type="radio"] { position: absolute; opacity: 0; } .search-engine-select ul li input[type="radio"] + label:before { content: ''; border-radius: 0px; background: #FFF; border: 1px solid #999; display: inline-block; width: 1em; height: 1em; position: relative; top: 0; margin-right: 0.25em; vertical-align: top; text-align: center; transition: all 0.25s ease; } .search-engine-select ul li input[type="radio"]:checked + label:before { background-color: #03A9F4; box-shadow: inset 0 0 0 2px #FFF; } .search-engine-select ul li input[type="radio"]:focus + label:before { outline: none; border-color: #00BCD4; } .search-engine-select ul li input[type="radio"]:disabled + label:before { box-shadow: inset 0 0 0 2px #FFF; border-color: #999; background: #999; } .search-engine-select ul li input[type="radio"] + label:empty:before { margin-right: 0; } /* 悬浮栏 */ .floating-bar { z-index: 50; position: fixed; left: 0; bottom: 20px; width: 100%; /* opacity: 0.9; */ text-align: center; animation: FloatingBarSlide 1s ease-out 1; } .floating-bar-search, .floating-bar-tool, .floating-bar-about, .floating-bar-totop { display: inline-block; width: 50px; height: 32px; background-color: #4CAF50; box-shadow: 0 8px 10px -4px rgba(76, 175, 80, 0.5); text-align: center; line-height: 32px; font-size: 14px; color: #fff; } .floating-bar-tool, .floating-bar-about, .floating-bar-totop { margin-left: 5px; }