Advertisement
booksinvolved

film page 01

Jul 8th, 2014
1,226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.48 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.  
  5. <head>
  6.  
  7. <!---- theme by jasnahdavar
  8. ------ DO NOT steal/redistribute/remove credit
  9. ------ ASK ME if you want to use as a base code i promise i'm nice
  10. ------ images are 140px x 209px . these dimensions are based on the imdb dimensions, but you can change that if you want
  11. ------ if your summary runs over a scrollbar will automatically appear
  12. ------ PLEASE don't forget to go to the end of the code and replace the text that says YOURURLHERE with your tumblr url for the askbox to work!!!
  13. ------>
  14.  
  15. <title>{Title}</title>
  16. <link rel="shortcut icon" href="{Favicon}">
  17. <link rel="altertnate" type="application/rss+xml" href="{RSS}">
  18. <link href='http://fonts.googleapis.com/css?family=Fenix' rel='stylesheet' type='text/css'>
  19.  
  20. <link href='http://fonts.googleapis.com/css?family=Fondamento' rel='stylesheet' type='text/css'>
  21.  
  22. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js" type="text/javascript"></script>
  23. <script type="text/javascript">// <![CDATA[
  24. $(document).ready(function() {
  25. //
  26. $('a.poplight[href^=#]').click(function() {
  27. var popID = $(this).attr('rel'); //Get Popup Name
  28. var popURL = $(this).attr('href'); //Get Popup href to define size
  29. var query= popURL.split('?');
  30. var dim= query[1].split('&');
  31. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  32. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  33. var popMargTop = ($('#' + popID).height() + 80) / 2;
  34. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  35. //Apply Margin to Popup
  36. $('#' + popID).css({
  37. 'margin-top' : -popMargTop,
  38. 'margin-left' : -popMargLeft
  39. });
  40. $('body').append('<div id="fade"></div>');
  41. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  42. return false;
  43. });
  44. $('a.close, #fade').live('click', function() {
  45. $('#fade , .popup_block').fadeOut(function() {
  46. $('#fade, a.close').remove(); //fade them both out
  47. });
  48. return false;
  49. });
  50. });
  51. // ]]></script>
  52.  
  53.  
  54.  
  55. <style type="text/css">
  56.  
  57.  
  58.  
  59. ::-webkit-scrollbar-thumb:vertical {
  60. background-color:#cfcfcf; /*slider color*/
  61. height:50px;
  62. }
  63.  
  64. ::-webkit-scrollbar-thumb:horizontal {
  65. background-color:#cfcfcf; /*slider color*/
  66. height:100px !important;
  67. }
  68.  
  69. ::-webkit-scrollbar {
  70. height:10px;
  71. width:7px;
  72. background-color:#eeeeee; /*bg color*/
  73. }
  74. body {
  75. background: #FFFFFF;
  76. font-size: 11px;
  77. color: #000000;
  78. font-family:helvetica;
  79.  
  80. }
  81.  
  82. a:link, a:active, a:visited {
  83. color: #000; /* LINK COLOR */
  84. text-decoration: none;
  85. -webkit-transition: all 0.3s ease-out;
  86. -moz-transition: all 0.3s ease-out;
  87. transition: all 0.3s ease-out;
  88. }
  89.  
  90. a:hover {
  91. color: #000; /* LINK HOVER */
  92. text-decoration: underline;
  93. -webkit-transition: all 0.3s ease-out;
  94. -moz-transition: all 0.3s ease-out;
  95. transition: all 0.3s ease-out;
  96.  
  97. }
  98.  
  99.  
  100. .popup_block{
  101. display:none;
  102. background:#FFF;
  103. padding:20px;
  104. border:2px solid #AAA;
  105. float:left;
  106. position:fixed;
  107. top:50%;left:50%;
  108. max-height:600px;
  109. overflow:auto;
  110. z-index: 99999;
  111. -webkit-box-shadow: 0px 0px 20px #000;
  112. -moz-box-shadow: 0px 0px 20px #000;
  113. box-shadow: 0px 0px 20px #000;}
  114.  
  115. img.btn_close {float: right;margin: -20 -20px 0 0;}
  116. *html #fade {position: absolute;}
  117. *html .popup_block {position: absolute;}
  118. #fade {display:none;background:#000;position:fixed;left:0;top:0;
  119. width:100%;height:100%;opacity:0.8;z-index:9999;}
  120.  
  121.  
  122. #credit {
  123. position:fixed;
  124. right:10px;
  125. bottom:10px;
  126. }
  127.  
  128. #credit a {
  129. color:#999;
  130. font-weight:bold;
  131. }
  132.  
  133. #credit a:hover {
  134. text-decoration:none;
  135. color:#000;
  136. }
  137.  
  138.  
  139. /* TITLE */
  140.  
  141. #title {
  142. position:fixed;
  143. height:50px;
  144. top:50%;
  145. margin-top:-280px;
  146. font-size:50px;
  147. font-family:arial;
  148. width:500px;
  149. left:50%;
  150. z-index:2;
  151. color:#666; /* title color */
  152. margin-left:-250px;
  153. }
  154.  
  155. #title::first-letter {
  156. color:#000; /* title first letter color */
  157. }
  158.  
  159. /* NAVLINKS */
  160.  
  161. #navlinks {
  162. position:fixed;
  163. width:100px;
  164. left:50%;
  165. margin-left:270px;
  166. top:50%;
  167. margin-top:-200px;
  168. height:460px;
  169. }
  170.  
  171. #navlinks a {
  172. padding-left:5px;
  173. border-left:10px solid #999; /* navlinks border color
  174. ----------------------------- looks best when it matches the box border
  175. -*/
  176. margin-bottom:10px;
  177. display:block;
  178. }
  179.  
  180. #navlinks a:hover {
  181. text-decoration:none;
  182. border-left:20px solid #999; /* navlinks hver border color */
  183. }
  184.  
  185. /* DESCRIPTION */
  186.  
  187. #desc {
  188. position:fixed;
  189. width:125px;
  190. left:50%;
  191. margin-left:-400px;
  192. bottom:50%;
  193. margin-bottom:-200px;
  194. text-align:right;
  195. padding:5px;
  196. color:#666; /* description color */
  197. }
  198.  
  199.  
  200. /* ---- CONTAINER ------------*/
  201.  
  202. #container {
  203. position:fixed;
  204. background:#fff; /* background */
  205. border:4px solid #999; /* border */
  206. height:450px;
  207. width:500px;
  208. top:50%;
  209. left:50%;
  210. margin-top:-230px;
  211. margin-left:-255px;
  212. border-radius:10px;
  213. padding:10px;
  214. overflow:auto;
  215. }
  216.  
  217. /* FILMS */
  218.  
  219. .film {
  220. width:140px;
  221. height:209px;
  222. /*-- height and width should match height and width of image --*/
  223. display:inline-block;
  224. margin:10px;
  225.  
  226.  
  227. }
  228.  
  229. .film img{
  230. width:140px;
  231. height:209px;
  232. /*--- !!! HEIGHT AND WIDTH OF IMAGES !!! ---*/
  233.  
  234. }
  235.  
  236. .film:hover .info{
  237. opacity:1;
  238. -webkit-transition:0.6s;
  239. -moz-transition:0.6s;
  240. transition:0.6s;
  241. width:130px;
  242. height:205px;
  243. overflow:auto;
  244. margin-top:-209px;
  245.  
  246. }
  247.  
  248. .info {
  249. height:205px;
  250. margin-top:-209px;
  251. width:0px;
  252. background:#fff; /* film info background */
  253. opacity:0;
  254. z-index:1000000;
  255. position:absolute;
  256. padding:5px;
  257. overflow:auto;
  258.  
  259. }
  260.  
  261. .filmtitle {
  262. text-align:center;
  263. text-transform:uppercase;
  264. font-size:14px;
  265. font-weight:bold;
  266. color:#4d7794; /* FILM TITLE COLOR */
  267. }
  268. .year {
  269. text-align:center;
  270. text-transform:uppercase;
  271. font-size:12px;
  272. font-weight:bold;
  273. color:#82a0b4; /* FILM YEAR COLOR */
  274. }
  275.  
  276. .rating {
  277. margin-top:5px;
  278. text-align:center;
  279. color:#ffcc00; /* RATING COLOR */
  280. }
  281.  
  282. .watched {
  283. text-align:left;
  284. font-size:9px;
  285. margin-top:5px;
  286. font-style:italic;
  287. color:#79afc2; /* DATE WATCHED COLOR */
  288. }
  289.  
  290. .summary {
  291. text-align:left;
  292. margin-top:7px;
  293. font-size:10px;
  294. margin-left:5px;
  295. color:#808080; /* SUMMARY TEXT COLOR */
  296. }
  297.  
  298. strong {
  299. color:#476bb2; /* BOLD TEXT COLOR */
  300. }
  301.  
  302. </style>
  303. </head>
  304. <body>
  305.  
  306. <div id="title">films</div>
  307.  
  308. <div id="navlinks">
  309.  
  310. <a href="/">home</a>
  311. <a class="poplight" href="#?w=300" rel="box1">recommend</a>
  312. <a href="http://tumblr.com">dash</a>
  313.  
  314. </div>
  315.  
  316. <div id="desc">
  317.  
  318. <!------ write a short description here ----------->
  319.  
  320.  
  321.  
  322.  
  323. </div>
  324.  
  325.  
  326. <!--------- films container ------------------------------------------>
  327.  
  328.  
  329. <div id="container">
  330.  
  331. <div class="film">
  332.  
  333. <img src="URL">
  334.  
  335.  
  336. <div class="info">
  337. <div class="filmtitle">TITLE</div>
  338. <div class="year">YEAR</div>
  339. <div class="rating">☆☆☆☆☆<!--- copy or remove as many stars as you want ---></div>
  340. <div class="watched">watched:DATE</div>
  341. <div class="summary"><strong>summary:</strong>write a summary here</div>
  342. </div>
  343. </div>
  344.  
  345. <!----- to add more films copy the following code -------->
  346.  
  347. <div class="film">
  348.  
  349. <img src="URL">
  350.  
  351. <div class="info">
  352.  
  353. <div class="filmtitle">TITLE</div>
  354. <div class="year">YEAR</div>
  355. <div class="rating">☆☆☆☆☆</div>
  356. <div class="watched">watched:DATE</div>
  357. <div class="summary">
  358. <strong>summary:</strong> summary here
  359. </div>
  360.  
  361. </div>
  362.  
  363. </div>
  364.  
  365.  
  366. <!----------- copy more films in the below space -------------------------------->
  367.  
  368.  
  369. <!------------ copy more films in the above space ------------------------------->
  370. </div>
  371.  
  372. <!--- DO NOT REMOVE CREDIT
  373. ----- PLEASE GO UNDER THE </BODY> TAG AND SEARCH FOR THE TEXT THAT SAYS YOURURLHERE. REPLACE IT WITH YOUR URL FOR THE ASKBOX TO WORK
  374. ----->
  375.  
  376. <div id="credit">
  377. <a href="http://jasnahdavar.tumblr.com">JD.</a>
  378. </div>
  379.  
  380. </body>
  381.  
  382. <div class="popup_block" id="box1"><iframe frameborder="0" height="150px" id="ask_form" scrolling="no" src="http://www.tumblr.com/ask_form/YOURURLHERE.tumblr.com" width="300px" style="background-color: transparent; overflow: hidden;"></iframe></div>
  383.  
  384. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement