Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <title>
- Home
- </title>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
- </head>
- <style type="text/css">
- :root{
- /*
- Use these to change colours
- */
- --text:#888;
- --main-bg:#1a1a1a;
- --fg-one:#cacaca;
- --fg-two:#cacaca;
- --fg-three:#4d4d4d;
- --shadow:#100908;
- --bar-bg:#312c38;
- /*
- I should have labeled the varibles better, but fuck it.
- You can figure them out.
- */
- }
- * {
- text-decoration: none;
- color: var(--text);
- }
- html {
- background: url("wall24.jpg") ;
- background-repeat: no-repeat;
- color: var(--text);
- font-family: "monaco", monospace;
- font-size: 18px;
- background-position: center center;
- background-attachment: fixed;
- background-size: cover;
- }
- body {
- background-color: var(--main-bg);
- box-shadow: 5px 5px 5px var(--shadow);
- margin-right: auto;
- margin-top: 2%;
- margin-bottom: 2%;
- margin-left: auto;
- text-align: center;
- height: 600px;
- padding: 10px 10px 10px 10px;
- position: static ;
- z-index: -1;
- width: 200px;
- }
- input, select, textarea{
- background: var(--fg-one);
- width: 75%;
- height: 30px;
- padding: 0px 10px 0px 10px;
- margin: auto;
- margin-top: -5px;
- }
- #wrap {
- background: var(--fg-three);
- width: 400px;
- z-index: 1;
- position: relative;
- margin: 10px 10px 10px -100px ;
- height: 6%;
- box-shadow: 5px 5px 5px var(--shadow);
- padding: 18px 0px 5px 0px;
- }
- .links {
- background: var(--fg-three);
- width: 280px;
- z-index: 1;
- position: relative;
- margin: 40px 10px 10px -40px ;
- box-shadow: 5px 5px 5px var(--shadow);
- padding: 20px 0px 5px 0px;
- text-align: center;
- height: 30px;
- overflow: hidden;
- white-space: nowrap;
- -webkit-transition-duration: 0.4s;
- -moz-transition-duration: 0.4s;
- -o-transition-duration: 0.4s;
- transition-duration: 0.4s;
- }
- a:hover {
- text-shadow: 1px 1px var(--shadow);
- }
- .hv:hover table {
- visibility: visible;
- }
- td:hover {
- background: var(--fg-two);
- }
- .hv:hover b {
- color: var(--fg-two);
- }
- b{
- padding: 0px 0px 2px 0px;
- text-align: center;
- position: absolute;
- left: 30%;
- right: 30%;
- background: var(--fg-three);
- z-index: 3
- }
- #q {
- border: 0; border-radius: 1px;
- font-family: "monaco", monospace;
- color: var(--text);
- text-align: center;
- box-shadow: 2px 2px 2px var(--main-bg);
- }
- #left,#right{
- padding: 5px 0px 5px 0px;
- display: none;
- white-space: nowrap;
- }
- #left{
- position: absolute;
- left: 20px;
- top: 15px;
- /*
- margin-right: 120px;
- margin-left: 10px;
- /**/
- }
- #right {
- position: absolute;
- right: 20px;
- top: 15px;
- /*
- margin-left: 100px;
- /**/
- }
- .links:hover{
- width: 540px;
- margin-left: -170px;
- -webkit-transition-duration: 0.4s;
- -moz-transition-duration: 0.4s;
- -o-transition-duration: 0.4s;
- transition-duration: 0.4s;
- }
- #two:hover{
- width: 600px;
- margin-left: -200px;
- -webkit-transition-duration: 0.4s;
- -moz-transition-duration: 0.4s;
- -o-transition-duration: 0.4s;
- transition-duration: 0.4s;
- }
- #two>#left{
- margin-right: 100px;
- }
- #three:hover{
- width: 660px;
- margin-left: -230px;
- -webkit-transition-duration: 0.4s;
- -moz-transition-duration: 0.4s;
- -o-transition-duration: 0.4s;
- transition-duration: 0.4s;
- }
- #four:hover{
- width: 600px;
- margin-left: -200px;
- -webkit-transition-duration: 0.4s;
- -moz-transition-duration: 0.4s;
- -o-transition-duration: 0.4s;
- transition-duration: 0.4s;
- }
- /*#four>#left{
- margin-right: 100px;
- margin-left: 20px;
- }
- #four>#right{
- margin-left: 150px;
- }
- /**/
- .links:hover #left,.links:hover #right{
- display: inline;
- }
- a{
- padding: 0px 5px 0px 5px;
- }
- #block{
- position: absolute;
- z-index: 0;
- background: #885d39;
- top: 200px;
- margin: auto;
- right: 45%;
- width:100px;
- height: 400px;
- box-shadow: 5px 5px 5px var(--main-bg);
- }
- </style>
- <script type="text/javascript" language="javascript">
- var $=function(id) { return document.getElementById(id); };
- var search=[ // Search engines
- ["", "https://www.google.com/#q="], // Google (Default)
- ["!g", "https://www.google.com/#q="], // Google
- ["!i", "https://www.google.com/search?tbm=isch&q="], // Google Images
- ["!y", "https://www.youtube.com/results?search_query="], // YouTube
- ["!w", "http://en.wikipedia.org/w/index.php?search="], // Wikipedia
- ["!m", "http://www.imdb.com/find?q="], // IMDb
- ["!u", "http://www.urbandictionary.com/define.php?term="], // Urban Dictionary
- ["!n", "http://www.nyaa.se/?page=search&cats=0_0&filter=0&term="], // Nyaa
- ["!t", "http://shop.tcgplayer.com/magic/product/show?ProductName="],// TCGplayer
- ["!a", "https://aur.archlinux.org/packages/?O=0&K="], // AUR
- ];
- var ss="";
- function init() {
- for(var i=0;i<search.length;i++) if(search[i][0]=="") ss=search[i][1];
- if(ss=="") alert("Error: Missing default search engine!");
- build();
- $('q').value="";
- $('q').focus();
- }
- function handleQuery(e,q) { // Handle search query
- var key=e.keyCode || e.which;
- if(key==13) { // enter
- if(q.lastIndexOf("!")!=-1) {
- var x=q.lastIndexOf("!"),found=false;
- for(var i=0;i<search.length;i++) {
- if(search[i][0]==q.substr(x)) { // Find "!?"
- found=true; window.location=search[i][1]+q.substr(0,x).replace(/&/g,"%26");
- }
- }
- if(!found) { // Invalid "!?", use default
- window.location=ss+q.substr(0,x).replace(/&/g,"%26");
- }
- } else { // "!?" where not specified, use default
- window.location=ss+q.replace(/&/g,"%26");
- }
- }
- }
- </script>
- <body onload="javascript:init();">
- <h1 id="header">良い一日を</h1>
- <div id="wrap">
- <input autofocus type="text" id="q" value="" placeholder="" onkeypress="javascript:handleQuery(event,this.value);" onfocus="this.value=this.value" />
- </div>
- <div class="links">
- <div id="left">
- <a href="http://boards.4chan.org/g/">/g/</a>
- <a href="https://boards.4chan.org/w/">/w/</a>
- <a href="https://boards.4chan.org/wg/">/wg/</a>
- </div>
- <b>4chan</b>
- <div id="right">
- <a href="https://boards.4chan.org/r9k/">/r9k/</a>
- <a href="https://boards.4chan.org/sci/">/sci/</a>
- <a href="https://boards.4chan.org/lit/">/lit/</a>
- </div>
- </div>
- <div class="links" id="two">
- <div id="left">
- <a href="https://www.youtube.com/feed/subscriptions">YouTube</a>
- <a href="https://www.twitch.tv/directory/following">Twitch</a>
- <a href="http://www.google.com"> </a>
- </div>
- <b>Media</b>
- <div id="right">
- <a href="https://mail.google.com/mail/u/0/?tab=wm#inbox">Gmail</a>
- <a href="https://twitter.com/">Twitter</a>
- <a href="http://www.google.com"></a>
- </div>
- </div>
- <div class="links" id="three">
- <div id="left">
- <a href="https://nhentai.net/language/english/">Nhentai</a>
- <a href="http://www.hentai.ms/">Hentaims</a>
- <a href="http://www.google.com"> </a>
- </div>
- <b>Fun</b>
- <div id="right">
- <a href="http://play.typeracer.com/">Typer</a>
- <a href="https://chaturbate.com/">Chaturbate</a>
- <a href="http://www.google.com"> </a>
- </div>
- </div>
- <div class="links" id="four">
- <div id="left">
- <a href="https://www.reddit.com/r/unixporn/new/">/unix/</a>
- <a href="http://www.google.com"> </a>
- <a href="https://www.reddit.com/r/battlestations/new/">/bst/</a>
- </div>
- <b>Reddit</b>
- <div id="right">
- <a href="https://www.reddit.com/r/MusicBattlestations/new/">/mbst/</a>
- <a href="https://www.reddit.com/r/pcmasterrace/">/pcmr/</a>
- <a href="http://www.google.com"> </a>
- </div>
- </div>
- </body>
- http://imgur.com/a/u6Uv1
- http://imgur.com/RhavPpk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement