Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <!---- theme by jasnahdavar
- ------ DO NOT steal/redistribute/remove credit
- ------ ASK ME if you want to use as a base code i promise i'm nice
- ------ COLOURS:
- I would recommend going with a single colour but of course it's up to you!
- If you're going for a single colour just ctrl+F: #fd96a9 and replace with whatever colour you want
- I've also marked all the places where you can change colours in the code. Please don't edit any part of the code that I haven't marked for editing unless you know what you're doing
- ------ Hope you like it!
- ------>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="altertnate" type="application/rss+xml" href="{RSS}">
- <link href='http://fonts.googleapis.com/css?family=Fenix' rel='stylesheet' type='text/css'>
- <link href='http://fonts.googleapis.com/css?family=Fondamento' rel='stylesheet' type='text/css'>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- $(".b1").click(function(){
- $(".p1").animate({
- height:'290px',
- overflow:'auto',
- });
- $(".p2").animate({
- height:'0px',
- overflow:'hidden',
- });
- $(".p3").animate({
- height:'0px',
- overflow:'hidden',
- });
- });
- $(".b2").click(function(){
- $(".p2").animate({
- height:'290px',
- overflow:'auto',
- });
- $(".p1").animate({
- height:'0px',
- overflow:'hidden',
- });
- $(".p3").animate({
- height:'0px',
- overflow:'hidden',
- });
- });
- $(".b3").click(function(){
- $(".p3").animate({
- height:'290px',
- overflow:'auto',
- });
- $(".p1").animate({
- height:'0px',
- overflow:'hidden',
- });
- $(".p2").animate({
- height:'0px',
- overflow:'hidden',
- });
- });
- });
- </script>
- <style type="text/css">
- ::-webkit-scrollbar-thumb:vertical { height:12px; border:2px solid #fff; background-color:#fd96a9; }
- ::-webkit-scrollbar-thumb:horizontal { background-color:#fff; }
- ::-webkit-scrollbar { width:11px; height:7px; border:5px solid #fff; background-color:#fd96a9; }
- /* #fd96a9 in the three lines of code above is the scrollbar colour */
- body {
- background: #fff; /* BACKGROUND COLOR */
- color: #000; /* TEXT COLOR */
- font-size: 10px;
- font-family:calibri;
- overflow:hidden;
- }
- a:link, a:visited, a:active {
- font-weight:none;
- text-decoration:none;
- color:#5d2e46; /* LINK COLOR (ALSO TITLE COLOR) */
- transition:0.6s;
- }
- a:hover {
- color:#000;
- }
- #cont {
- border-top:50px solid #fd96a9; /*MEDIA LINKS BACKGROUND COLOR */
- width:500px;
- height:300px;
- left:50%;
- margin-left:-250px;
- top:50%;
- margin-top:-180px;
- position:fixed;
- }
- #title {
- position:fixed;
- height:40px;
- top:50%;
- left:0px;
- width:100%;
- margin-top:-215px;
- font-size:40px;
- font-family:arial;
- text-transform:lowercase;
- font-weight:bold;
- font-style:italic;
- text-align:Center;
- }
- .buttons {
- margin-top:-18px;
- text-align:center;
- }
- .b1, .b2, .b3 {
- font-family:arial;
- color:#f9f9f9; /* MEDIA LINKS COLOR */
- font-size:20px;
- font-weight:bold;
- cursor:help;
- display:inline-block;
- padding:0px 10px;
- transition:0.6s ease;
- }
- .b1:hover, .b2:hover, .b3:hover {
- color:#000; /* MEDIA LINKS HOVER COLOR */
- }
- /* do not edit the below section of code unless you are sure of what you are doing-*/
- .p1 {
- height:290px;
- width:490px;
- position:fixed;
- top:50%;
- margin-top:-125px;
- left:50%;
- margin-left:-250px;
- overflow:auto;
- padding:5px;
- }
- .p2, .p3 {
- height:0px;
- width:490px;
- position:fixed;
- top:50%;
- margin-top:-125px;
- left:50%;
- margin-left:-250px;
- overflow:auto;
- }
- #credit {
- position:fixed;
- z-index:100;
- bottom:10px;
- right:20px;
- }
- #credit a {
- background:#eee;
- color:#000;
- font-family:cambria;
- font-size:10px;
- padding:2px;
- }
- #credit a:hover {
- background:#000;
- color:#eee;
- }
- .film, .book, .show {
- height:120px;
- width:225px;
- margin:5px;
- display:inline-block;
- }
- .film img {
- height:120px;
- width:80px;
- }
- .book img {
- height:120px;
- width:80px;
- margin-left:72px;
- transition:0.6s;
- }
- .show img {
- height:120px;
- width:80px;
- margin-left:145px;
- transition:0.6s;
- }
- .film:hover .filmname {
- padding-top:8px;
- height:12px;
- opacity:1;
- margin-top:-19px;
- }
- .film:hover .filmdesc {
- width:135px;
- height:90px;
- padding:5px;
- opacity:1;
- margin-top:-120px;
- }
- .filmdesc {
- width:135px;
- padding:0px 5px;
- height:0px;
- opacity:0;
- overflow:auto;
- position:absolute;
- transition:0.6s;
- margin-top:0px;
- margin-left:80px;
- }
- .book:hover .bookdesc {
- opacity:1;
- margin-left:80px;
- }
- .book:hover img {
- margin-left:0px;
- }
- .show:hover .showname {
- padding-top:8px;
- height:12px;
- opacity:1;
- }
- .showdesc {
- width:135px;
- padding:0px 5px;
- height:0px;
- opacity:0;
- overflow:auto;
- position:absolute;
- transition:0.6s;
- margin-top:-120px;
- }
- .show:hover .showdesc {
- width:135px;
- height:90px;
- padding:5px;
- opacity:1;
- margin-top:-100px;
- }
- /* now you can edit the code below */
- /*--------------------------------FILMS--------------------------------*/
- .filmname {
- margin-top:0px;
- opacity:0;
- height:0px;
- background:#fd96a9; /* FILM TITLE BACKGROUND COLOUR */
- width:225px;
- position:absolute;
- font-style:italic;
- text-align:center;
- font-size:9px;
- color:#f9f9f9; /* FILM TITLE COLOUR */
- font-weight:bold;
- transition:0.6s;
- }
- /* -------------- BOOK ---------------------*/
- .bookdesc {
- height:110px;
- width:115px;
- padding:5px;
- border-left:15px solid #fd96a9; /* BOOK SPINE COLOUR */
- margin-top:-120px;
- margin-left:72px;
- position:absolute;
- opacity:0;
- transition:0.6s;
- overflow:auto;
- }
- .bookname::first-letter {
- background:#fd96a9; /* BOOK TITLE FIRST LETTER BACKGROUND COLOUR */
- font-family:cambria;
- padding:0px 2px;
- text-transform:uppercase;
- font-weight:bold;
- font-size:16px;
- }
- .bookname {
- border-bottom:1px solid #fd96a9; /* BOOK TITLE BORDER COLOUR */
- text-transform:uppercase;
- font-family:cambria;
- font-size:10px;
- }
- .author {
- text-align:right;
- font-weight:bold;
- text-transform:lowercase;
- }
- /*---------------------TV----------------------------*/
- .showname {
- margin-top:-120px;
- height:0px;
- opacity:0;
- background:#fd96a9; /* SHOW TITLE BACKGROUND COLOUR */
- width:225px;
- position:absolute;
- font-style:italic;
- text-align:center;
- font-size:9px;
- color:#f9f9f9; /* SHOW TITLE COLOUR */
- font-weight:bold;
- transition:0.6s;
- }
- /* RATINGS AND DATE WATCHED/READ */
- .stars {
- color:#e6d029; /* RATINGS COLOR */
- text-align:center;
- margin-bottom:5px;
- }
- .date {
- color:#8a96b5; /* DATE WATCHED/READ COLOR */
- text-align:center;
- font-style:italic;
- font-weight:bold;
- font-size:10px;
- margin-bottom:5px;
- }
- </style>
- </head>
- <body>
- <div id="cont">
- <div id="title">
- <a href="/">
- PAGE TITLE HERE
- </a>
- </div>
- <div class="buttons">
- <div class="b1">
- films
- </div>
- <div class="b2">
- books
- </div>
- <div class="b3">
- shows
- </div>
- </div>
- <!--------------------------- FILMS --------------------------------------->
- <div class="p1">
- <!--------------------------- FIRST FILM -------------------------->
- <div class="film">
- <img src="URL">
- <div class="filmname">
- FILM TITLE
- </div>
- <div class="filmdesc">
- <div class="stars">
- ☆☆☆☆☆
- </div>
- <div class="date">
- watched:
- </div>
- Description here. Rating and date watched are optional! Remove the above 6 lines of code if you don't want them.
- </div>
- </div>
- <!--------------------- END FIRST FILM --------------------------->
- <!---------- sample code for other films, just copy and paste above
- -------------------------------------------------------------begin:
- <div class="film">
- <img src="URL">
- <div class="filmname">
- FILM TITLE
- </div>
- <div class="filmdesc">
- <div class="stars">
- ☆☆☆☆☆
- </div>
- <div class="date">
- watched:
- </div>
- DESCRIPTION
- </div>
- </div>
- end:------------------------------------------------------------->
- </div>
- <!------------------------------------------------- END OF FILMS -------------------------->
- <!---------------------------------- BOOKS ------------------------------------------->
- <div class="p2">
- <!--------------------- FIRST BOOK -------------------->
- <div class="book">
- <img src="URL">
- <div class="bookdesc">
- <div class="bookname">
- TITLE
- </div>
- <div class="author">
- AUTHOR
- </div>
- DESCRIPTION HERE. Please notice that the html for the book code is slightly different from the film because .bookname appears within .bookdesc . Feel free to add the code for ratings or date read here as well.
- </div>
- </div>
- <!----------------------------- END FIRST BOOK -------------------------->
- <!---------- sample code for other books, just copy and paste above
- -------------------------------------------------------------begin:
- <div class="book">
- <img src="URL">
- <div class="bookdesc">
- <div class="bookname">
- TITLE
- </div>
- <div class="author">
- AUTHOR
- </div>
- DESCRIPTION
- </div>
- </div>
- end:------------------------------------------------------------->
- </div>
- <!------------------------------------------------- END OF BOOKS -------------------------->
- <!---------------------------------- SHOWS ------------------------------------------->
- <div class="p3">
- <!----------------------------- FIRST SHOW--------------------->
- <div class="show">
- <img src="URL">
- <div class="showname">
- SHOW NAME
- </div>
- <div class="showdesc">
- Sample description. Again, you can add the code for ratings and date watched here.
- </div>
- </div>
- <!--------------------------------- END FIRST SHOW ------------------------>
- <!---------- sample code for other books, just copy and paste above
- -------------------------------------------------------------begin:
- <div class="show">
- <img src="URL">
- <div class="showname">
- SHOW NAME
- </div>
- <div class="showdesc">
- DESCRIPTION
- </div>
- </div>
- end:------------------------------------------------------------->
- </div>
- </div>
- <!------------------------------------------------- END OF SHOWS-------------------------->
- <!----------------------------- please do not remove credit! :) -------------------->
- <div id="credit">
- <a href="http://jasnahdavar.tumblr.com">JD.</a>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment