Advertisement
booksinvolved

theme #4 iphone

Jul 10th, 2014
662
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.49 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3.  
  4.  
  5. <head>
  6.  
  7. <!--- theme by jasnahdavar
  8. ----- DO NOT steal/redistribute/remove credit
  9. ----- ASK ME if you want to use this as a base code i promise i'm nice
  10. ----- sidebar image width is 200px, !!MAX-HEIGHT IS 200PX!!
  11. ----- COLOURS -----------------------------------------------
  12. ------------- iphone: the border of the two phones
  13. ------------- iphone case: the background of the case
  14. ------------- iphone navlinks: the ask/submit/archive/credit buttons
  15. --->
  16.  
  17. <title>{Title}</title>
  18. <link rel="shortcut icon" href="{Favicon}">
  19. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  20. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  21.  
  22.  
  23.  
  24. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
  25. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js" type="text/javascript"></script>
  26. <script type="text/javascript">// <![CDATA[
  27. (function($){
  28.  
  29. $(document).ready(function(){
  30.  
  31. $("a[title]").style_my_tooltips({
  32.  
  33. tip_follows_cursor:true,
  34.  
  35. tip_delay_time:30,
  36.  
  37. tip_fade_speed:300,
  38.  
  39. attribute:"title"
  40.  
  41. });
  42.  
  43. });
  44.  
  45. })(jQuery);
  46. // ]]></script>
  47.  
  48. <meta name="color:background" content="#fff">
  49. <meta name="color:text" content="#000">
  50.  
  51. <meta name="color:link" content="#ff0066">
  52. <meta name="color:link hover" content="#000">
  53. <meta name="color:iphone" content="#000">
  54. <meta name="color:iphone case" content="#ffdada">
  55. <meta name="color:iphone navlinks" content="#ff72a1">
  56. <meta name="color:post info" content="#999">
  57. <meta name="color:pagination" content="#cfcfcf">
  58. <meta name="color:ask bg" content="#eee">
  59.  
  60. <meta name="if:show navlink 1" content="1">
  61. <meta name="if:show navlink 2" content="1">
  62. <meta name="if:show navlink 3" content="1">
  63. <meta name="if:show navlink 4" content="1">
  64.  
  65.  
  66. <meta name="text:link 1" content="link">
  67. <meta name="text:link 1 url" content="url">
  68. <meta name="text:link 2" content="link">
  69. <meta name="text:link 2 url" content="url">
  70. <meta name="text:link 3" content="link">
  71. <meta name="text:link 3 url" content="url">
  72. <meta name="text:link 4" content="link">
  73. <meta name="text:link 4 url" content="url">
  74.  
  75. <meta name="image:sidebar" content="">
  76.  
  77.  
  78. <style type="text/css">
  79. ::-webkit-scrollbar-thumb:vertical { height:12px; border:2px solid #fff; background-color:#cfcfcf; border-radius:5px; }
  80. ::-webkit-scrollbar-thumb:horizontal { background-color:#fff; }
  81. ::-webkit-scrollbar { width:11px; height:7px; border:5px solid {color:background}; background-color:#cfcfcf; }
  82.  
  83. ::selection {
  84. background:#000;
  85. color:#fff;
  86. }
  87.  
  88.  
  89. ol.notes {
  90. padding: 5px;
  91. margin: 25px 0px;
  92. list-style-type: circle;
  93. border-bottom: solid 1px #ccc;
  94. text-align:left;
  95. font-size:10px;
  96. }
  97.  
  98. ol.notes li.note {
  99. padding: 5px;
  100. font-weight: normal;
  101. text-align:left;
  102.  
  103.  
  104. }
  105.  
  106. ol.notes li.note img.avatar {
  107. vertical-align: -4px;
  108. margin-right: 10px;
  109. width: 16px;
  110. height: 16px;
  111. }
  112.  
  113. ol.notes li.note span.action {
  114. font-weight: normal;
  115. text-align:left;
  116.  
  117. }
  118.  
  119. ol.notes li.note .answer_content {
  120. font-weight: normal;
  121. text-align:left;
  122.  
  123. }
  124.  
  125. ol.notes li.note blockquote {
  126. border-color: #eee;
  127. padding: 4px 5px;
  128. margin: 10px 0px 0px 15px;
  129. }
  130.  
  131. ol.notes li.note blockquote a {
  132. text-decoration: none;
  133. }
  134.  
  135. blockquote {
  136. padding:5px;
  137. border-left:2px solid {color:text};
  138.  
  139. }
  140.  
  141. blockquote blockquote {
  142. padding:5px;
  143. border-left:2px solid {color:text};
  144.  
  145. }
  146.  
  147.  
  148.  
  149.  
  150. /*----------------- TOOLTIP -----------------*/
  151. #s-m-t-tooltip{
  152. font-size:10px;
  153. position:absolute;
  154. margin-top: 15px;
  155. margin-left:15px;
  156. letter-spacing:1px;
  157. z-index:9999;
  158. background:white;
  159. color:#666;
  160. text-transform:uppercase;
  161. padding:2px 3px 2px 3px;
  162. -webkit-transition:all 0.3s;
  163. -moz-transition:all 0.3s;
  164. -ms-transition:all 0.3s;
  165. -o-transition:all 0.3s;
  166. transition:all 0.3s;
  167. border:2px solid #999;
  168. }
  169.  
  170.  
  171. body {
  172. background:{color:background};
  173. margin:0px;
  174. color:{color:text};
  175. font-family:cambria;
  176. font-size:11px;
  177. line-height:115%;
  178. font-style: none;
  179. }
  180.  
  181.  
  182.  
  183.  
  184.  
  185. a:link, a:visited, a:active {
  186. color:{color:link};
  187. text-decoration: none;
  188. font-weight: normal;
  189. -webkit-transition: .6s;
  190. -moz-transition: .6s;
  191. transition: .6s;
  192. }
  193.  
  194. a:hover {
  195. text-decoration: underline;
  196. color:{color:text};
  197. font-weight: normal;
  198. -webkit-transition: .6s;
  199. -moz-transition: .6s;
  200. transition: .6s;
  201. }
  202.  
  203.  
  204. h1 {
  205. font-family:arial;
  206. font-size:14px;
  207. }
  208.  
  209.  
  210. /*-------------- CASES -----------------*/
  211.  
  212. #case1 {
  213. position:fixed;
  214. height:450px;
  215. width:300px;
  216. border-top:50px solid {color:iphone};
  217. border-bottom:50px solid {color:iphone};
  218. border-right:10px solid {color:iphone};
  219. border-left:10px solid {color:iphone};
  220. border-radius:20px;
  221. left:50%;
  222. top:50%;
  223. margin-left:-400px;
  224. margin-top:-275px;
  225. }
  226.  
  227. #case2 {
  228. position:fixed;
  229. height:530px;
  230. width:300px;
  231. border-top:10px solid {color:iphone};
  232. border-bottom:10px solid {color:iphone};
  233. border-right:10px solid {color:iphone};
  234. border-left:10px solid {color:iphone};
  235. border-radius:20px;
  236. left:50%;
  237. top:50%;
  238. margin-top:-275px;
  239. background:{color:iphone case};
  240.  
  241. }
  242.  
  243. /*------- iphone buttons -----------*/
  244.  
  245. #homebutton {
  246. background:#666;
  247. opacity:0.7;
  248. position:fixed;
  249. z-index:10;
  250. margin-left:130px;
  251. margin-top:460px;
  252. width:30px;
  253. height:30px;
  254. border-radius:30px;
  255. }
  256.  
  257.  
  258. #square {
  259. width:15px;
  260. height:15px;
  261. border:1px solid #eee;
  262. border-radius:5px;
  263. margin-left:6px;
  264. margin-top:6px;
  265. }
  266.  
  267. #homebutton:hover {
  268. background:#999;
  269. }
  270.  
  271. #frontcam {
  272. position:fixed;
  273. border:5px solid #666;
  274. background:#cfcfcf;
  275. width:5px;
  276. height:5px;
  277. border-radius:10px;
  278. margin-left:140px;
  279. margin-top:-40px;
  280. }
  281.  
  282. #rect {
  283. position:fixed;
  284. margin-top:-20px;
  285. margin-left:112px;
  286. border-radius:3px;
  287. height:5px;
  288. width:70px;
  289. background:#666;
  290. box-shadow:2px 2px 0px solid #666;
  291. }
  292.  
  293. #backcam1 {
  294. width:5px;
  295. height:5px;
  296. border:10px solid #666;
  297. background:#cfcfcf;
  298. margin-left:10px;
  299. margin-top:10px;
  300. border-radius:25px;
  301. position:fixed;
  302. }
  303.  
  304. #nav {
  305. margin-left:45px;
  306. margin-top:15px;
  307. position:fixed;
  308. display:inline-block;
  309. }
  310.  
  311. .navlink {
  312. background:#cfcfcf;
  313. width:10px;
  314. height:10px;
  315. border-radius:10px;
  316. display:inline-block;
  317. margin-right:10px;
  318.  
  319. }
  320.  
  321. .navlink:hover {
  322. background:#eee;
  323. }
  324.  
  325. /* ------------- SIDEBAR ----------*/
  326.  
  327. #sidebar {
  328. position:fixed;
  329. width:250px;
  330. margin-left:25px;
  331. margin-top:100px;
  332.  
  333. }
  334.  
  335. .title {
  336. border-bottom:1px solid {color:text};
  337. font-family:arial;
  338. font-size:16px;
  339. font-weight:bold;
  340. color:{color:text};
  341. text-align:right;
  342.  
  343. }
  344. .sbimg {
  345. margin-top:10px;
  346. text-align:center;
  347. }
  348.  
  349. .sbimg img {
  350. width:200px;
  351. max-height:200px;
  352. }
  353.  
  354. .desc {
  355. font-family:calibri;
  356. font-size:11px;
  357. margin-top:10px;
  358. }
  359.  
  360. /*----- HOMELINKS ----------*/
  361.  
  362. #homelinks {
  363. position:fixed;
  364. margin-top:407px;
  365. width:300px;
  366. height:40px;
  367. display:inline-block;
  368. text-align:Center;
  369. border-top:1px solid #eee;
  370. background:#eee;
  371. }
  372.  
  373. .homel {
  374. display:inline-block;
  375. width:33px;
  376. height:23px;
  377. padding-top:10px;
  378. border-radius:7px;
  379. border:1px solid #cfcfcf;
  380. background:{color:iphone navlinks};
  381.  
  382. text-align:Center;
  383. font-size:20px;
  384. color:{color:text};
  385. margin-top:2px;
  386.  
  387.  
  388. }
  389.  
  390.  
  391.  
  392. .homel:hover {
  393. background:{color:text};
  394. color:{color:iphone navlinks};
  395. transition:0.4s;
  396. -webkit-transition:0.4s;
  397. -moz-transition:0.4s;
  398. }
  399.  
  400. /*------------- PAGINATION ----------------*/
  401.  
  402. #prev {
  403. position:fixed;
  404. margin-top:460px;
  405. width:250px;
  406. text-align:left;
  407. margin-left:25px;
  408. font-size:30px;
  409. }
  410.  
  411. #prev a {
  412. color:{color:pagination};
  413. width:30px;
  414. height:30px;
  415. }
  416.  
  417. #prev a:hover {
  418. color:{color:background};
  419. text-decoration:none;
  420. }
  421. #next {
  422. position:fixed;
  423. margin-top:460px;
  424. width:250px;
  425. text-align:right;
  426. margin-left:25px;
  427. font-size:30px;
  428.  
  429.  
  430. }
  431.  
  432. #next a {
  433. color:{color:pagination};
  434. width:30px;
  435. height:30px;
  436.  
  437. }
  438.  
  439. #next a:hover {
  440. text-decoration:none;
  441. color:{color:background};
  442. }
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449. /*--------- POSTS ------------*/
  450. #entries {
  451. position:fixed;
  452. width:300px;
  453. height:410px;
  454. overflow:auto;
  455. background:{color:background};
  456. }
  457. #post {
  458. width:250px;
  459. padding:10px;
  460. }
  461.  
  462.  
  463.  
  464. /*audio*/
  465.  
  466. .audio {
  467. height:100px;
  468. }
  469.  
  470.  
  471. .albumart {
  472. text-align:left;
  473. width:80px;
  474. height:80px;
  475. }
  476. .plays{
  477. text-align:center;
  478. padding-top:2px;
  479. padding-bottom:2px;
  480. width:80px;
  481. font-size:10px;
  482. }
  483.  
  484.  
  485.  
  486. .audiotitle {
  487. margin-left:90px;
  488. text-align:left;
  489. height:20px;
  490. padding-top:10px;
  491. padding-bottom:10px;
  492. margin-top:-90px;
  493. }
  494.  
  495. /* chat */
  496. .chat ul {
  497. list-style: none;
  498. margin: 0;
  499. padding: 0;
  500. }
  501.  
  502. .chat li {
  503. border-radius: 0.2em;
  504. border: 1px solid rgba(0, 0, 0, 0.05);
  505. box-shadow: 1px 1px 1px rgb(255, 255, 255) inset;
  506. margin-bottom: 2%;
  507. padding: 2%;
  508. width: 50%;
  509. }
  510.  
  511.  
  512. .chat .odd {
  513. float: left;
  514. background: rgb(236, 236, 236);
  515. }
  516. .chat .even {
  517. float: right;
  518. background: rgb(166, 230, 255);
  519. }
  520.  
  521.  
  522. /* quote */
  523.  
  524. #quote {
  525. font-style:italic;
  526. font-size:13px;
  527. }
  528.  
  529.  
  530. /*ask*/
  531.  
  532.  
  533.  
  534. .question {
  535. width:250px;
  536. background:{color:ask bg};
  537. padding:5px;
  538. text-transform:none;
  539.  
  540. }
  541.  
  542. .answer {
  543. text-align:right;
  544. }
  545.  
  546. .asker {
  547. font-style:none;
  548. font-weight:bold;
  549. }
  550.  
  551.  
  552. /*------------- POST INFO --------------*/
  553. #info {
  554. display:inline-block;
  555. text-align:center;
  556. width:250px;
  557. margin-left:10px;
  558. font-family:cambria;
  559. margin-top:10px;
  560. margin-bottom:50px;
  561. font-size:10px;
  562. color:#666;
  563. }
  564. #info a {
  565. color:{color:post info};
  566. }
  567.  
  568.  
  569. #tags {
  570. letter-spacing:0px;
  571. font-size:10px;
  572. padding-top:5px;
  573. text-align:center;
  574. padding-bottom:5px;
  575. font-style:italic;
  576. }
  577.  
  578.  
  579.  
  580. #tags a {
  581. margin-right:10px;
  582. display:inline-block;
  583. -webkit-transition: all 0.6s ease-in-out;
  584. -moz-transition: all 0.6s ease-in-out;
  585. -o-transition: all 0.6s ease-in-out;
  586. -ms-transition: all 0.6s ease-in-out;
  587. -transition: all 0.6s ease-in-out;
  588. }
  589.  
  590. #tags a:hover {
  591. display:inline-block;
  592. -webkit-transition: all 0.6s ease-in-out;
  593. -moz-transition: all 0.6s ease-in-out;
  594. -o-transition: all 0.6s ease-in-out;
  595. -ms-transition: all 0.6s ease-in-out;
  596. -transition: all 0.6s ease-in-out;
  597. }
  598.  
  599.  
  600.  
  601. {CustomCSS}</style>
  602.  
  603.  
  604. </head><body>
  605.  
  606. <div id="case2">
  607. <div id="backcam1"></div>
  608. <div id="nav">
  609. {block:ifshownavlink1} <a href="{text:link 1 url}" title="{text:link 1}"><div class="navlink"></div></a> {/block:ifshownavlink1}
  610. {block:ifshownavlink2} <a href="{text:link 2 url}" title="{text:link 2}"><div class="navlink"></div></a> {/block:ifshownavlink2}
  611. {block:ifshownavlink3} <a href="{text:link 3 url}" title="{text:link 3}"><div class="navlink"></div></a> {/block:ifshownavlink3}
  612. {block:ifshownavlink4} <a href="{text:link 4 url}" title="{text:link 4}"><div class="navlink"></div></a> {/block:ifshownavlink4}
  613. </div>
  614. <div id="sidebar">
  615. <div class="title">{title}</div>
  616. <div class="sbimg">
  617. <img src="{image:sidebar}">
  618. </div>
  619. <div class="desc">
  620. {description}</div>
  621. </div>
  622. </div>
  623. <div id="case1">
  624. <a href="/" title="home">
  625. <div id="homebutton">
  626. <div id="square"></div>
  627. </div>
  628. </a>
  629. <div id="frontcam"></div>
  630. <div id="rect"></div>
  631. <div id="homelinks">
  632. <a href="/ask" title="ask"><div class="homel">✉</div></a>
  633. <a href="/submit" title="submit"><div class="homel">✎</div></a>
  634. <a href="/archive" title="past"><div class="homel">📂</div></a>
  635. <a href="http://jasnahdavar.tumblr.com" target="_blank" title="credit"><div class="homel">©</div></a>
  636. </div>
  637. {block:Pagination}
  638. <div id="prev">
  639.  
  640. {block:PreviousPage}
  641. <a href="{PreviousPage}"> <</a>
  642. {/block:previouspage}
  643. </div>
  644.  
  645. <div id="next">
  646.  
  647. {block:nextpage}
  648.  
  649. <a href="{NextPage}" class="a1"> > </a>
  650. {/block:nextpage}
  651. </div>
  652. {/block:pagination}
  653.  
  654.  
  655. <!--pagination-->
  656.  
  657. <div id="entries">{block:Posts}<div id="post">
  658. {block:ContentSource}
  659. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  660. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  661. {/block:SourceLogo}
  662. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  663. {/block:ContentSource}
  664.  
  665. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  666.  
  667. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-250}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  668.  
  669. {block:Photoset}{Photoset-250}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  670.  
  671. {block:Quote}<div id="quote">"{Quote}</div>{block:Source} <br>—{Source}{/block:Source}{/block:Quote}
  672.  
  673. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  674.  
  675. {block:Chat}
  676. <div class="chat">
  677. <ul>
  678. {block:Lines}<li class="{Alt}">{block:Label} {Label} {/block:Label}{Line}</li>{/block:Lines}
  679. </ul>
  680. </div>
  681. {/block:Chat}
  682.  
  683. {block:Audio}
  684. <div class="audio">
  685. <div class="albumart">{block:AlbumArt}<img src="{AlbumArtURL}" width="80px" height="80px"style="margin-right:10px" />{/block:AlbumArt}</div><!--albumart-->
  686.  
  687. <div class="plays">{PlayCount} ♫</div><!--playcount-->
  688.  
  689. <div class="audiotitle">{block:TrackName}<strong>Title:</strong> {TrackName}{/block:TrackName} {block:Artist}<br><strong>Artist:</strong> {Artist}{/block:Artist}</div><!--audiotitle-->
  690.  
  691.  
  692.  
  693.  
  694. </div><!--audio-->
  695.  
  696.  
  697. {AudioPlayerwhite}
  698. {/block:ExternalAudio}<br>{block:Caption}{Caption}{/block:Caption}{/block:Audio}
  699.  
  700. {block:Video}{Video-250}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  701.  
  702. {block:Answer}
  703.  
  704. <div class="question"><span class="asker">{Asker}</a>:</span><br> {Question}</div><div class="answer">{Answer}{/block:Answer}</div>
  705.  
  706.  
  707. <div id="info"><a href="{Permalink}">{TimeAgo} + {NoteCount} </a> // <a href="{reblogurl}" target="_blank">reblog</a>
  708.  
  709. {block:permalinkpage}<br>{block:RebloggedFrom}via <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom} // {block:ContentSource} src <a href="{SourceURL}">{SourceLink}</a> {/block:ContentSource}{/block:permalinkpage}
  710. {block:HasTags}<div id="tags">{block:Tags} #&nbsp;<a href="{TagURL}">{Tag}&nbsp;</a> {/block:Tags}</div>{/block:HasTags}
  711. </div>
  712.  
  713.  
  714. {block:PostNotes}{PostNotes}{/block:PostNotes}
  715. {/block:Posts}
  716.  
  717.  
  718. </div>
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728. </div>
  729.  
  730.  
  731.  
  732.  
  733.  
  734. </div>
  735.  
  736. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement