Advertisement
Guest User

Untitled

a guest
Aug 24th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.48 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <title>Sneaky Sneaky</title>
  6.  
  7. <meta name="generator" content="php-proxy.com">
  8. <meta name="version" content="<?=$version;?>">
  9. <meta charset="UTF-8">
  10.  
  11. <style type="text/css">
  12. * {
  13.     box-sizing: border-box;
  14. }
  15. body {
  16.     padding-top: 15em;
  17.     color: #FFFFFF;
  18.     font-family: Arial,Helvetica,sans-serif;
  19.     display:flex;
  20.     justify-content:center;
  21.     align-items:center;
  22. }
  23. a {
  24.     color: #93A1A1;
  25. }
  26. .url:focus,
  27. .url:active,
  28. .go:focus,
  29. .go:active {
  30.     outline: none;
  31. }
  32. .url {
  33.     width: 88%;
  34.     margin-right: 2%;
  35.     background-color: #FDF6E3;
  36.     color: #657B83;
  37. }
  38. .go {
  39.     width: 10%;
  40.     background-color: #2AA198;
  41.     color: #FDF6E3;
  42.     cursor: pointer;
  43. }
  44. .url,
  45. .go {
  46.     display: block;
  47.     padding: .5em;
  48.     float: left;
  49.     border: none;
  50.     font-size: 14px;
  51. }
  52. .container {
  53.     padding: 1em;
  54.     margin: 1em auto;
  55.     width: 36em;
  56.     background: #00000040;
  57.     z-index: 2;
  58. }
  59. .container:after {
  60.     display: table;
  61.     content: '';
  62.     clear: both;
  63. }
  64. // For links
  65. a:link {
  66.     color: #f2f46e;
  67.     background-color: transparent;
  68.     text-decoration: none;
  69. }
  70.  
  71. a:visited {
  72.     color: #f2f46e;
  73.     background-color: transparent;
  74.     text-decoration: none;
  75. }
  76.  
  77. a:hover {
  78.     color: #f2f46e;
  79.     background-color: transparent;
  80.     text-decoration: underline;
  81. }
  82.  
  83. a:active {
  84.     color: #f2f46e;
  85.     background-color: transparent;
  86.     text-decoration: underline;
  87. }
  88. canvas {
  89.     position: absolute;
  90.     top: 0;
  91.     z-index: -1;
  92. }
  93. </style>
  94. <body>
  95.  
  96. <div class="container">
  97.     <div style="text-align:center;">
  98.         <h1>Sneaky Sneaky</h1>
  99.     </div>
  100.    
  101.     <?php if(isset($error_msg)){ ?>
  102.    
  103.     <div id="error">
  104.         <p><?php echo $error_msg; ?></p>
  105.     </div>
  106.    
  107.     <?php } ?>
  108.    
  109.     <div id="frm">
  110.    
  111.     <!-- I wouldn't touch this part -->
  112.    
  113.         <form action="index.php" method="post">
  114.             <input class="url" name="url" type="text" autocomplete="off" placeholder="URL or search" />
  115.             <input class="go" type="submit" value="Go" />
  116.         </form>
  117.        
  118.         <script type="text/javascript">
  119.             document.getElementsByName("url")[0].focus();
  120.         </script>
  121.        
  122.     <!-- [END] -->
  123.    
  124.     </div>
  125.    
  126. </div>
  127. <script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/1.1.0/trianglify.min.js"></script>
  128. <script>
  129.     var pattern = Trianglify({
  130.         width: window.innerWidth,
  131.         height: window.innerHeight,
  132.         cell_size: 60 + Math.random() * 100,
  133.         x_colors: 'random',
  134.         y_colors: 'match_x',
  135.         stroke_width: 3
  136.     });
  137.     document.body.appendChild(pattern.canvas())
  138. </script>
  139. </body>
  140. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement