index.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <title>Steven的启动页</title>
  5. <meta charset="utf-8" />
  6. <meta name="keywords" content="Steven的启动页">
  7. <meta name="description" content="Steven的启动页">
  8. <link rel="Shortcut Icon" type="image/x-icon" href="./favicon.ico">
  9. <meta name="author" content="me@stevenos.com">
  10. <meta NAME="COPYRIGHT" CONTENT="StevenYan">
  11. <meta http-equiv="Window-target" content="_top" />
  12. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  13. <meta http-equiv="Pragma" content="no-cache" />
  14. <meta http-equiv="Expires" content="0" />
  15. <meta name="theme-color" content="#6699ff">
  16. <link rel="apple-touch-icon-precomposed" href="favicon.ico">
  17. <meta name="apple-mobile-web-app-title" content="GMS.icu">
  18. <meta name="apple-mobile-web-app-capable" content="yes">
  19. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  20. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
  21. </head>
  22. <style>
  23. * {
  24. padding: 0;
  25. margin: 0;
  26. }
  27. body {
  28. text-align: center;
  29. background-color: #ffffff;
  30. cursor: url("https://ryzenx.oss-accelerate.aliyuncs.com/cur/Diamond_Sword.cur"), auto;
  31. font-family: 'menlo', 'Monaco', 'Cascadia Mono', 'JetBrains Mono', 'Fira Code', 'Ubuntu Mono', 'Courier New', 'Courier', monospace;
  32. }
  33. input {
  34. cursor: url("https://ryzenx.oss-accelerate.aliyuncs.com/cur/Bow.cur"), auto;
  35. }
  36. img.smaller {
  37. width: 192px;
  38. height: 108px;
  39. max-width: 250px;
  40. animation: flipInX 4s;
  41. -webkit-animation: flipInX 4s
  42. }
  43. .logo {
  44. font-size: 3em;
  45. white-space: normal;
  46. word-wrap: break-word;
  47. text-decoration: none;
  48. color: #232323;
  49. cursor: url("https://ryzenx.oss-accelerate.aliyuncs.com/cur/Redstonelink.cur"), auto;
  50. }
  51. #search_input_bd {
  52. width: 90%;
  53. height: 40px;
  54. background-color: transparent;
  55. border: none;
  56. outline: 0;
  57. font-size: 15px;
  58. color: #ee0000;
  59. padding: 0 20px;
  60. border-radius: 50px
  61. }
  62. #search_input_go {
  63. width: 90%;
  64. height: 40px;
  65. background-color: transparent;
  66. border: none;
  67. outline: 0;
  68. font-size: 15px;
  69. color: #0000ee;
  70. padding: 0 20px;
  71. border-radius: 50px
  72. }
  73. .search_part {
  74. font-size: 1.2rem;
  75. font-weight: 600;
  76. letter-spacing: 4px;
  77. text-shadow: 0 2px 0px red, 0 4px 0 blue, 0 6px 0 yellow, 0 8px 0 green, 0 10px 0 white;
  78. margin-bottom: 30px;
  79. margin-top: 20px;
  80. }
  81. span {
  82. display: block;
  83. overflow: hidden;
  84. padding-left: 5px;
  85. }
  86. .search_bar {
  87. box-shadow: 0 0 18px rgba(70, 70, 40, .100);
  88. -webkit-animation: fadeIn 2.5s;
  89. animation: fadeIn 2.5s;
  90. background-color: rgba(255, 255, 255, 0.8);
  91. border-radius: 20px;
  92. display: table;
  93. vertical-align: middle;
  94. width: 80%;
  95. height: 40px;
  96. max-width: 400px;
  97. margin: 10px auto;
  98. }
  99. #search_submit_bd {
  100. outline: 0;
  101. height: 40px;
  102. float: right;
  103. color: #0000ff;
  104. font-size: 18px;
  105. font-weight: 700;
  106. border: none;
  107. background-color: transparent;
  108. padding: 0 13px 0 13px
  109. }
  110. #search_submit_go {
  111. outline: 0;
  112. height: 40px;
  113. float: right;
  114. color: #ff0000;
  115. font-size: 18px;
  116. font-weight: 700;
  117. border: none;
  118. background-color: transparent;
  119. padding: 0 13px 0 13px
  120. }
  121. #content {
  122. position: absolute;
  123. top: 50%;
  124. left: 50%;
  125. transform: translate(-50%, -60%);
  126. }
  127. .box {
  128. -webkit-animation: fadeInDown 1s;
  129. animation: fadeInDown 1s;
  130. position: relative;
  131. display: inline-block;
  132. width: 80px;
  133. border: 0;
  134. margin-left: auto;
  135. margin-right: auto;
  136. }
  137. .box a {
  138. width: 100%;
  139. height: 100%;
  140. position: absolute;
  141. left: 0;
  142. top: 0;
  143. cursor: url("https://ryzenx.oss-accelerate.aliyuncs.com/cur/Redstonelink.cur"), auto;
  144. }
  145. .url {
  146. color: #ffff00;
  147. text-shadow: 1px 1px 5px #111;
  148. height: 1.5em;
  149. line-height: 1.5em;
  150. width: 100%;
  151. font-size: 0.8em;
  152. white-space: nowrap;
  153. overflow: hidden;
  154. margin: auto;
  155. text-overflow: ellipsis;
  156. -o-text-overflow: ellipsis;
  157. -ms-text-overflow: ellipsis;
  158. margin-left: auto;
  159. margin-right: auto;
  160. padding-top: 5px;
  161. padding-bottom: 5px;
  162. }
  163. .icon {
  164. width: 3em;
  165. height: 3em;
  166. border-radius: 15%;
  167. box-shadow: 1px 1px 4px #aaa;
  168. background-color: #fff;
  169. max-width: 75px;
  170. padding: 2px;
  171. }
  172. .GMSICU {
  173. display: flex;
  174. flex-direction: column;
  175. align-items: center;
  176. justify-content: center;
  177. }
  178. .GMSICU .top {
  179. background-image: url("https://ryzenx.oss-accelerate.aliyuncs.com/img/bg.png");
  180. overflow: auto;
  181. background-repeat: repeat;
  182. background-size: cover;
  183. color: #000;
  184. text-shadow: 1px 1px 10px #eee;
  185. font-size: 40px;
  186. font-size: 4vw;
  187. text-decoration: none;
  188. border-radius: 20px;
  189. border-radius: 1vw;
  190. padding: 10px;
  191. padding: 0.5vw;
  192. }
  193. .redirectTime {
  194. width: fit-content;
  195. height: fit-content;
  196. background-image: url("https://ryzenx.oss-accelerate.aliyuncs.com/img/bg.png");
  197. overflow: auto;
  198. background-repeat: repeat;
  199. background-size: cover;
  200. color: #111;
  201. text-shadow: 0px 0px 5px #fff;
  202. font-size: 1.5rem;
  203. border-radius: 1vw;
  204. padding: 0.5vw;
  205. }
  206. @-webkit-keyframes flipInX {
  207. 0% {
  208. -webkit-transform: perspective(400px) rotateX(90deg);
  209. transform: perspective(400px) rotateX(90deg);
  210. opacity: 0
  211. }
  212. 40% {
  213. -webkit-transform: perspective(400px) rotateX(-10deg);
  214. transform: perspective(400px) rotateX(-10deg)
  215. }
  216. 70% {
  217. -webkit-transform: perspective(400px) rotateX(10deg);
  218. transform: perspective(400px) rotateX(10deg)
  219. }
  220. 100% {
  221. -webkit-transform: perspective(400px) rotateX(0);
  222. transform: perspective(400px) rotateX(0);
  223. opacity: 1
  224. }
  225. }
  226. @keyframes flipInX {
  227. 0% {
  228. -webkit-transform: perspective(400px) rotateX(90deg);
  229. -ms-transform: perspective(400px) rotateX(90deg);
  230. transform: perspective(400px) rotateX(90deg);
  231. opacity: 0
  232. }
  233. 40% {
  234. -webkit-transform: perspective(400px) rotateX(-10deg);
  235. -ms-transform: perspective(400px) rotateX(-10deg);
  236. transform: perspective(400px) rotateX(-10deg)
  237. }
  238. 70% {
  239. -webkit-transform: perspective(400px) rotateX(10deg);
  240. -ms-transform: perspective(400px) rotateX(10deg);
  241. transform: perspective(400px) rotateX(10deg)
  242. }
  243. 100% {
  244. -webkit-transform: perspective(400px) rotateX(0);
  245. -ms-transform: perspective(400px) rotateX(0);
  246. transform: perspective(400px) rotateX(0);
  247. opacity: 1
  248. }
  249. }
  250. @-webkit-keyframes fadeIn {
  251. 0% {
  252. opacity: 0
  253. }
  254. 100% {
  255. opacity: 1
  256. }
  257. }
  258. @keyframes fadeIn {
  259. 0% {
  260. opacity: 0
  261. }
  262. 100% {
  263. opacity: 1
  264. }
  265. }
  266. @-webkit-keyframes fadeInDown {
  267. 0% {
  268. opacity: 0;
  269. -webkit-transform: translateY(-20px);
  270. transform: translateY(-20px)
  271. }
  272. 100% {
  273. opacity: 1;
  274. -webkit-transform: translateY(0);
  275. transform: translateY(0)
  276. }
  277. }
  278. @keyframes fadeInDown {
  279. 0% {
  280. opacity: 0;
  281. -webkit-transform: translateY(-20px);
  282. -ms-transform: translateY(-20px);
  283. transform: translateY(-20px)
  284. }
  285. 100% {
  286. opacity: 1;
  287. -webkit-transform: translateY(0);
  288. -ms-transform: translateY(0);
  289. transform: translateY(0)
  290. }
  291. }
  292. </style>
  293. <style type="text/css">
  294. .cover {
  295. position: relative;
  296. padding: 0;
  297. text-align: center;
  298. }
  299. @media only screen and (max-width: 1080px) {
  300. .cover {
  301. margin-bottom: 0;
  302. height: 100%;
  303. }
  304. #content {
  305. width: 100%;
  306. margin-top: 5rem;
  307. }
  308. }
  309. .cover-frame {
  310. position: relative;
  311. min-width: 100%;
  312. height: 100vh;
  313. }
  314. .cover-frame .bg-box {
  315. width: 100%;
  316. height: 100%;
  317. }
  318. .cover-frame .bg-box>img {
  319. display: block;
  320. width: 100vw;
  321. height: 100vh;
  322. object-fit: cover;
  323. object-position: center center;
  324. }
  325. #textarea {
  326. position: absolute;
  327. top: 0;
  328. left: 0;
  329. opacity: 0;
  330. z-index: -10;
  331. }
  332. .footer {
  333. position: fixed;
  334. bottom: 8px;
  335. left: 50%;
  336. width: 120px;
  337. transform: translate(-60px, 0);
  338. font-weight: 300;
  339. font-size: 8px;
  340. color: white;
  341. }
  342. .footer :link {
  343. color: inherit;
  344. text-decoration: none;
  345. }
  346. </style>
  347. <body>
  348. <section class="cover">
  349. <div class="cover-frame">
  350. <div class="bg-box">
  351. <img id="bg-img" src="" alt="Loading...Background Image">
  352. </div>
  353. </div>
  354. <div id="content">
  355. <div class="search_part">
  356. <a class="logo" href="https://www.google.com">
  357. <img class="smaller" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/GoogleLogo.gif">
  358. </a>
  359. <div class="search_part">
  360. <h1>Steven的启动页</h1>
  361. </div>
  362. <div class="search_bar">
  363. <input type="submit" id="search_submit_bd" value="Baidu" onclick="search1()">
  364. <span><input class="search" type="text" value="" autocomplete="off" id="search_input_bd"
  365. onkeyup="if(event.keyCode==13){search1()}"></span>
  366. </div>
  367. <div class="search_bar">
  368. <input type="submit" id="search_submit_go" value="Google" onclick="search2()">
  369. <span><input class="search" type="text" value="" autocomplete="off" id="search_input_go"
  370. onkeyup="if(event.keyCode==13){search2()}"></span>
  371. </div>
  372. </div>
  373. <div class="GMSICU">
  374. <div class="redirectTime">
  375. <p id="nowTime"></p>
  376. <p id="redirectTime"></p>
  377. <input id="btn_copy" type="button" onclick="toClipboard()" value="Copy" />
  378. <textarea id="textarea"></textarea>
  379. </div>
  380. </div>
  381. <br />
  382. <div class="box">
  383. <a href="https://www.google.com"></a>
  384. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/Google.png"></p>
  385. <p class="url">Google</p>
  386. </div>
  387. <div class="box">
  388. <a href="https://www.youtube.com"></a>
  389. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/youtube.png"></p>
  390. <p class="url">Youtube</p>
  391. </div>
  392. <div class="box">
  393. <a href="http://www.bilibili.com"></a>
  394. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/bilibili.png"></p>
  395. <p class="url">哔哩哔哩</p>
  396. </div>
  397. <div class="box">
  398. <a href="https://translate.google.com"></a>
  399. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/Translate.png"></p>
  400. <p class="url">翻译</p>
  401. </div>
  402. <div class="box">
  403. <a href="https://mail.google.com"></a>
  404. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/Gmail.png"></p>
  405. <p class="url">Gmail</p>
  406. </div>
  407. <div class="box">
  408. <a href="https://mail.qq.com"></a>
  409. <p><img class="icon" src="https://mail.qq.com/favicon.ico"></p>
  410. <p class="url">QQ 邮箱</p>
  411. </div>
  412. <div class="box">
  413. <a href="https://outlook.live.com"></a>
  414. <p><img class="icon" src="https://outlook.live.com/favicon.ico"></p>
  415. <p class="url">Outlook</p>
  416. </div>
  417. <div class="box">
  418. <a href="https://mail.163.com"></a>
  419. <p><img class="icon" src="https://mail.163.com/favicon.ico"></p>
  420. <p class="url">163 邮箱</p>
  421. </div>
  422. <div class="box">
  423. <a href="https://ryzenx.com"></a>
  424. <p><img class="icon" src="https://ryzenx.com/img/icon.png"></p>
  425. <p class="url">RyzenX 博客</p>
  426. </div>
  427. </div>
  428. <div class="footer">
  429. </div>
  430. </section>
  431. <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  432. <script src="index.js"></script>
  433. <script src="click.js"></script>
  434. <script>
  435. nowTime();
  436. loadICP();
  437. function loadBG(src) {
  438. document.getElementById('bg-img').src = src + "/api/bing";
  439. document.getElementById('bg-img').alt = "Background Image";
  440. }
  441. window.onload = function () {
  442. var pageUrl = new URL(window.location.href);
  443. var host = pageUrl.origin;
  444. console.log("onLoad.");
  445. console.log("%c" + "地址: " + pageUrl, "color:blue;background-color:white;font-size:1.2rem;text-decoration:none;");
  446. // startTimer();
  447. // clock();
  448. loadBG(host);
  449. }
  450. function search1() {
  451. var value = document.getElementById("search_input_bd").value;
  452. if (value.length > 0) {
  453. window.location.href = "https://www.baidu.com/s?word=" + value;
  454. document.getElementById("search_input_bd").value = "";
  455. }
  456. }
  457. function search2() {
  458. var value = document.getElementById("search_input_go").value;
  459. if (value.length > 0) {
  460. window.location.href = "https://www.google.com/search?q=" + value;
  461. document.getElementById("search_input_go").value = "";
  462. }
  463. }
  464. </script>
  465. </body>
  466. </html>