Advertisement
1xptolevitico69

Introduction to audio localStorage

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