Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- //Blogroll #2
- by espoirthemes //
- +don't touch or remove the credit/egg
- +customizing instructions are throughout the code
- +the preview in the customization page might look kinda off, so you'll have to save and go to the page to make sure everything's working right
- -->
- <!DOCTYPE html >
- <html>
- <head>
- <title>Blogroll</title>
- <link rel="shortcut icon" href="{Favicon}">
- <script type="text/javascript"
- src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- </script>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
- <script>
- $(document).ready(function(){
- $('#press').click(function(){
- $('.panel').slideToggle('slow');
- });
- });
- </script>
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
- </head>
- <style type="text/css">
- /*this is the follow/dashboard buttons */
- .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop
- { white-space:nowrap; -webkit-filter: invert(100%); -moz-filter: invert(100%); filter: invert(100%); opacity:0.4; z-index:99999; top:2px;}
- /*tool tips */
- #s-m-t-tooltip{
- max-width:300px;
- margin-top:20px;
- margin-left:20px;
- border:1px solid white;
- box-shadow: 0px 0px 0px 2px #444;
- font-family:sans-serif;
- padding:5px 5px;
- background:#444;
- color:#fff;
- z-index:99999999;
- font-size:12px;
- letter-spacing:2px;
- }
- ::-webkit-scrollbar {
- width:10px;
- height:10px;
- }
- ::-webkit-scrollbar-thumb {
- background:#444;
- }
- ::-webkit-scrollbar-track {
- background:#2b2b2b;
- border: 4px solid #fff;
- }
- body {
- margin:0;
- word-wrap:break-word;
- /*background color and image. image url goes between the '' */
- background:#fff url('');
- /*font size: try not to make it too tiny */
- font-size:14px;
- font-family:sans-serif;
- line-height:110%;
- overflow:hidden;
- }
- /*links */
- a {
- text-decoration:none; /*erase this if you want links to be underlined */
- color:#444; /*color of links */
- }
- /*blogroll container */
- #container {
- position:relative;
- margin:50px auto; /*increasing the first number will move the container further down */
- width:600px;
- height:80vh;
- background:white; /*background color */
- padding:20px;
- border:1px solid #ddd; /*border around container */
- overflow:auto;
- }
- /* this is styling for each of the blogs */
- .follow {
- display:inline-block;
- padding:4px;
- margin:10px; /*this keeps the images and blog titles from being squished together */
- }
- .follow img {
- border-radius:100%; /*remove this if you want square images */
- padding:2px;
- border:1px solid #eee; /*border around images */
- float:left;
- width:60px; /*size of images. looks best if it's 64px or under */
- height:60px; /*keep same as the width or the images will be stretched */
- clear:both;
- }
- /*blog titles */
- /*this is what it looks like normally. it's hidden until you hover over the image */
- .name {
- width:0px;
- opacity:0;
- min-height:20px;
- max-height:30px;
- overflow:hidden;
- float:right;
- transition:.8s;
- text-align:left;
- border-bottom:1px solid #ddd; /*border underneath the name */
- }
- /* this is what the blog titles actually look like (after you hover over the image) */
- .follow:hover .name{
- opacity:1;
- transition:.8s;
- width:80px;
- }
- /*this is the menu icon at the top left of the screen */
- #sidebar {
- position:fixed;
- height:auto;
- width:auto;
- top:0px;
- padding:10px;
- padding-right:20px;
- padding-bottom:20px;
- left:0px;
- border-bottom-right-radius:100%; /*if you don't want it to be rounded, remove this line */
- background:#fff; /*color behind the menu icon */
- box-shadow:0px 0px 0px 1px #ddd; /*this is kind of like a border, so chang the 1px or #ddd to change the width and color */
- }
- /*menu icon */
- #press {
- cursor:pointer;
- font-size:18px;
- }
- /*this is the panel that shows up after you click on the menu icon */
- .panel {
- background:white; /*color of panel */
- padding:10px;
- width:200px; /*change the width of the panel */
- height:260px; /*looks best if it's around this height */
- overflow:auto;
- display:none;
- z-index:99;
- margin-left:100px; /*the bigger this number, the further from the left the panel will show up */
- border:1px solid #ddd; /*border */
- position:fixed;
- bottom:-8px;
- }
- /*this is the styling of the individual links in the panel */
- .links {text-align:left}
- .links li{
- list-style:none;
- position:relative;
- padding:10px;
- border-bottom:1px solid #eee; /*the border underneath each of the links */ }
- .links li a:before{content:'☐ '; /*this is what appears before each of the links. you can change it to whatever symbol you want */}
- .links li a:hover:before{content:'☒ '; /*this is the symbol after you hover over the link, again, it can be whatever symbol you want */}
- /*please don't touch the rest of the css */
- #egg { opacity:.8;right:10px; bottom:10px; position:fixed;bottom:4px;display:block; width: 14px; height: 18px; background-color:#FFFEFC; -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
- font-family: "bitxmap";
- border:1px solid #444; z-index:4;
- }
- #egg:hover { animation-name: egg;
- animation-duration: 1s;
- animation-iteration-count: infinite;}
- @keyframes egg{
- 0%{}
- 10%{transform:rotate(20deg)}
- 80%{transform:rotate(-20deg)}
- 100%{}
- }
- </style>
- <body>
- <!-- this is the panel that slides up from the bottom of the page -->
- <div class="panel">
- <p>
- <div class="links">
- <!-- you can change any of these links. to add more, copy
- <li><a href="URL">link</a></li>
- and place it after the rest of the links. -->
- <li><a href="/">home</a></li>
- <li><a href="/ask">ask</a></li>
- <li><a href="/archive">archive</a></li>
- <li><a href="/link">link</a></li>
- <!-- to remove links, erase the whole line betwen <li> and </li> -->
- </div> </p> </div>
- <div id="sidebar">
- <a id="press" >
- <!-- if you don't want the menu icon, you can change the "fa fa-bars" to any other icon from Font Awesome. -->
- <i class="fa fa-bars" style="color:#888;"></i>
- </a>
- </div>
- <!-- there's no real need to change anything else after this, it's just the basic html for a blogroll -->
- <div id="container"> {block:Following} {block:Followed}
- <div class="follow"><img src="{FollowedPortraitURL-96}">
- <div class="name"><a href="{FollowedURL}" title="{FollowedTitle}">{FollowedName}</a></div> </div> {/block:Followed} {/block:Following}
- </div>
- <a href="http://espoirthemes.tumblr.com" title="credit"><div id="egg"></div></a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement