Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- This website is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- This website is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this website. If not, see <http://www.gnu.org/licenses/>.
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>Title</title>
- <link rel="icon" type="image/jpg" href="http://i.imgur.com/ne9A21u.jpg"><!-- Favicon. This should be the same link as the avatar. Or whatever you fancy. -->
- <style type="text/css">
- body{
- background-image:url('http://i.imgur.com/D9Ev3R1.png'); /* BACKGROUND IMAGE! Change the background image link here. */
- margin: 0;
- padding: 0;
- }
- #container{
- position: absolute;
- margin: 0 auto;
- left: 0;
- right: 0;
- height: 100vh;
- width: 400px;
- background-color: black;
- opacity: 0.7;
- }
- #overlay{
- position: absolute;
- left: 0;
- right: 0;
- margin: 0px auto;
- height: 100vh;
- width: 400px;
- }
- #avatar{
- position: absolute;
- margin: 0 auto;
- left: 0;
- right: 0;
- display: block;
- margin-left: auto;
- margin-right: auto;
- border-radius: 350px;
- height: 130px;
- width: 130px;
- bottom: 500px;
- border: 5px solid white;
- }
- #header{
- position: absolute;
- text-align: center;
- font-weight: bold;
- font-family: Helvetica;
- bottom: 400px;
- font-size: 30px;
- color: white;
- left: 0;
- right: 0;
- }
- #text{
- position: absolute;
- text-align: center;
- font-weight: bold;
- font-family: Helvetica;
- bottom: 300px;
- font-size: 19px;
- color: white;
- left: 0;
- right: 0;
- margin-left: 15px;
- margin-right: 15px;
- }
- #button1{
- position: absolute;
- right: 35px;
- bottom: 200px;
- border: 2px solid white;
- width: 150px;
- height: 45px;
- color: white;
- font-size: 15px;
- font-family: Helvetica;
- text-align: center;
- font-weight:bold;
- -webkit-transition: background-color 0.5s;
- transition: background-color 0.5s;
- }
- #button2{
- position: absolute;
- left: 35px;
- bottom: 200px;
- border: 2px solid white;
- width: 150px;
- height: 45px;
- color: white;
- font-size: 15px;
- font-family: Helvetica;
- text-align: center;
- font-weight:bold;
- -webkit-transition: background-color 0.5s;
- transition: background-color 0.5s;
- }
- #button3{
- position: absolute;
- left: 0;
- right: 0;
- margin: 0 auto;
- bottom: 135px;
- border: 2px solid white;
- width: 250px;
- height: 45px;
- color: white;
- font-size: 15px;
- font-family: Helvetica;
- text-align: center;
- font-weight:bold;
- -webkit-transition: background-color 0.5s;
- transition: background-color 0.5s;
- }
- #button1:hover, #button2:hover, #button3:hover{
- background-color: white;
- color: grey;
- }
- </style>
- </head>
- <body>
- <div id="container">
- </div>
- <div id="overlay">
- <img src="http://i.imgur.com/ne9A21u.jpg" id="avatar" /> <!-- Put your avatar image link here -->
- <p id="header">Lorem</p>
- <!-- If the description is too long, it will clip with the header. So please keep it short,
- or edit the CSS to match the description. -->
- <p id="text">Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br />
- Donec dictum risus at leo ornare pretium.</p>
- <a href="http://website.com"><div id="button1"><p>Lorem ipsum</p></div></a>
- <a href="http://website.com"><div id="button2"><p>Lorem ipsum</p></div></a>
- <a href="http://website.com"><div id="button3"><p>Lorem ipsum dolor</p></div></a>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment