Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- © erika-writes
- special thanks to painthemes.tumblr.com for their pop-up box!
- you can find all instructions for this page here: https://erika-writes.tumblr.com/post/186551187662
- -->
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link href="https://fonts.googleapis.com/css?family=League+Script|Playfair+Display:900&display=swap" rel="stylesheet">
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
- <script type="text/javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <script>
- $(document).ready(function() {
- //
- $('a.poplight[href^=#]').click(function() {
- var popID = $(this).attr('rel'); //Get Popup Name
- var popURL = $(this).attr('href'); //Get Popup href to define size
- var query= popURL.split('?');
- var dim= query[1].split('&');
- var popWidth = dim[0].split('=')[1]; //Gets the first query string value
- $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
- var popMargTop = ($('#' + popID).height() + 80) / 2;
- var popMargLeft = ($('#' + popID).width() + 80) / 2;
- //Apply Margin to Popup
- $('#' + popID).css({
- 'margin-top' : -popMargTop,
- 'margin-left' : -popMargLeft
- });
- $('body').append('<div id="fade"></div>');
- $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
- return false;
- });
- $('a.close, #fade').live('click', function() {
- $('#fade , .popup_block').fadeOut(function() {
- $('#fade, a.close').remove(); //fade them both out
- });
- return false;
- });
- });
- </script>
- <style type="text/css">
- body {
- font-family:avenir;
- font-size:10px;
- letter-spacing:.5px;
- line-height:15px;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- a {
- color:#000;
- }
- #title {
- font-family: 'League Script', cursive;
- font-size:50px;
- font-weight:bold;
- text-transform:lowercase;
- text-align:left;
- margin:7px;
- margin-top:75px;
- margin-left:420px;
- transform:rotate(-3deg);
- }
- #container {
- width:468px;
- margin: 0 auto;
- overflow:hidden;
- border:0px solid #000;
- padding:3px;
- padding-left:18px;
- margin-top:50px;
- margin-bottom:30px;
- }
- #box {
- width:150px;
- margin: 0 auto;
- overflow:hidden;
- border:0px solid #000;
- padding:3px;
- margin-bottom:10px;
- float:left;
- }
- #info {
- font-family:avenir;
- font-size:11px;
- font-weight:bold;
- text-transform:lowercase;
- letter-spacing:1.5px;
- line-height:14px;
- margin-top:5px;
- padding:3px;
- width:120px;
- height:40px;
- text-align:center;
- }
- hr {
- border:.5px solid #000;
- width:175px;
- margin-top:15px;
- margin-bottom:15px;
- }
- .img {
- padding:3px;
- width:120px;
- height:auto;
- border-radius:10px;
- }
- #nav {
- position:fixed;
- left:25px;
- top:20px;
- font-family:avenir;
- font-size:9px;
- font-weight:500;
- text-transform:lowercase;
- letter-spacing:1px;
- height:45px;
- border-left:1px solid #000;
- padding-left:15px;
- }
- #nav a {
- text-decoration:none;
- }
- /*POP UP BOX STUFF*/
- .largeimg {
- width:250px;
- height:500px;
- border-radius:10px;
- }
- #name {
- width:260px;
- font-family: 'League Script', cursive;
- font-size:35px;
- font-weight:bold;
- text-transform:lowercase;
- float:right;
- text-align:center;
- padding:20px;
- margin-top:5px;
- transform:rotate(-3deg);
- }
- table {
- border-collapse:collapse;
- }
- table, th, td {
- width:265px;
- font-size:9.5px;
- font-weight:normal;
- text-align:left;
- letter-spacing:.5px;
- background:#eee;
- border: 3px solid white;
- padding:7px;
- margin-left:268px;
- margin-top:-440px;
- }
- #aesthetic {
- width:260px;
- height:80px;
- font-family: courier;
- font-size:14px;
- letter-spacing:0px;
- line-height:14px;
- margin-top:25px;
- padding:5px;
- margin-left:268px;
- text-align:center;
- overflow:auto;
- }
- .leftimg {
- width:110px;
- height:150px;
- border-radius:10px;
- transform:rotate(3deg);
- }
- .rightimg {
- width:110px;
- height:150px;
- border-radius:10px;
- transform:rotate(-4deg);
- margin-left:-5px;
- margin-top:5px;
- z-index:9999999;
- position:fixed;
- }
- #photos {
- width:260px;
- margin-top:25px;
- margin-left:290px;
- }
- /*CODES BY PAINTHEMES.TUMBLR.COM*/
- .popup_block{
- height:500px;
- display:none;
- background:#fff; /*change the color of your background*/
- padding:5px;
- border:1px solid #d6d6d6; /*change the color of your border*/
- border-radius:10px;
- float:left;
- position:fixed;
- top:50%;left:50%;
- z-index: 99999;
- }
- #fade {
- display:none;
- position:fixed;
- left:0px;
- top:0px;
- width:100%;
- height:100%;
- z-index:9999;
- background:{color:background}; /* change the color of the background below the box */
- opacity:.5; /* change the opacity */
- }
- *html #fade {position: absolute;}
- *html .popup_block {position: absolute;}
- /*CODES BY PAINTHEMES.TUMBLR.COM*/
- </style>
- </head>
- <body>
- <div id="nav">
- <a href="/">back to blog</a>
- <br><a href="https://tumblr.com/dashboard">go to dashboard</a>
- <br><a href="https://erika-writes.tumblr.com">credit</a>
- </div>
- <div id="title">muses</div>
- <div id="container">
- <!-- BOX 1 -->
- <a href="#?w=550" rel="box1" class="poplight">
- <div id="box">
- <img src="IMG URL HERE" class="img">
- <div id="info">name</div>
- </div>
- </a>
- <!-- BOX 2 -->
- <a href="#?w=550" rel="box2" class="poplight">
- <div id="box">
- <img src="IMG URL HERE" class="img">
- <div id="info">name</div>
- </div>
- </a>
- <!-- BOX 3 -->
- <a href="#?w=550" rel="box3" class="poplight">
- <div id="box">
- <img src="IMG URL HERE" class="img">
- <div id="info">name</div>
- </div>
- </a>
- <!-- BOX 4 -->
- <a href="#?w=550" rel="box4" class="poplight">
- <div id="box">
- <img src="IMG URL HERE" class="img">
- <div id="info">name</div>
- </div>
- </a>
- <!-- BOX 5 -->
- <a href="#?w=550" rel="box5" class="poplight">
- <div id="box">
- <img src="IMG URL HERE" class="img">
- <div id="info">name</div>
- </div>
- </a>
- <!-- BOX 6 -->
- <a href="#?w=550" rel="box6" class="poplight">
- <div id="box">
- <img src="IMG URL HERE" class="img">
- <div id="info">name</div>
- </div>
- </a>
- </div>
- <!-- YOUR LAST BOX SHOULD END WITH </DIV>, THE ONES ABOVE THAT SHOULD END WITH </A> -->
- <!-- POP UP BOX 1 -->
- <div id="box1" class="popup_block">
- <img src="IMG URL HERE" class="largeimg">
- <div id="name">name</div>
- <table>
- <tr><th><i class="fas fa-portrait"></i> <b>faceclaim:</b> text here</th>
- <th><i class="fas fa-birthday-cake"></i> <b>age:</b> text here</th></tr>
- <tr><th><i class="fas fa-venus-mars"></i> <b>gender:</b> text here</th>
- <th><i class="fas fa-heart"></i> <b>sexuality:</b> text here</th></tr>
- <tr><th><i class="fas fa-briefcase"></i> <b>job:</b> text here</th>
- <th><i class="fas fa-home"></i> <b>residency:</b> text here</th></tr>
- <tr><th><i class="fas fa-star"></i> <b>zodiac:</b> text here</th>
- <th><i class="fas fa-chart-pie"></i> <b>mbti:</b> text here</th>
- </tr>
- </table>
- <div id="photos">
- <img src="IMG URL HERE" class="leftimg">
- <img src="IMG URL HERE" class="rightimg">
- </div>
- <div id="aesthetic">text here</div>
- </div></div></div></div></div></div></div></div></div></div></div>
- <!-- POP UP BOX 2 -->
- <div id="box2" class="popup_block">
- <img src="IMG URL HERE" class="largeimg">
- <div id="name">name</div>
- <table>
- <tr><th><i class="fas fa-portrait"></i> <b>faceclaim:</b> text here</th>
- <th><i class="fas fa-birthday-cake"></i> <b>age:</b> text here</th></tr>
- <tr><th><i class="fas fa-venus-mars"></i> <b>gender:</b> text here</th>
- <th><i class="fas fa-heart"></i> <b>sexuality:</b> text here</th></tr>
- <tr><th><i class="fas fa-briefcase"></i> <b>job:</b> text here</th>
- <th><i class="fas fa-home"></i> <b>residency:</b> text here</th></tr>
- <tr><th><i class="fas fa-star"></i> <b>zodiac:</b> text here</th>
- <th><i class="fas fa-chart-pie"></i> <b>mbti:</b> text here</th>
- </tr>
- </table>
- <div id="photos">
- <img src="IMG URL HERE" class="leftimg">
- <img src="IMG URL HERE" class="rightimg">
- </div>
- <div id="aesthetic">text here</div>
- </div></div></div></div></div></div></div></div></div></div></div>
- <!-- POP UP BOX 3 -->
- <div id="box3" class="popup_block">
- <img src="IMG URL HERE" class="largeimg">
- <div id="name">name</div>
- <table>
- <tr><th><i class="fas fa-portrait"></i> <b>faceclaim:</b> text here</th>
- <th><i class="fas fa-birthday-cake"></i> <b>age:</b> text here</th></tr>
- <tr><th><i class="fas fa-venus-mars"></i> <b>gender:</b> text here</th>
- <th><i class="fas fa-heart"></i> <b>sexuality:</b> text here</th></tr>
- <tr><th><i class="fas fa-briefcase"></i> <b>job:</b> text here</th>
- <th><i class="fas fa-home"></i> <b>residency:</b> text here</th></tr>
- <tr><th><i class="fas fa-star"></i> <b>zodiac:</b> text here</th>
- <th><i class="fas fa-chart-pie"></i> <b>mbti:</b> text here</th>
- </tr>
- </table>
- <div id="photos">
- <img src="IMG URL HERE" class="leftimg">
- <img src="IMG URL HERE" class="rightimg">
- </div>
- <div id="aesthetic">text here</div>
- </div></div></div></div></div></div></div></div></div></div></div>
- <!-- POP UP BOX 4 -->
- <div id="box4" class="popup_block">
- <img src="IMG URL HERE" class="largeimg">
- <div id="name">name</div>
- <table>
- <tr><th><i class="fas fa-portrait"></i> <b>faceclaim:</b> text here</th>
- <th><i class="fas fa-birthday-cake"></i> <b>age:</b> text here</th></tr>
- <tr><th><i class="fas fa-venus-mars"></i> <b>gender:</b> text here</th>
- <th><i class="fas fa-heart"></i> <b>sexuality:</b> text here</th></tr>
- <tr><th><i class="fas fa-briefcase"></i> <b>job:</b> text here</th>
- <th><i class="fas fa-home"></i> <b>residency:</b> text here</th></tr>
- <tr><th><i class="fas fa-star"></i> <b>zodiac:</b> text here</th>
- <th><i class="fas fa-chart-pie"></i> <b>mbti:</b> text here</th>
- </tr>
- </table>
- <div id="photos">
- <img src="IMG URL HERE" class="leftimg">
- <img src="IMG URL HERE" class="rightimg">
- </div>
- <div id="aesthetic">text here</div>
- </div></div></div></div></div></div></div></div></div></div></div>
- <!-- POP UP BOX 5 -->
- <div id="box5" class="popup_block">
- <img src="IMG URL HERE" class="largeimg">
- <div id="name">name</div>
- <table>
- <tr><th><i class="fas fa-portrait"></i> <b>faceclaim:</b> text here</th>
- <th><i class="fas fa-birthday-cake"></i> <b>age:</b> text here</th></tr>
- <tr><th><i class="fas fa-venus-mars"></i> <b>gender:</b> text here</th>
- <th><i class="fas fa-heart"></i> <b>sexuality:</b> text here</th></tr>
- <tr><th><i class="fas fa-briefcase"></i> <b>job:</b> text here</th>
- <th><i class="fas fa-home"></i> <b>residency:</b> text here</th></tr>
- <tr><th><i class="fas fa-star"></i> <b>zodiac:</b> text here</th>
- <th><i class="fas fa-chart-pie"></i> <b>mbti:</b> text here</th>
- </tr>
- </table>
- <div id="photos">
- <img src="IMG URL HERE" class="leftimg">
- <img src="IMG URL HERE" class="rightimg">
- </div>
- <div id="aesthetic">text here</div>
- </div></div></div></div></div></div></div></div></div></div></div>
- <!-- POP UP BOX 6 -->
- <div id="box6" class="popup_block">
- <img src="IMG URL HERE" class="largeimg">
- <div id="name">name</div>
- <table>
- <tr><th><i class="fas fa-portrait"></i> <b>faceclaim:</b> text here</th>
- <th><i class="fas fa-birthday-cake"></i> <b>age:</b> text here</th></tr>
- <tr><th><i class="fas fa-venus-mars"></i> <b>gender:</b> text here</th>
- <th><i class="fas fa-heart"></i> <b>sexuality:</b> text here</th></tr>
- <tr><th><i class="fas fa-briefcase"></i> <b>job:</b> text here</th>
- <th><i class="fas fa-home"></i> <b>residency:</b> text here</th></tr>
- <tr><th><i class="fas fa-star"></i> <b>zodiac:</b> text here</th>
- <th><i class="fas fa-chart-pie"></i> <b>mbti:</b> text here</th>
- </tr>
- </table>
- <div id="photos">
- <img src="IMG URL HERE" class="leftimg">
- <img src="IMG URL HERE" class="rightimg">
- </div>
- <div id="aesthetic">text here</div>
- </div></div></div></div></div></div></div></div></div></div></div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment