Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <link href="https://fonts.googleapis.com/css2?family=Dancing+Script&family=Great+Vibes&family=Orbitron&display=swap" rel="stylesheet">
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <style>
- body {
- margin: 0;
- }
- .top {
- position: absolute;
- width: 100%;
- border: 0;
- outline: 0;
- background-color: transparent;
- padding: 50px 0;
- }
- .top a {
- color: red;
- margin: 0 5px;
- text-decoration: underline;
- font-family: verdana;
- font-weight: 900;
- font-size: 3vw;
- }
- .top input {
- display: block;
- margin: 10px auto;
- }
- .avatar {
- width: 100px;
- display: block;
- margin: 50px auto;
- border-radius: 50%;
- border: 4px double navy;
- }
- h1 {
- font-family: orbitron;
- margin: 0 0 50px 0;
- }
- .search {
- outline: 0;
- height: 40px;
- font-size: 16px;
- width: 150px;
- text-align: center;
- border: 0;
- color: red;
- background-color: red;
- color: white;
- border-radius: 10px;
- }
- @media all and (orientation:portrait) and (max-width:425px) {
- .search {
- font-size: 16px;
- width: 150px;
- border-radius: 10px;
- }
- .top a {
- color: red;
- text-decoration: underline;
- font-family: verdana;
- font-weight: 900;
- font-size: 20px;
- }
- }
- @media all and (orientation:landscape) and (max-width:768px) {
- .search {
- font-size: 16px;
- width: 150px;
- border-radius: 10px;
- }
- .top a {
- color: red;
- text-decoration: underline;
- font-family: verdana;
- font-weight: 900;
- font-size: 5vw;
- }
- }
- </style>
- </head>
- <body>
- <button class='top'>
- <a href='https://1xpto.netlify.app/'>Home</a>
- <a href='https://1xpto.netlify.app/media/'>Media</a>
- <img class='avatar' src='https://1xpto.netlify.app/pic/moi.jpg' />
- <h1>Introduction to audio localStorage</h1>
- <input class='search' onclick='Style()' type='button' value='Source Code' />
- <input class='search' onclick='web()' type='button' value='HTML' />
- </button>
- <script>
- function Style() {
- window.open('https://1xpto.netlify.app/posts/Introduction to audio localStorage/local/index.txt');
- }
- function web() {
- window.open('https://1xpto.netlify.app/posts/Introduction to audio localStorage/local/index.html');
- }
- </script>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement