Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TAB ONE
- shown on the left in the preview
- paste the following under <style type="text/css">
- .updatestab {
- top:40px; /* how far from the top the tab is*/
- left:40px; /* how far from the updatestab the tab is; you can change this to right if you like */
- position:fixed;
- width:170px; /* how wide the tab is */
- }
- .t {
- color:#555; /* you can use colorpicker.com to find a new color */
- font-weight:700;
- padding:5px 0px;
- display:inline-block;
- border-bottom:1px solid #eee; /* you can use colorpicker.com to change the #eee if you want the border to show as something other than light gray */
- }
- .bod {
- opacity:0;
- margin-top:10px;
- transition: .4s ease-in-out; -webkit-transition: .4s ease-in-out;-moz-transition: .4s ease-in-out;-o-transition: .4s ease-in-out;
- }
- .updatestab:hover .bod {
- opacity:1;
- }
- h9 {
- display:block;margin:5px 0px;
- color:#555; /* color of subheadings, use colorpicker.com if you want to change this */
- font-style:italic;
- }
- paste the following under <body>
- <!--start updates tab-->
- <div class="updatestab">
- <div class="t">updates</div> <!--main heading-->
- <div class="bod">
- <!--start editing updates text-->
- <h9>subheading</h9> <!--subheading: you can have as many of these as you want-->
- this is ur updates text! <b>bold</b>, <i>italics,</i> even a <a href="link url">super fancy link.</a>
- <p>
- this is a paragraph! use < p > but without the spaces to break your text up into chunks so it's more readable.
- <h9>another subheading</h9>
- <li> perhaps you could
- <li> go for some
- <li> bullet points ?
- <!--end editing updates text: don't edit beyond this point-->
- <p><a href="http://odeysseus.tumblr.com">O</a>
- </div>
- </div>
- <!--end updates tab-->
- TAB TWO
- shown in the middle of the preview
- paste the following under <style type="text/css">
- .mid {
- top:40px; /* how far from the top the tab is*/
- left:40px; /* how far from the left the tab is; you can change this to right if you like */
- width:160px;
- position:fixed;
- }
- .h {
- color:#444; /* color of the main heading */
- }
- .h i {
- background:#fafafa; /* background of the main heading */
- padding:5px;display:block;
- border:1px solid transparent;
- transition: .4s ease-in-out; -webkit-transition: .4s ease-in-out;-moz-transition: .4s ease-in-out;-o-transition: .4s ease-in-out;
- }
- .h:after,.c:before {
- width:100%;
- content:'';
- display:block;
- height:1px;
- margin-top:5px;
- background:#eee; /* background of border underneath main heading */
- transition: .4s ease-in-out; -webkit-transition: .4s ease-in-out;-moz-transition: .4s ease-in-out;-o-transition: .4s ease-in-out;
- }
- .c:before {
- background:#22898e; /* color of the border underneath main heading on hover, you can use colorpicker.com to change this */
- margin-top:-6px;position:absolute;z-index:5;
- width:0;opacity:.3;
- }
- .mid:hover .c:before {
- width:100%;}
- .c {
- width:0;opacity:0;
- transition: .4s ease-in-out; -webkit-transition: .4s ease-in-out;-moz-transition: .4s ease-in-out;-o-transition: .4s ease-in-out;
- }
- .mid:hover .h i {
- background:#fff; /* background of main heading on hover */
- border:1px solid #eee; /* #eee is the color of the border of the main heading on hover */
- }
- .mid:hover .c{
- width:100%;opacity:1;
- }
- h7 {
- margin:5px 0px;
- display:block;
- font-weight:700;
- color:#555; /* color of subheadings */
- }
- paste the following under <body>
- <!--start updates tab-->
- <div class="mid">
- <div class="h"><i>updates</i></div> <!--main heading-->
- <div class="c"> <!--start editing updates text-->
- <h7>subheading</h7> <!--subheading, you can have as many of these as you like-->
- this is ur updates text! <b>bold</b>, <i>italics,</i> even a <a href="link url">super fancy link.</a>
- <p>
- this is a paragraph! use < p > but without the spaces to break your text up into chunks so it's more readable.
- <h7>another subheading</h7>
- <li> perhaps you could
- <li> go for some
- <li> bullet points ?
- <!--end editing text: dont edit beyond this point-->
- <p><a href="http://odeysseus.tumblr.com">O</a>
- </div>
- </div>
- <!--end updates tab-->
- TAB THREE
- shown on the right of the preview
- paste the following under <style type="text/css">
- .update {
- top:40px; /* how far from top */
- right:40px; /* how far from the right: can change this to left if you want */
- position:fixed;
- width:63px; /* if your main heading has been cut off you might need to increase this width */
- transition: .4s ease-in-out; -webkit-transition: .4s ease-in-out;-moz-transition: .4s ease-in-out;-o-transition: .4s ease-in-out;
- }
- .up {
- padding:5px;
- color:#22898e; /* color of main heading, use colorpicker.com to change */
- font-size:12px; /* font size of main heading */
- letter-spacing:2px;
- margin-bottom:-15px!important;z-index:15;position:relative;
- border-top:1px solid #eee; /* change the #eee of this line and the line below if you want the borders to be a different color */
- border-bottom:1px solid #eee;
- background:#fff;
- text-align:center;
- transition: .4s ease-in-out; -webkit-transition: .4s ease-in-out;-moz-transition: .4s ease-in-out;-o-transition: .4s ease-in-out;
- }
- .date {
- opacity:0;
- background:#fff;
- padding-top:10px;
- transition: .4s ease-in-out; -webkit-transition: .4s ease-in-out;-moz-transition: .4s ease-in-out;-o-transition: .4s ease-in-out;
- }
- .update:hover {
- width:170px; /* width of updates tab on hover */
- }
- .update:hover .date {
- opacity:1;
- }
- .update:hover .up { border-bottom:1px solid transparent; }
- h8 {
- color:#22898e; /* color of main heading - change this using colorpicker.com */
- display:block;
- font-weight:700;
- text-align:center;
- margin:5px 0px;
- padding:5px;
- border-top:1px solid #eee;
- border-bottom:1px solid #eee;
- background:#fafafa;
- }
- paste the following under <body>
- <!--start updates tab-->
- <div class="update">
- <div class="up">updates</div> <!--main heading-->
- <div class="date">
- <h8>subheading</h8> <!--subheading: you can have as many of these as you want-->
- this is ur updates text! <b>bold</b>, <i>italics,</i> even a <a href="link url">super fancy link.</a>
- <p>
- this is a paragraph! use < p > but without the spaces to break your text up into chunks so it's more readable.
- <h8>another subheading</h8>
- <li> perhaps you could
- <li> go for some
- <li> bullet points ?
- <!--pls dont edit beyond this point-->
- <p><a href="http://odeysseus.tumblr.com">O</a>
- </div>
- </div>
- <!--end updates tab-->
Advertisement
Add Comment
Please, Sign In to add comment