Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--- PETALS 03 ! ——— a navigation page by @woodsbeyond / rosevois.
- — edit / customize the theme to your heart's content! i've done my best to organize and include instructions to the best of my ability, but if you have trouble with anything, feel free to ask!
- — DO NOT delete the credit. if you add in a background image and it somehow obstructs the credit / makes it harder to see, you may adjust the position.
- — find a bug, or something that looks wonky when you start customizing it? let me know so i can adjust it!
- COLOUR PALETTE ! ——— these are the colours i've used within the code. they are listed here so you can easily do a find + replace on them to edit in your preferred colour.
- #d2d2d2 : grey. used for icon & container borders.
- #f0f0f0 : page background & title image border.
- #fafafa : container background, header image text, header image border.
- #bb8b86 : header text ( for character name when you click on the pop up ), bold, scrollbar, & connection name.
- #98b5ae : links, italics, & text line above muse navigation on pop up.
- #a9726d : muse navigation links on pop up.
- #373334 : text.
- #ededed : fade background on pop up. --->
- <!DOCTYPE html>
- <html>
- <head>
- <title>PETALS, A MUSE PAGE.</title> <!--- Change the title of your page here --->
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <!-- POP UPS -->
- <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>
- <!-- TABS -->
- <script>
- $(document).ready(function(){
- $("ul#tabs li").click(function(e){
- if (!$(this).hasClass("active")) {
- var tabNum = $(this).index();
- var nthChild = tabNum+1;
- $("ul#tabs li.active").removeClass("active");
- $(this).addClass("active");
- $("ul#tab li.active").removeClass("active");
- $("ul#tab li:nth-child("+nthChild+")").addClass("active");
- }
- });
- });
- </script>
- <!-- TOOLTIPS -->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title],a[title],img[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:90,
- tip_fade_speed:600,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- <!--- FONT SCRIPTS --->
- <link href="https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" rel="stylesheet">
- <!--- LINEAR ICONS --->
- <link href="//dl.dropbox.com/s/vpi3f9s7nhpe7v7/honeybee.css" rel="stylesheet">
- <style>
- /* TOOLTIPS */
- .tooltip{
- display:inline;
- position:absolute;
- }
- #s-m-t-tooltip {
- color:#fafafa;
- border:3px double #cecece;
- margin:15px 10px 10px 10px;
- font-size:13px;
- text-transform:uppercase;
- font-family: 'Yanone Kaffeesatz', sans-serif;
- text-align:center;
- text-shadow:
- -1px -1px 0 #000,
- 1px -1px 0 #000,
- -1px 1px 0 #000,
- 1px 1px 0 #000;
- padding:4px 8px 2px 8px;
- background:url('https://66.media.tumblr.com/7f687423c404b80b6782c879ae692680/tumblr_inline_pkdp18xPtG1wp1vtq_1280.png') repeat;
- z-index:9999999999; repeat;
- }
- /* SCROLLBAR */
- ::-webkit-scrollbar {
- width:7px;
- background-color:#fafafa;
- }
- ::-webkit-scrollbar-thumb{
- border-top:10px solid #fafafa;
- border-left:3px solid #fafafa;
- border-right:3px solid #fafafa;
- background-color:#bb8b86;
- }
- /* GENERAL STYLING */
- a {
- color:#98b5ae;
- text-transform:uppercase;
- text-decoration:underline;
- font-weight:bold;
- letter-spacing:1px;
- }
- b, strong {
- font-size:13px;
- font-family: 'times', sans-serif;
- color: #bb8b86;
- }
- i, em {
- color:#98b5ae;
- }
- @font-face { font-family: "valentine"; src: url('https://dl.dropboxusercontent.com/s/3nei1qfbo38y9kk/valentine.ttf') ;}
- h1 {
- font-family: 'Yanone Kaffeesatz', sans-serif;
- font-size:12px;
- color:#fff;
- text-align:center;
- text-transform:uppercase;
- letter-spacing:2.5px;
- word-spacing:4px;
- font-weight:bold;
- border:3px double #fafafa;
- background-image:url('https://66.media.tumblr.com/2d173b59085dfefb146b48c530f04b10/tumblr_inline_pkdpb8xRDW1wp1vtq_1280.png'); /* section heading image for the pop up. */
- background-attachment:repeat;
- padding: 4px;
- margin-bottom:15px;
- text-shadow:
- -1px -1px 0 #000,
- 1px -1px 0 #000,
- -1px 1px 0 #000,
- 1px 1px 0 #000;
- }
- h2 {
- width:475px;
- font-family:'valentine';
- font-size:100px;
- color:#fafafa;
- text-align:center;
- font-weight:bold;
- text-transform:lowercase;
- transform:rotate(-3deg);
- margin-top:190px;
- margin-left:15px;
- line-height:75px;
- position:fixed;
- }
- /* MAIN AREAS */
- body {
- background-color:#f0f0f0;
- font-family: 'arial', sans-serif;
- font-size:10.5px;
- color:#373334;
- line-height:1.5;
- letter-spacing:.5px;
- }
- /* TITLE & NAV */
- #title {
- width:500px;
- height:470px;
- background:url('https://66.media.tumblr.com/c08bfd7378ec3ae9da93cef023716031/tumblr_inline_pn5zm9TSdX1wvl34y_1280.png'); /* image beside the muse list, behind the title */
- border:3px double #f0f0f0;
- top:0px;
- bottom:0px;
- left:0px;
- right:0px;
- margin:auto;
- position:fixed;
- }
- #plus a {
- position:fixed;
- font-size:25px;
- color:#bb8b86;
- text-align:center;
- text-decoration:none;
- margin-top:420px;
- margin-left:450px;
- background-color:#fafafa;
- width:30px;
- height:30px;
- line-height:30px;
- padding:2px;
- border-radius:100px;
- }
- /* POP UPS */
- .popup_block{
- display:none;
- background:#fafafa;
- text-align:justify;
- padding:20px;
- outline:1px solid #d2d2d2;
- position:fixed;
- top:52%;left:51.3%;
- z-index: 99999;
- width:480px;
- height:540px;
- overflow:hidden;
- }
- *html #fade {position: absolute;}
- *html .popup_block {position: absolute;}
- #fade {
- display:none;
- position:fixed;
- left:0px;
- top:0px;
- width:100%;
- height:100%;
- z-index:9999;
- background:#ededed;
- opacity:.6; /* change opacity to 1 for a solid colour, or .1-.9 for varying degrees of transparency. */
- }
- /* MUSE INFO */
- #poptag {
- width:410px;
- text-align:center;
- margin-top:15px;
- margin-bottom:5px;
- margin-left:22px;
- font-size:12px;
- color:#98b5ae;
- font-weight:bold;
- text-transform:uppercase;
- }
- #popnav {
- width:410px;
- text-align:center;
- margin-left:22px;
- font-size:13px;
- padding:10px;
- border-top:1px solid #cecece;
- }
- #popnav a {
- color:#a9726d;
- text-decoration:none;
- font-weight:bold;
- padding:4px;
- }
- /* CREDIT — DO NOT TOUCH! */
- #credit {
- bottom:10px;
- right:10px;
- border:1px solid #d2d2d2;
- font-size:10px;
- font-family: 'Open Sans', sans-serif;
- position:fixed;
- border-radius:100px;
- }
- #credit a {
- color:#bb8b86;
- padding:5px;
- text-decoration:none;
- background-color:#fafafa;
- border-radius:100px;
- transition-duration:1s;
- -moz-transition-duration:1s;
- -webkit-transition-duration:1s;
- -o-transition-duration:1s;
- }
- #credit a:hover {
- color:#98b5ae;
- text-decoration:none;
- background-color:#fafafa;
- }
- </style>
- </head>
- <body>
- <div id="title">
- <h2> navigate </h2>
- <div id="plus"> <a href="#?w=480" rel="pop" class="poplight" title="click here!">+</a> </div>
- </div>
- <!--- START POP UP! --->
- <div id="pop" class="popup_block" style="width:auto;padding:16px;">
- <div id="poptag"> put your title here ! </div>
- <div id="popnav">
- <!--- this is where your links go. place your url in the "s following the 'href='
- if you don't need all the links, just delete that line and the bits after it. you can change the icons at http://honeybee.suiomi.com/, or if you'd rather use linear icons like the other versions of PETALS, visit this link: https://linearicons.com/free#cdn --->
- <a href="/" title="one"><span class="th th-chat-bubble"></span></a>
- <a href="/" title="two"><span class="th th-list-o"></span></a>
- <a href="/" title="three"><span class="th th-hashtag"></span></a>
- <a href="/" title="four"><span class="th th-heart-1-o"></span></a>
- <a href="/" title="five"><span class="th th-cross"></span></a>
- <a href="/" title="six"><span class="th th-camera"></span></a>
- <a href="/" title="seven"><span class="th th-quote-up"></span></a>
- <a href="/" title="eight"><span class="th th-music"></span></a>
- <a href="/" title="nine"><span class="th th-diamond"></span></a>
- <a href="/" title="ten"><span class="th th-settings"></span></a>
- </div>
- <div style="margin-top:10px;padding-left:10px;padding-right:10px;height:450px;overflow-y:scroll;">
- <!--- this is where your rules go. wrap your headings in <h1>HEADING</h1>, type your info in:
- <ul style="padding-left:15px;padding-right:15px;margin-bottom:20px;">
- info here!
- </ul>
- i recommend excluding the 'margin-bottom:20px' on your last section.
- alternately, you can use a single instance of the <ul> tags and forego the headings entirely, depending on how you prefer to format your rules. --->
- <h1> section one </h1>
- <ul style="padding-left:15px;padding-right:15px;margin-bottom:20px;">
- add your rules here! vestibulum fermentum non lectus at cursus. cras suscipit, risus at porta hendrerit, risus metus facilisis magna, et laoreet ex est ac nulla. vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; suspendisse facilisis leo lectus, sit amet pretium eros pretium sed. etiam pretium finibus egestas. donec sed vehicula risus. aliquam tincidunt massa at ultricies rutrum. aliquam erat volutpat.
- </ul>
- <h1> section two </h1>
- <ul style="padding-left:15px;padding-right:15px;margin-bottom:20px;">
- add your rules here! vestibulum fermentum non lectus at cursus. cras suscipit, risus at porta hendrerit, risus metus facilisis magna, et laoreet ex est ac nulla. vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; suspendisse facilisis leo lectus, sit amet pretium eros pretium sed. etiam pretium finibus egestas. donec sed vehicula risus. aliquam tincidunt massa at ultricies rutrum. aliquam erat volutpat.
- </ul>
- <h1> section three </h1>
- <ul style="padding-left:15px;padding-right:15px;margin-bottom:20px;">
- add your rules here! vestibulum fermentum non lectus at cursus. cras suscipit, risus at porta hendrerit, risus metus facilisis magna, et laoreet ex est ac nulla. vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; suspendisse facilisis leo lectus, sit amet pretium eros pretium sed. etiam pretium finibus egestas. donec sed vehicula risus. aliquam tincidunt massa at ultricies rutrum. aliquam erat volutpat.
- </ul>
- <h1> section three </h1>
- <ul style="padding-left:15px;padding-right:15px;">
- add your rules here! vestibulum fermentum non lectus at cursus. cras suscipit, risus at porta hendrerit, risus metus facilisis magna, et laoreet ex est ac nulla. vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; suspendisse facilisis leo lectus, sit amet pretium eros pretium sed. etiam pretium finibus egestas. donec sed vehicula risus. aliquam tincidunt massa at ultricies rutrum. aliquam erat volutpat.
- </ul>
- </div>
- </div>
- <!--- POP UP END! --->
- <!--- CREDIT. DO NOT TOUCH! --->
- <div id="credit"><a href="http://woodsbeyond.tumblr.com" title="woodsbeyond"><span class="lnr lnr-heart"></span></a></div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment