Advertisement
1xptolevitico69

Copy to clipboard

Dec 2nd, 2022
2,170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.57 KB | None | 0 0
  1. <!DOCTYPE html><html lang="en">
  2. <head>
  3.   <meta charset="UTF-8">
  4.   <meta http-equiv="X-UA-Compatible" content="IE=edge">
  5.   <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.   <style>
  7.     .top {
  8.       left: 0;
  9.       margin:20px 0;
  10.       width: 100%;
  11.       border: 0;
  12.       outline: 0;
  13.       background-color: transparent;
  14.     }
  15.  
  16.     .topnave a {
  17.       color: red;
  18.       margin: 0 5px;
  19.       text-decoration: underline;
  20.       font-family: verdana;
  21.       font-weight: 900;
  22.       font-size: 3vw;
  23.     }
  24.  
  25.     .avatar {
  26.       width: 100px;
  27.       display: block;
  28.       margin: 50px auto;
  29.       border-radius: 50%;
  30.       border: 4px double navy;
  31.     }
  32.  
  33.     body {
  34.       margin: 0;
  35.     }
  36.  
  37.     .search {
  38.       outline: 0;
  39.       height: 40px;
  40.       font-size: 16px;
  41.       width: 150px;
  42.       text-align: center;
  43.       border: 0;
  44.       color: red;
  45.       background-color: red;
  46.       color: white;
  47.       border-radius: 10px;
  48.     }
  49.  
  50.     @media all and (orientation:portrait) and (max-width:425px) {
  51.       .search {
  52.         font-size: 16px;
  53.         width: 150px;
  54.         border-radius: 10px;
  55.       }
  56.  
  57.       .topnave a {
  58.         color: red;
  59.         text-decoration: underline;
  60.         font-family: verdana;
  61.         font-weight: 900;
  62.         font-size: 20px;
  63.       }
  64.    
  65.     }
  66.  
  67.     @media all and (orientation:landscape) and (max-width:768px) {
  68.       .search {
  69.         font-size: 16px;
  70.         width: 150px;
  71.         border-radius: 10px;
  72.       }
  73.  
  74.       .topnave a {
  75.         color: red;
  76.         text-decoration: underline;
  77.         font-family: verdana;
  78.         font-weight: 900;
  79.         font-size: 5vw;
  80.       }
  81.     }
  82.   </style>
  83. </head>
  84.  
  85. <body>
  86. <audio id='audio' loop src='https://1xpto.netlify.app/posts/player%20mp3/local/soundtrack%2025.mp3'></audio>
  87.  
  88.  
  89.   <button class='top'>
  90.  
  91.     <div class='topnave'>
  92.       <a href='https://1xpto.netlify.app/'>Home</a>
  93.       <a href='https://1xpto.netlify.app/media/'>Media</a>
  94.       <img class='avatar' src='https://1xpto.netlify.app/pic/moi.jpg' />
  95.     </div>
  96.  
  97.   <h1>Copy to clipboard</h1>
  98.  
  99.  <input class='search' onclick='Style()' type='button' value='Source Code'/>
  100. <p>
  101.  <input class='search' onclick='web()' type='button' value='HTML' />
  102.  
  103.   </button>
  104.  
  105.  
  106.  
  107.  
  108.   <script>
  109.     function Style() {
  110.       window.open('https://1xpto.netlify.app/posts/Copy to clipboard/local/index.txt');
  111.       audio.play();
  112.     }
  113.     function web() {
  114.       window.open('https://1xpto.netlify.app/posts/Copy to clipboard/local/index.html');
  115.     //  audio.play();
  116.     }
  117.   </script>
  118. </body></html>
  119.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement