index.html 13 KB

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