Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- // about #1
- by espoirthemes //
- +don't move the egg. there's no reason to on this page.
- +the directions are marked by /* */ in css, and the rest of the content is under <body>
- +skip down to <style type="text/css"> to start the actual customization
- carousel tutorial by acuite
- -->
- <html>
- <head>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
- <script type="text/javascript" src="https://static.tumblr.com/lv6casp/aCNm74ixy/stepcarousel.js">
- /***********************************************
- * Step Carousel Viewer script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
- * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
- * This notice must stay intact for legal use
- ***********************************************/
- </script>
- <script type="text/javascript">
- stepcarousel.setup({
- galleryid: 'mygallery', //id of carousel DIV
- beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
- panelclass: 'panel', //class of panel DIVs each holding content
- autostep: {enable:false, moveby:1, pause:3000},
- panelbehavior: {speed:500, wraparound:false, wrapbehavior:'slide', persist:true},
- defaultbuttons: {enable: true, moveby: 1, leftnav: ['http://66.media.tumblr.com/1a53784f3e0efdba90624778161e17a3/tumblr_inline_mzhe64unBw1qfc9y0.gif', -40, 120], rightnav: ['http://66.media.tumblr.com/1daa68c7813ab37983767ae4d5fbac6d/tumblr_inline_mzhe45lYvU1qfc9y0.gif', 24, 120]},
- statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
- contenttype: ['inline'] //content setting ['inline'] or ['ajax', 'path_to_external_file']
- })
- </script>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
- <title>About </title>
- <link rel="shortcut icon" href="{Favicon}" />
- </head>
- <!-- start of CSS -->
- <style type="text/css">
- /* this is just the carousel, no need to mess with this part */
- .stepcarousel{
- position:relative;
- width:500px;
- height:50vh;
- }
- .stepcarousel .belt{position:absolute;left:0px;top:0px;}
- .stepcarousel .panel{float:left; overflow:auto;margin:10px;width:500px; height:50vh;}
- /* customization starts here */
- body{
- background:#f9fafe url(''); /*background */
- color:#222; /*text color */
- font-family:helvetica;
- /*do not make this font small */
- font-size:16px;
- line-height:140%;
- }
- /*this is the styling for the title of the tags sections */
- h1{
- background-color:#fff;
- padding:2px; font-size:18px;
- box-shadow:4px 4px #eee;
- border:1px solid #ddd;
- width:100px;
- }
- /*links */
- a{color:#aaa; /*link color */
- text-decoration:none;
- }
- a:hover{color:#0E2430;} /*link hover */
- /* styling of the container of everything */
- #container {
- margin:100px auto; /* making 100px bigger will move the container further down and smaller the opposite */
- border:1px solid #ddd;
- box-shadow:10px 10px rgba(50,50,50, .12); /*you can remove this line if you don't want a shadow */
- background:white;
- width:500px; /*it's best to keep the width this size, as it will mess with the panels too */
- padding:10px;
- position:relative;
- }
- /*battery */
- #battery {
- position:absolute;
- margin-top:-30px;
- }
- #battery i{
- color:black; /*battery color */
- font-size:18px; /*battery size */
- }
- /*about (speech bubble) */
- .description{
- padding:10px;
- position: relative;
- background:#eee; /*color of speech bubble */
- left:140px;
- width:300px;
- margin: 0;
- /*do not make this a small font */
- font-size:14px;
- padding:10px;
- z-index:2;
- /*erase the next 2 lines if you don't want the corners to be rounded */
- -moz-border-radius:10px;
- -webkit-border-radius:10px;
- box-shadow: 0px 0 1px rgba(0,0,0,0);
- }
- /* don't touch this next part */
- .description:after {
- position: absolute;
- display: block;
- content: "";
- border-color: #eee transparent transparent transparent;
- border-style: solid;
- border-width: 15px 15px 0px;
- height:0;
- width:0;
- transform:rotate(-10deg);
- position:absolute;
- left:-16px;
- top:26px;
- }
- .info {
- position:absolute;
- height:100px;
- width:100px;
- padding:6px;
- margin-top:110px;
- font-size:12px;
- }
- .text {padding:10px; width:400px; border-bottom:1px solid #eee;}
- /*blacklist */
- .blacklist {margin-top:20px; margin-left:60px; width:360px;}
- .blacklist li {
- list-style:none;
- display:inline-block;
- margin:4px;
- }
- .blacklist li:before{
- content:'✗'; /*this is the symbol that will appear before the words of the list. make sure to put a space after the symbol, otherwise the symbol appears too close to the words */
- color:#B40404; /*color of the symbol */
- }
- .spoons {margin-left:12px; margin-top:12px; }
- .spoons i {font-size:30px; /*spoon sizer */}
- /*this is the color for how many spoons you have */
- .full i {color:black; float:left;}
- /* color of spoons that you don't have */
- .empty i {color:#ddd; float:left;}
- /*editing anything past this part of the css isn't really recommended, because messing up here might throw off a lot of things.
- !!! please skip down to <body> !!! */
- .label {background-color:#eee; color:#222; padding:4px;}
- .info li {border:1px solid #eee; list-style:none; padding:none; margin:2; width:112px; margin-left:-6px;}
- #mygallery-paginate {
- position: absolute;
- width: 1000px;
- opacity: 0.5;
- margin: 0px 0;
- }
- #cont{
- margin:10px;
- }
- .entry{
- width:70px;
- height:70px;
- border:4px solid #eee;
- padding:2px;
- }
- .entry img{
- width:70px;
- height:70px;
- }
- #cont li {display:inline-block; list-style:none; margin:10px;
- }
- #mygallery-paginate img {cursor:help;}
- #egg { opacity:.8; left: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%;
- border:1px solid #222222; 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>
- <!-- end of css -->
- <body>
- <div id="container">
- <div id="battery">
- <!-- this is the battery that's on top of the container. the percentages are like this:
- after fa fa-battery- replace (or keep) quarter with:
- empty
- quarter
- half
- three-quarters
- full
- -->
- <i class="fa fa-battery-quarter"></i> !
- <!--end of battery -->
- </div>
- <!--don't touch thiese next three divs -->
- <div id="mygallery" class="stepcarousel">
- <div class="belt">
- <div class="panel"> <!--start of about -->
- <!-- this image is your avatar, but you can change {portraitUrl-96} with another image url if you want! -->
- <img src="{portraitUrl-96}" style="float:left; position:absolute; width:96px; height:96px; border:1px solid #eee; padding:8px">
- <!-- this is the little info sections under the avater -->
- <div class="info">
- <!-- each row is in between <li> and </li> in between <span class="label"> and </span> contains the category, and in between </span> and </li> is the info -->
- <li>
- <span class="label">
- age: </span> 19 </li>
- <li>
- <span class="label">
- gender:</span> ???</li>
- <li>
- <span class="label">
- birthday:</span> 12/21/96</li>
- <li>
- <span class="label">
- status:</span> active
- </li>
- <!-- end of info -->
- <center>
- <!-- here's the spoon meter! you can change the "3/5 spoons" to whatever label you want -->
- <a title="3/5 spoons">
- <!--here's where the actual spoon meter starts. this takes a little bit more of html than the previous parts -->
- <div class="spoons">
- <!-- the following class of "full" is where all of the spoons you actually have is. right now there are 3 spoons in the full class.
- to add more spoons to this class, copy <i class="fa fa-spoon"></li> and paste it after the last spoon on the list. and just erase one if you need to remove a spoon. -->
- <div class="full">
- <i class="fa fa-spoon"></i>
- <i class="fa fa-spoon"></i>
- <i class="fa fa-spoon"></i>
- </div>
- <!-- the next class, "empty" is for the spoons you don't have. By default, there's a total of 5 spoons, so there's only 2 spoons in this class.
- if you have more than 5 total spoons, add a <i class="fa fa-spoon"></li> like with the full class.
- Due to the space on the about panel, having a whole lot of spoons may throw the meter off. -->
- <div class="empty">
- <i class="fa fa-spoon"></i>
- <i class="fa fa-spoon"></i>
- </div>
- <!--
- If you can't/don't want to use spoons, you can change the word spoon to the word heart for a heart meter. Or you can use any other icon fron Font Awesome.
- also, if you don't want to use any meter, you can erase everything between <center> and the </center> below -->
- </div></a>
- </center>
- <!-- end of left section of the about -->
- </div>
- <!-- here's the actual about! you can write as much as you want, but it will scroll after a certain point -->
- <div class="description">
- I am an egg who tries to make themes. <br>
- This blog started out as a hypomanic impulse but is now a really neat hobby.
- <br> <br>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vulputate a sapien sit amet condimentum Lorem ipsum dolor sit amet, consectetur adipiscing elit.
- </div> <!-- end of about -->
- </div> <!-- end of about panel -->
- <!-- start of blacklist panel -->
- <div class="panel">
- <i class="fa fa-times" style="float:left; font-size:50px; padding:6px; text-shadow:2px 2px rgba(50,50,50,.2);"></i>
- <!-- this is the title of this section -->
- <div class="text">
- please tag these things for me:
- </div>
- <!-- this is the actual blacklist part. replace words between <li> </li> with what you want people to tag for you. erase the line between <li> </li> if you want to remove one, or copy and paste it to add another one to the list -->
- <div class="blacklist">
- <li> gore</li>
- <li> nsfw </li>
- <li> blood</li>
- <li> horror</li>
- <li> emetophobia </li>
- <li> suicide </li>
- <li> eye strain</li>
- <li> flashing gif </li>
- </div> <!-- end of blacklist -->
- </div> <!-- end of blacklist panel -->
- <!-- tags/links/navigation panel -->
- <div class="panel">
- <div class="text">
- <i class="fa fa-tags"></i> Tags</div>
- <center>
- <table cellpadding="10">
- <!--section 1-->
- <tr><td>
- <h1>Name</h1><!--name of the section of links-->
- <!--add the name of your tag after /tagged/, and replace tag name with whatever the tag is -->
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- </td>
- <!--section 2 -->
- <td>
- <h1>Name</h1>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- </td>
- <!--section 3 -->
- <td>
- <h1>Name</h1>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- </td></tr>
- <!--section 4 -->
- <tr><td>
- <h1>Name</h1>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- </td>
- <!--section 5 -->
- <td>
- <h1>Name</h1>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- </td>
- <!--section 6 -->
- <td>
- <h1>Name</h1>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- <a href="/tagged/">tag name</a><br>
- </td>
- </tr></table></center>
- </div><!-- end tags -->
- <!-- this last panel can be whatever you want, but I've set it up to be a family/network/ID/kin type thing. if you want it to just be text, erase everything between <div id="cont"> and the </div> before <!--end last panel content -->
- <div class="panel">
- <div class="text">Title of section</div>
- <div id="cont">
- <li>
- <div class="entry"> <!--first entry -->
- <!-- enter the url of the image of whatever you're using this for. the title is the info/description that appears when you hover over the picture. this can be the name of the user, ID, etc.
- if you want the image to become a link too:
- put <a href="URL"> before <img src="" title="">
- and </a> after the image. -->
- <img src="" title="">
- </div></li> <!--end first entry -->
- <!-- 2nd entry -->
- <li><div class="entry">
- <img src="" title="">
- </div></li> <!-- end of 2nd entry -->
- <!--3rd entry -->
- <li><div class="entry">
- <img src="">
- </div></li> <!-- end of 3rd entry -->
- <li><div class="entry"> <!-- 4th entry -->
- <img src="">
- </div></li> <!--end of 4th entry -->
- </div>
- <!-- end last panel content -->
- </div>
- <!--end last panel -->
- </div> <!-- end belt -->
- </div> <!--end slider -->
- </div> <!--end container -->
- <!-- and that's it! I hope I explained this clearly enough. I can try to help if something is confusing!
- if you want the circle navigation icons for the slides, erase the next set of <!-- and -->
- <!--
- <br> <div align="center">
- <p id="mygallery-paginate" style="width:230px; top:60px; line-space:10px; left:600px; z-index:100; border:1px solid transparent; border-bottom:1px solid #eee">
- <img src="http://www.dynamicdrive.com/dynamicindex4/opencircle.png" data-over="http://www.dynamicdrive.com/dynamicindex4/graycircle.png" data-select="http://www.dynamicdrive.com/dynamicindex4/closedcircle.png" data-moveby="1" /></p><br>
- </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