Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*updates tab*/
- /* - made by Phil (spirkism), so please don't claim as your own
- - credit is appreciated but not mandatory - but please at least tell people where you got it if they ask :)
- - play around with the code as much as you like, use it as inspiration or whatever
- - but please don't use this as a basecode for an updates tab you want to release (ask me if you wanna do something like this, please)
- - if you need any help, just ask me! :) */
- #square1 {
- margin-left: 20px;
- margin-top: -35px;
- width: 10px;
- height: 10px;
- background-color: #4E4E4E; /* this is the colour of the squares */
- -webkit-transition: 1s ease;transition: 1s ease; /* change the '1s' to a different time if you want it to transition faster or slower */
- -o-transition: 1s ease; /* but then don't forget to change all of the others as well */
- -moz-transition: 1s ease;
- position: fixed;
- overflow: hidden;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- color: #4E4E4E; /* make sure this is the same colour as the squares or you might see some text in the squares when you don't hover over them */
- z-index: 9999999999; /*don't change this or you will fuck shit up */
- }
- #square1:hover {
- width: 150px;
- height: 200px; /* change this if you need the tab to have more or less room for text! */
- margin-left: 20px;
- margin-top: -35px;
- background-color: #fff; /* this is the background colour when you hover - for seemingly transparency make this the same colour as your blog background */
- font-size: 11px; /* this is the font size for the text in your updates tab /
- font-family: 'Calibri', sans-serif; /* here you can change the font for your updates tab text */
- color: #000; /* this is the text colour in your updates tab */
- text-align: center;
- -webkit-transition: 1s ease;transition: 1s ease; /* change these as well for slower or faster transition ! */
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- padding: 10px;
- }
- /* these are the follow squares, comments as seen above apply as well */
- #square2 {
- margin-left: 40px;
- margin-top: -35px;
- width: 10px;
- height: 10px;
- background-color: #4E4E4E;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- position: fixed;
- overflow: hidden;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- color: #4E4E4E;
- z-index: 999999999;
- }
- #square2:hover {
- width: 150px;
- height: 200px;
- margin-left: 40px;
- margin-top: -35px;
- background-color: #fff;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- color: #000;
- text-align: center;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- padding: 10px;
- }
- #square3 {
- margin-left: 60px;
- margin-top: -35px;
- width: 10px;
- height: 10px;
- background-color: #4E4E4E;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- position: fixed;
- overflow: hidden;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- color: #4E4E4E;
- z-index: 99999999;
- }
- #square3:hover {
- width: 150px;
- height: 200px;
- margin-left: 60px;
- margin-top: -35px;
- background-color: #fff;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- color: #000;
- text-align: center;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- padding: 10px;
- }
- #square4 {
- margin-left: 20px;
- margin-top: -15px;
- width: 10px;
- height: 10px;
- background-color: #4E4E4E;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- position: fixed;
- overflow: hidden;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- color: #4E4E4E;
- z-index: 9999999;
- }
- #square4:hover {
- width: 150px;
- height: 200px;
- margin-left: 20px;
- margin-top: -15px;
- background-color: #fff;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- color: #000;
- text-align: center;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- padding: 10px;
- }
- #square5 {
- margin-left: 40px;
- margin-top: -15px;
- width: 10px;
- height: 10px;
- background-color: #4E4E4E;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- position: fixed;
- overflow: hidden;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- color: #4E4E4E;
- z-index: 999999;
- }
- #square5:hover {
- width: 150px;
- height: 200px;
- margin-left: 40px;
- margin-top: -15px;
- background-color: #fff;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- color: #000;
- text-align: center;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- padding: 10px;
- }
- #square6 {
- margin-left: 60px;
- margin-top: -15px;
- width: 10px;
- height: 10px;
- background-color: #4E4E4E;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- position: fixed;
- overflow: hidden;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- color: #4E4E4E;
- z-index: 99999;
- }
- #square6:hover {
- width: 150px;
- height: 200px;
- margin-left: 60px;
- margin-top: -15px;
- background-color: #fff;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- color: #000;
- text-align: center;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- padding: 10px;
- }
- #square7 {
- margin-left: 20px;
- margin-top: 5px;
- width: 10px;
- height: 10px;
- background-color: #4E4E4E;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- position: fixed;
- overflow: hidden;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- color: #4E4E4E;
- z-index: 9999;
- }
- #square7:hover {
- width: 150px;
- height: 200px;
- margin-left: 20px;
- margin-top: 5px;
- background-color: #fff;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- color: #000;
- text-align: center;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- padding: 10px;
- }
- #square8 {
- margin-left: 40px;
- margin-top: 5px;
- width: 10px;
- height: 10px;
- background-color: #4E4E4E;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- position: fixed;
- overflow: hidden;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- color: #4E4E4E;
- z-index: 999;
- }
- #square8:hover {
- width: 150px;
- height: 200px;
- margin-left: 40px;
- margin-top: 5px;
- background-color: #fff;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- color: #000;
- text-align: center;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- padding: 10px;
- }
- #square9 {
- margin-left: 60px;
- margin-top: 5px;
- width: 10px;
- height: 10px;
- background-color: #4E4E4E;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- position: fixed;
- overflow: hidden;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- color: #4E4E4E;
- z-index: 99;
- }
- #square9:hover {
- width: 150px;
- height: 200px;
- margin-left: 60px;
- margin-top: 5px;
- background-color: #fff;
- color: #000;
- font-size: 11px;
- font-family: 'Calibri', sans-serif;
- text-align: center;
- -webkit-transition: 1s ease;transition: 1s ease;
- -o-transition: 1s ease;
- -moz-transition: 1s ease;
- padding: 10px;
- }
- #squares {
- position: fixed;
- margin-top: 10px; /* play around with these two numbers depending on where on your blog you want the squares */
- margin-left: 10px; /* right now it might show up somewhere strange, that depends on the theme you use tbh */
- }
Advertisement
Add Comment
Please, Sign In to add comment