Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <!--
- THEME #1 > BLOGROLL PAGE
- @ WGTHEMES.TUMBLR.COM / WEDNESGAY.TUMBLR.COM
- >>> PLEASE DO NOT REMOVE THIS TEXT
- --------------------------------------------------------
- RULES:
- -- You CAN:
- ► edit to your liking for YOUR PERSONAL USE
- ► change the colors and images and etc (of course)
- -- You CANNOT
- ► steal
- ► redistribute
- ► claim as your own
- ► take any part of the code
- ► use as a base
- ► remove the credit
- ► combine with other themes
- You can find my themes blog at http://wgthemes.tumblr.com
- >>> PLEASE DO NOT REMOVE THIS TEXT
- --------------------------------------------------------
- CUSTOMIZING:
- All the colors and fonts are first, grouped together by the way I used them. You can, of course, split them and give each one its own color if you know what you're doing.
- In the html section (CTRL + F <body>), there are notes for changing the sidebar around. You can:
- ► Add custom links (as many as you want tbh)
- ► Add a sidebar image (remove the icon)
- ► Add your blog title
- Enjoy!
- --------------------------------------------------------
- CREDITS:
- ► Masonry script: http://isotope.metafizzy.co/
- ► Tooltip script: http://manos.malihu.gr/style-my-tooltips-jquery-plugin/
- ► Ellipsis script: http://stackoverflow.com/questions/536814/insert-ellipsis-into-html-tag-if-content-too-wide
- >>> PLEASE DO NOT REMOVE THIS TEXT
- -->
- <head>
- <title>{Title}</title> <!-- you can put a custom title here or add one after (e.g. {Title} | Tags) -->
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />
- {/block:Description}
- <!-- WEBFONTS -->
- <link href='http://fonts.googleapis.com/css?family=Satisfy' rel='stylesheet' type='text/css'>
- <!-------- SCRIPTS -------->
- <!-- jquery (necessary) -->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"
- type="text/javascript"></script>
- <!-- tooltip script -->
- <script src="http://static.tumblr.com/xgofl0y/O7Fm1ufj3/jquery.style-my-tooltips.js" type="text/javascript"></script>
- <script>
- $().ready(function() {
- $("[title]").style_my_tooltips({
- tip_follows_cursor: "on", //on/off
- tip_delay_time: 200 //milliseconds
- });
- });
- </script>
- <style type="text/css">
- /* ---------------- colors ------------- */
- body{
- background-color:#eee;
- color:#919191;
- }
- /* link color */
- a:link, a:visited, a:active, .box .content, .box:hover .content, #s-m-t-tooltip, #cred:hover{
- color:#ff88aa;
- }
- #cred{ border: 1px solid #ff88aa; }
- /* link hover color */
- a:hover{ color: #26b3ec; }
- /* navigation + icon hover + credit background color */
- .links .alinks a:hover, .box:hover .icon, .icon:hover, #cred { background-color:#ff88aa; }
- /* "pattern" color and image */
- #top, .patterncontent, ::-webkit-scrollbar-thumb{
- background-color:#e4f6fa;
- background-image: url(YOURURLHERE);
- }
- /* box color */
- .content, .icon, ::-webkit-scrollbar-track, #s-m-t-tooltip, .links .alinks a, .patphoto, #cred:hover{ background-color: #fff; }
- /* box border color (same as box color) */
- .sidebar, .box, ::-webkit-scrollbar-thumb{
- border: 1px solid #fff;
- }
- /* navigation + selection + credit color */
- .links .alinks a:hover, ::selection, ::-webkit-selection, #cred{ color: #fff; }
- /* blogtitle/box title color + text shadow */
- .blogtitle{
- color:#ff88aa;
- text-shadow:
- 3px 0px 0px #fff, -3px 0px 0px #fff, 0px 3px 0px #fff, 0px -3px 0px #fff, 3px 1px 0px #fff,
- -3px 1px 0px #fff, 1px 3px 0px #fff, 1px -3px 0px #fff,
- 3px -1px 0px #fff, -3px -1px 0px #fff, -1px 3px 0px #fff, -1px -3px 0px #fff,
- 3px 2px 0px #fff, -3px 2px 0px #fff, 2px 3px 0px #fff, 2px -3px 0px #fff,
- 3px -2px 0px #fff, -3px -2px 0px #fff, -2px 3px 0px #fff, -2px -3px 0px #fff; /* delete this if you don't want the text shadow */
- }
- /* selection background color */
- ::selection, ::-webkit-selection{ background-color: #f4e597;}
- /* tooltip border */
- #s-m-t-tooltip{ border: 1px solid #d9d9d9; }
- /* ---------------------- fonts ---------------------- */
- body{
- font-family: Calibri;
- font-size:10px;
- }
- .blogtitle{
- font-family: 'Satisfy', georgia, times new roman;
- }
- /* ---------------------- body ---------------------- */
- body{
- line-height:;
- background-image: url();
- background-position: left top;
- background-attachment: fixed;
- background-repeat: repeat;
- }
- a:link, a:visited, a:active, a:hover{
- text-decoration:none;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- cursor: pointer;
- }
- ul, ol{ margin-left:-15px; font-weight:bold; margin-top: 0px; margin-bottom: 0px; }
- li{ font-weight:normal; position: relative; padding: 0; }
- li img{ position: relative; max-width:100%; }
- pre{ word-wrap: break-word; }
- p{ margin-top:0px; }
- table{ font-size:10px;}
- #s-m-t-tooltip{
- position:absolute; z-index:90000000000000000; font-size:80%; text-transform: uppercase;; display:inline-block; padding: 3px 7px; max-width:350px; word-wrap: break-word; font-weight: normal; }
- /* ---------------------- side ---------------------- */
- #side{
- width:210px;
- height:100%;
- position: fixed;
- left:40px;
- top: 0;
- }
- #top td{ padding: 10px 5px; }
- .iconcell{ width:50px; padding-right: 0!important; }
- .icon{
- position:relative;
- display: inline-block;
- width:30px;
- height:30px;
- padding: 10px;;
- -webkit-border-radius: 500px 500px 500px 500px;
- border-radius: 500px 500px 500px 500px;
- }
- .icon, .icon:hover{
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out;
- }
- .icon img{
- width:30px;
- position: relative;
- top:0px;
- -webkit-border-radius: 500px 500px 500px 500px;
- border-radius: 500px 500px 500px 500px;
- border: 0px solid;
- }
- .sidebar .content p:last-child{ margin-bottom: 0 }
- /* ---------------------- links ---------------------- */
- .links .alinks a{
- display: inline-block;
- padding: 2px 5px;
- margin: 2px;
- text-transform: uppercase; font-size: 80%;
- text-align: center;
- position: relative;
- }
- /* -------------------- POSTS -------------------- */
- #main{
- max-width:875px;
- min-width:350px;
- position: relative;
- margin-left: 270px;
- height:100%;
- display: block;
- }
- #container{
- height:100%;
- position:relative;
- top:0px;
- padding: 20px 0px 20px 0px;
- z-index:150;
- }
- .content{
- padding: 15px;
- position: relative;
- z-index:150!important;
- margin: auto;
- }
- #main .content{
- padding: 5px;
- text-align: center;
- text-transform: uppercase;
- font-size: 8px;
- word-wrap: break-word;
- }
- .box{
- position: absolute;
- width: 80px;
- display: block;
- margin: 10px;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out;
- }
- .patterncontent{
- padding: 5px 10px;
- position: relative;
- text-align: center;
- }
- .box * { -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out; }
- #main .icon{ width: 40px; height: 40px; }
- #main .icon img{ width: 40px; }
- .box .content {
- white-space: nowrap;
- overflow: hidden;
- display: block;
- }
- /* ---------------------- MISC SECTION ---------------------- */
- ::selection, ::-webkit-selection{
- }
- ::-webkit-scrollbar{
- height: 11px;
- width: 11px;
- }
- ::-webkit-scrollbar-thumb{
- }
- ::-webkit-scrollbar-track{
- background-color: #fff;
- }
- #cred{
- position: fixed; right: 10px; bottom: 10px;
- text-transform: uppercase;
- padding: 5px 4px;
- font-size: 9px;
- text-align: center;
- font-family: consolas, monospace, courier;
- height: 10px; width: 12px;
- -webkit-border-radius: 100px;
- border-radius: 100px;
- z-index: 10000;
- }
- #cred span{ display: inline-block; width: 1px; }
- img{
- -moz-user-select: none;
- -webkit-user-select: none;
- /* this will work for QtWebKit in future */
- -webkit-user-drag: none;
- }
- /* ---------------------- custom css ---------------------- */
- {CustomCSS}
- </style>
- </head>
- <body>
- <a id="cred" href="http://wgthemes.tumblr.com">w<span></span>g</a>
- <table id="side" cellspacing="0" cellpadding="0"><tr><td>
- <div class="sidebar">
- <table id="top" cellspacing="0" cellpadding="0"><tr>
- <!-- if you want the sidebar image, delete from <td class="iconcell"> to </a></td> -->
- <td class="iconcell"><a href="/" class="icon"><img src="{PortraitURL-30}"></a></td>
- <td class="links">
- <!-- if you want your blog title to show up, paste the code below right above <div class="alinks">
- <a href="/" class="blogtitle" style="margin-left: 5px;">{Title}</a>
- if you have the sidebar image, paste the code below either above or below the sidebar image code
- <a href="/" class="blogtitle" style="text-align: center">{Title}</a>
- -->
- <!-- if you want the sidebar image, paste the code below right above <div class="alinks>
- <center><a href="/" class="patphoto"><img src="YOURURLHERE"></a>
- -->
- <div class="alinks"><a href="/">home</a><a href="/ask">ask</a><a
- href="/archive">archive</a><!-- YOUR LINKS HERE --><a href="YOURURLHERE">link 1</a><a href="YOURURLHERE">link 2</a><a href="YOURURLHERE">link 3</a><a href="YOURURLHERE">link 4</a><a href="YOURURLHERE">link 5</a><!-- END LINKS --></div>
- </center></td>
- </table>
- <div class="content">{Description}</div>
- </div>
- </td></tr></table>
- <div id="main">
- {block:Following}
- <div id="container">
- {block:Followed}<a href="{FollowedURL}" class="box">
- <div class="patterncontent">
- <div class="icon"><img src="{FollowedPortraitURL-64}"></div>
- </div>
- <div class="content">{FollowedName}</div>
- </a>{/block:Followed}
- </div>
- {/block:Following}
- <!-- ELLIPSIS SCRIPT -- DON'T DELETE -->
- <script type="text/javascript">
- (function($) {
- $.fn.ellipsis = function()
- {
- return this.each(function()
- {
- var el = $(this);
- if(el.css("overflow") == "hidden")
- {
- var text = el.html();
- var multiline = el.hasClass('multiline');
- var t = $(this.cloneNode(true))
- .hide()
- .css('position', 'absolute')
- .css('overflow', 'visible')
- .width(multiline ? el.width() : 'auto')
- .height(multiline ? 'auto' : el.height())
- ;
- el.after(t);
- function height() { return t.height() > el.height(); };
- function width() { return t.width() > el.width(); };
- var func = multiline ? height : width;
- while (text.length > 0 && func())
- {
- text = text.substr(0, text.length - 1);
- t.html(text + "...");
- }
- el.html(t.html());
- t.remove();
- }
- });
- };
- })(jQuery);
- </script>
- <script type="text/javascript">
- $(".box .content").ellipsis();
- </script>
- <!-- MASONRY SCRIPT -- DON'T DELETE -->
- <script src="http://static.tumblr.com/wcpu05v/zmTmgvpno/jquery.isotope.min.js" type="text/javascript"></script>
- <script>
- $(function(){
- var $container = $('#container');
- $container.isotope({
- itemSelector: '.box'
- });
- });
- </script>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement