index.html 13 KB

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