Advertisement
booksinvolved

fic rec page 01

Jun 27th, 2014
1,216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.06 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 am nice
  10. -------- the code for each book is a little lengthy sorry
  11. -------- there is literally no limit to how many subheadings/books you can have go wild
  12. -------- !IMPORTANT! necessary fields to fill in are fic title, author, summary and rating for the code to work best!!!
  13. -------- be careful not to let the topbar description run over
  14. -------- please try to keep the title to as few words as possible
  15. -------- this can also be used for books instead of fics in which case you dont need to add the link to read if it doesn't apply
  16. -------- there's a ton of more help in the code but my askbox is always open!!! :)
  17. -------->
  18.  
  19. <title>{Title}</title>
  20. <link rel="shortcut icon" href="{Favicon}">
  21. <link rel="altertnate" type="application/rss+xml" href="{RSS}">
  22. <meta name="description" content="{MetaDescription}" />
  23. <link href='http://fonts.googleapis.com/css?family=Fenix' rel='stylesheet' type='text/css'>
  24.  
  25. <link href='http://fonts.googleapis.com/css?family=Fondamento' rel='stylesheet' type='text/css'>
  26.  
  27.  
  28. <style type="text/css">
  29. ::-webkit-scrollbar-thumb:vertical {
  30. background-color:#a3a3a3; /* SLIDER COLOR */
  31. height:50px;
  32. direction:rtl;
  33. }
  34.  
  35. ::-webkit-scrollbar-thumb:horizontal {
  36. background-color:#a3a3a3; /*SLIDER COLOR*/
  37. height:50px !important;
  38. }
  39.  
  40. ::-webkit-scrollbar {
  41. height:10px;
  42. width:7px; /*SLIDER WIDTH*/
  43. background-color:#e6e6e6; /*SLIDER BG COLOR*/
  44. }
  45.  
  46. body{
  47. background:#fff;
  48. font-size:11px;
  49. color:#000;
  50. font-family:helvetica;
  51. overflow:auto;
  52. }
  53.  
  54. a:link, a:active, a:visited {
  55. color:#0000ff;
  56. -webkit-transition:0.6s ease-out;
  57. -moz-transition:0.6s ease-out;
  58. transition:0.6s ease-out;
  59. text-decoration:none;
  60. }
  61.  
  62. a:hover {
  63. color:#ff0000;
  64. }
  65. @font-face {font-family:Bebas Neue;src:url(http://static.tumblr.com/cvlbtjz/cnsln9tpp/bebasneue.otf);}
  66.  
  67.  
  68. /*------- TOPBAR ----------*/
  69.  
  70. #topbar {
  71. position:absolute;
  72. top:10px;
  73. left:50%;
  74. width:500px;
  75. margin-left:-250px;
  76. border-left:1px solid #000;
  77. border-bottom:1px solid #000;
  78. height:100px;
  79. }
  80.  
  81. #title {
  82. position:absolute;
  83. width:100px;
  84. left:50%;
  85. margin-left:-360px;
  86. text-align:right;
  87. font-size:20px;
  88. font-family:"bebas neue";
  89. top:50px;
  90. }
  91.  
  92. .desc {
  93. margin-top:20px;
  94. margin-left:50px;
  95. height:80px;
  96. color:#999; /*--- description color ---*/
  97. }
  98.  
  99. .navl {
  100. text-align:right;
  101. margin-top:10px;
  102. font-style:italic;
  103. }
  104.  
  105. .navl a{
  106. color:#000; /* navlink color */
  107. margin-left:10px;
  108. }
  109.  
  110. .navl a:hover {
  111. text-decoration:underline;
  112. }
  113.  
  114.  
  115.  
  116. #cont {
  117. left:50%;
  118. margin-left:-250px;
  119. width:500px;
  120. height:auto;
  121. margin-top:150px;
  122. position:absolute;
  123. }
  124.  
  125. /*----- fic rec box ---*/
  126.  
  127. .box {
  128. border-top:1px solid #000;
  129. border-right:1px solid #000;
  130. margin-bottom:50px;
  131. width:500px;
  132. margin-top:50px;
  133. }
  134.  
  135. .subheading {
  136. margin-top:-20px;
  137. font-family:"arial";
  138. font-size:16px;
  139. font-weight:bold;
  140. }
  141.  
  142.  
  143. /*---- book -----*/
  144.  
  145. .book {
  146. width:150px;
  147. height:200px;
  148. display:inline-block;
  149. margin-right:20px;
  150. margin-bottom:5px;
  151. margin-left:10px;
  152. margin-top:20px;
  153. background:#fafafa; /* book bg color */
  154. border-left:20px solid #cfcfcf; /* book border color */
  155.  
  156. }
  157.  
  158.  
  159. /*--- title and author ---*/
  160.  
  161.  
  162. .name {
  163. padding:50px 1px 1px 1px;
  164. font-size:11px;
  165. font-style:italic;
  166. color:#4d7794; /* book title color */
  167. text-align:Center;
  168.  
  169. }
  170. .author {
  171. font-family:georgia;
  172. font-size:10px;
  173. text-align:center;
  174. color:#82a0b4; /* book author color */
  175. padding-top:10px;
  176.  
  177. }
  178.  
  179. /*--- cover and summary ---*/
  180.  
  181.  
  182. .cover {
  183. opacity:0;
  184. width:0px;
  185. height:200px;
  186. overflow:visible;
  187. background:#eeeeee; /* book cover background color */
  188. margin-left:0px;
  189. font-size:10px;
  190. z-index:10;
  191. color:#666;
  192. position:absolute;
  193.  
  194. }
  195.  
  196.  
  197. .bookinfo {
  198. height:200px;
  199. transition:0.6s;
  200. -webkit-transition:0.6s;
  201. -moz-transition:0.6s;
  202. width:0px;
  203. background:#fff; /* summary background color */
  204. opacity:0;
  205. z-index:1000000;
  206. position:absolute;
  207. overflow-y:auto;
  208. overflow-x:hidden;
  209. }
  210.  
  211.  
  212. .book:hover .cover {
  213. opacity:1;
  214. padding-top:50px;
  215. width:140px;
  216. padding:50px 5px 5px 5px;
  217. margin-left:-150px;
  218. height:150px;
  219. transition:0.6s;
  220. -webkit-transition:0.6s;
  221. -moz-transition:0.6s;
  222. }
  223.  
  224.  
  225. .book:hover .bookinfo{
  226. opacity:1;
  227. width:140px;
  228. padding:5px;
  229. height:200px;
  230. transition:0.6s;
  231. -webkit-transition:0.6s;
  232. -moz-transition:0.6s;
  233.  
  234.  
  235. }
  236.  
  237.  
  238. /*--- book info and stuff ---*/
  239.  
  240.  
  241. .rating {
  242. margin-top:5px;
  243. text-align:center;
  244. color:#ffcc00; /* rating color */
  245. }
  246.  
  247.  
  248. .summary {
  249. text-align:left;
  250. margin-top:7px;
  251. font-size:10px;
  252. margin-left:5px;
  253. color:#808080; /* summary text color */
  254. }
  255.  
  256. strong {
  257. color:#476bb2; /* bold text color ( this applies for the pairing, word count etc categories) */
  258. }
  259.  
  260.  
  261.  
  262.  
  263. .read {
  264. text-align:center;
  265. margin-top:10px;
  266. text-transform:uppercase;
  267. letter-spacing:2px;
  268. }
  269.  
  270. .read a {
  271. color:#3c5861; /* read link color */
  272. }
  273.  
  274. .read a:hover {
  275. color:#79afc2; /* read link hover color */
  276. }
  277.  
  278. /*---------------------------- DO NOT MOVE CREDIT --*/
  279. #credit {
  280. bottom:10px;
  281. right:5px;
  282. font-size:25px;
  283. position:fixed;
  284.  
  285. }
  286.  
  287. .cr {
  288. background:transparent;}
  289.  
  290. #credit a {
  291. color:#999;
  292. }
  293.  
  294. #credit a:hover {
  295. color:#eee;
  296. text-decoration:none;
  297. }
  298.  
  299. .theme {
  300. width:0px;
  301. background:#999;
  302. color:#fff;
  303. height:18px;
  304. font-size:10px;
  305. margin-top:-20px;
  306. padding-top:2px;
  307. visibility:hidden; position:fixed;
  308. text-align:center;
  309. text-transform:uppercase;
  310.  
  311. }
  312.  
  313.  
  314.  
  315. .cr:hover .theme {
  316. visibility:visible;
  317. width:200px;
  318. margin-left:-200px;
  319.  
  320. transition:0.6s;
  321. }
  322.  
  323. </style>
  324. </head>
  325. <body>
  326. <div id="title">
  327. fic recs <!---- write your title here ---->
  328. </div>
  329. <div id="topbar">
  330. <div class="desc">
  331.  
  332. write your description here
  333.  
  334. </div>
  335.  
  336. <div class="navl">
  337. <a href="/">home</a>
  338. <a href="/ask">ask</a>
  339. <a href="http://tumblr.com">dash</a>
  340. <!--- add more links if you want to --->
  341. </div>
  342. </div>
  343.  
  344. <!---------------------- books ---------------------------->
  345. <div id="cont">
  346.  
  347. <!-------------------- first container ------------------------->
  348. <div class="box">
  349.  
  350. <div class="subheading">
  351. subheading <!---- container subheading (fandom, genre, whatever you want) --->
  352. </div>
  353.  
  354. <!--------- first book ------------->
  355. <div class="book">
  356.  
  357. <div class="bookinfo">
  358. <div class="rating">
  359. ☆☆☆☆☆ <!---- rating: add as many stars as you want? ---->
  360. </div>
  361. <div class="summary">
  362. <strong>summary:</strong> write your summary here. it can be as long as you like
  363. </div>
  364. </div>
  365. <div class="cover">
  366.  
  367. <strong>pairing:</strong> x/y<br> <!--- pairing --->
  368. <strong>rating:</strong> PG<br> <!---- rating ---->
  369. <strong>word count:</strong> 1k <!---- word count --->
  370.  
  371. <!--- the above categories are optional you can add whatever you want. trigger warnings, fandom or genre for example. to add another category copy the below code---
  372. <strong>CATEGORY TITLE:</strong> CATEGORY DESCRIPTION <br>
  373.  
  374. ---- i hope this made sense i tried to make it as customisable as possible ---->
  375.  
  376. <div class="read">
  377. <a href="LINK TO FIC HERE">read</a> <!---- link to read fic!!! important
  378. ------------------------------------------ unless of course you're using this as a books page in which case you can just delete this entire div
  379. --------->
  380. </div>
  381. </div>
  382.  
  383. <div class="name">
  384. fic title goes here <!---- fic title --->
  385. </div>
  386. <div class="author">
  387. author <!---- fic author --->
  388. </div>
  389.  
  390. </div>
  391.  
  392. <!---- end first book ---->
  393. <!---- to add more books use the below code (they all follow the same code yo) --->
  394.  
  395. <div class="book">
  396. <div class="bookinfo">
  397. <div class="rating">
  398. ☆☆☆☆☆
  399. </div>
  400. <div class="summary">
  401. <strong>summary:</strong> write a summary
  402. </div>
  403. </div>
  404. <div class="cover">
  405. <strong>category:</strong> description <br>
  406. <strong>category:</strong> description <br>
  407. <div class="read">
  408. <a href="LINK">read</a>
  409. </div>
  410. </div>
  411. <div class="name">
  412. fic title
  413. </div>
  414. <div class="author">
  415. fic author
  416. </div>
  417. </div>
  418.  
  419. <!----------- copy the code in the space below to add as many books as you like ------------>
  420.  
  421.  
  422.  
  423.  
  424. <!----------- copy the code in the space above to add as many books as you like ------------>
  425.  
  426. </div>
  427.  
  428.  
  429. <!------------ second container -------------->
  430. <div class="box">
  431. <div class="subheading">
  432. subheading <!---- subheading -------->
  433. </div>
  434.  
  435. <!------- this one follows the same pattern as the first ---------------->
  436. <div class="book">
  437. <div class="bookinfo">
  438. <div class="rating">
  439. ☆☆☆☆☆
  440. </div>
  441. <div class="summary">
  442. <strong>summary:</strong> write a summary
  443. </div>
  444. </div>
  445. <div class="cover">
  446. <strong>category:</strong> description <br>
  447. <strong>category:</strong> description <br>
  448. <div class="read">
  449. <a href="LINK">read</a>
  450. </div>
  451. </div>
  452. <div class="name">
  453. fic title
  454. </div>
  455. <div class="author">
  456. fic author
  457. </div>
  458. </div>
  459.  
  460. <!------------- add more books in the space below ----------------->
  461.  
  462.  
  463.  
  464. <!------------- add more books in the space above----------------->
  465.  
  466. </div>
  467.  
  468. <!---------- second container ends ------------------->
  469.  
  470. <!-------- to add more containers just copy the code for the previous containers and paste it in the space below. don't forget to edit the books! ------------>
  471.  
  472.  
  473.  
  474.  
  475.  
  476. <!---------- do not edit beyond this point ----------------------------->
  477. </div>
  478. <div id="credit"><div class="cr"><a href="http://jasnahdavar.tumblr.com">©</a>
  479. <div class="theme">theme by jasnahdavar</div></div>
  480. </div>
  481. </body>
  482.  
  483. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement