Advertisement
sofiiayala

Theme 1 by Sofi for Tumblr (Double column)

Mar 11th, 2014
1,040
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.51 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. <head><title>{Title}</title>
  4. <link rel="shortcut icon" href="{Favicon}">
  5. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  6. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  7.  
  8. <!---- Theme 1 by Sofi (doctorwatsn.tumblr.com) DON'T REMOVE THE CREDIT OR USE IT AS A BASE --->
  9.  
  10. <meta name="color:Background" content="#ffffff"/>
  11. <meta name="color:Text" content="#838282"/>
  12. <meta name="color:Link" content="#b8b8b8"/>
  13. <meta name="color:Links background" content="#efefef"/>
  14. <meta name="color:Links text" content="#4b4a4a"/>
  15. <meta name="color:Pagination" content=""/>
  16.  
  17.  
  18. <meta name="image:sidebar1" content=""/>
  19. <meta name="image:sidebar2" content=""/>
  20.  
  21. <meta name="text:title" content=""/>
  22. <meta name="text:link 1" content="Link 1"/>
  23. <meta name="text:link 1 url" content="/"/>
  24. <meta name="text:link 2" content="Link 2"/>
  25. <meta name="text:link 2 url" content="/"/>
  26. <meta name="text:link 3" content="Link 3"/>
  27. <meta name="text:link 3 url" content="/"/>
  28. <meta name="text:link 4" content="Link 4"/>
  29. <meta name="text:link 4 url" content="/"/>
  30. <meta name="text:link 5" content="Link 5"/>
  31. <meta name="text:link 5 url" content="/"/>
  32.  
  33. <script type="text/javascript">
  34. WebFontConfig = {
  35. google: { families: [ 'Sacramento::latin' ] }
  36. };
  37. (function() {
  38. var wf = document.createElement('script');
  39. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  40. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  41. wf.type = 'text/javascript';
  42. wf.async = 'true';
  43. var s = document.getElementsByTagName('script')[0];
  44. s.parentNode.insertBefore(wf, s);
  45. })(); </script>
  46.  
  47. <style type="text/css">
  48.  
  49. #dhtmltooltip{
  50. position: absolute;
  51. padding:5px;
  52. margin-left:70px;
  53. margin-top: -28px;
  54. background: #fff; /* change the background color */
  55. border:0px solid {color:text}; /* change the border color */
  56. font-family: 'Lato', sans-serif; /* change the font */
  57. font-size:7px; /* change the font size */
  58. letter-spacing:1px; /* change the letter spacing */
  59. text-transform:uppercase; /* can be uppercase, lowercase, none*/
  60. font-style: bold;
  61. color:{color:text}; /* change the text color */
  62. visibility: hidden;
  63. z-index: 100;
  64. /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
  65. filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
  66. }
  67.  
  68. ::-webkit-scrollbar {width: 4px; height: 4px; background: #f0f0f0; }
  69. ::-webkit-scrollbar-thumb { background-color: #65788e; -webkit-border-radius: 0ex; }
  70.  
  71. body {
  72. background:{color:background};
  73. margin:0px;
  74. color:{color:text};
  75. font-family:Calibri;
  76. font-size:9px;
  77. line-height:110%;
  78. letter-spacing: 0.5px;
  79. cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png) 3 3, auto;
  80. }
  81.  
  82. a {
  83. text-decoration:none;
  84. outline:none;
  85. -moz-outline-style:none;
  86. color:{color:link};
  87. -webkit-transition: all 0.5s ease-in-out;
  88. -moz-transition: all 0.5s ease-in-out;
  89. -o-transition: all 0.5s ease-in-out;
  90. }
  91.  
  92. a:hover {
  93. text-decoration:none;
  94. outline:none;
  95. -moz-outline-style:none;
  96. color:transparent;
  97. -webkit-transition: all 0.5s ease-in-out;
  98. -moz-transition: all 0.5s ease-in-out;
  99. -o-transition: all 0.5s ease-in-out;
  100. }
  101.  
  102. img {
  103. border:none;
  104. }
  105.  
  106. blockquote {
  107. padding-left:5px;
  108. border-left:1px dotted {color: link};
  109. margin-left: 2px;
  110. }
  111.  
  112. h1 {
  113. font-size:16px;
  114. font-family: garamond;
  115. font-weight: lighter;
  116. letter-spacing: 1px;
  117. line-height: 105%;
  118. text-align: center;
  119. }
  120.  
  121. #entries {
  122. padding:10px;
  123. width:630px;
  124. margin-left:485px;
  125. padding-top:40px;
  126. padding-left: 50px;
  127. padding-bottom: 30px;
  128. }
  129.  
  130. #post {
  131. width:250px;
  132. float: left;
  133. margin-top:40px;
  134. margin-bottom:5px;
  135. padding:0px;
  136. overflow: hidden;
  137. margin-right: 65px;
  138. text-align: left;
  139. {block:indexpage}
  140. width: 250px;
  141. opacity: 1;
  142. {/block:indexpage}
  143. {block:PermalinkPage}
  144. width: 500px;
  145. height: auto;
  146. opacity: 1;
  147. {/block:PermalinkPage}
  148. transition: all 0.3s linear;
  149. -webkit-transition: opacity 0.3s linear;
  150. -webkit-transition: all 0.3s linear;
  151. -moz-transition: all 0.3s linear;
  152. }
  153.  
  154. #post:hover {
  155. opacity: 1.5;
  156. margin-bottom:10px;
  157. transition: all 0.3s linear;
  158. -webkit-transition: opacity 0.3s linear;
  159. -webkit-transition: all 0.3s linear;
  160. -moz-transition: all 0.3s linear;
  161. }
  162.  
  163. {block:indexpage}
  164. #post:hover #info {
  165. opacity: 1;
  166. font-size: 9px;
  167. margin-top: 4px;
  168. text-align:center;
  169. letter-spacing: 0.8;
  170. padding-top: 1px;
  171. margin-top: 6px;
  172. border-top: 1px solid #f0eded;
  173. transition: all 0.3s linear;
  174. -webkit-transition: opacity 0.3s linear;
  175. -webkit-transition: all 0.3s linear;
  176. -moz-transition: all 0.3s linear;
  177. }
  178. {/block:indexpage}
  179.  
  180. #title {
  181. font-size:30px;
  182. text-align:right;
  183. margin-bottom:10px;
  184. font-family: 'Sacramento', cursive;
  185. width: 300px;
  186. }
  187.  
  188. #sidebar {
  189. width:300px;
  190. position:fixed;
  191. margin-left:150px;
  192. margin-top:170px;
  193. }
  194.  
  195. #sidebarimage1 img {
  196. margin-left: 77.5px;
  197. width:100px;
  198. padding: 3px;
  199. border: solid 1px #ccc;
  200. float: left;
  201. }
  202.  
  203. #sidebarimage2 img {
  204. margin-top: 100px;
  205. width:100px;
  206. margin-left: -108px;
  207. padding: 3px;
  208. border: solid 1px #ccc;
  209. float: left;
  210. }
  211.  
  212. #description {
  213. margin-top: 0px;
  214. width: 100px;
  215. height: 96px;
  216. padding:5px;
  217. line-height: 130%;
  218. text-align:center;
  219. overflow: hidden;
  220. border: solid 1px #ccc;
  221. font-family: garamond;
  222. float: right;
  223. letter-spacing: 1px;
  224. color: {color:text}
  225. background-color: #fff;
  226. }
  227.  
  228.  
  229. #links {
  230. position:fixed;
  231. letter-spacing:1px;
  232. position:fixed;
  233. width:91px;
  234. display:block;
  235. margin-top:114px;
  236. margin-left:188.5px;
  237. font-size:8px;
  238. opacity:1.5;
  239. text-align:center;
  240. line-height:180%;
  241. font-family: helvetica;
  242. text-transform: uppercase;
  243. }
  244.  
  245. #links a{
  246. display:block;
  247. background-color:{color:Links background};
  248. width:91px;
  249. line-height:180%;
  250. margin-top:1px;
  251. margin-bottom:7px;
  252. opacity:.9;
  253. padding-left:10px;
  254. padding-right:10px;
  255. color:{color:Links text};
  256. letter-spacing:1px;
  257. text-decoration:none;
  258. -moz-transition-duration:.6s;
  259. -webkit-transition-duration:.6s;
  260. -o-transition-duration:.6s;
  261. }
  262.  
  263. #links a:hover {
  264. letter-spacing:1px;
  265. opacity:2;
  266. padding:0px;
  267. width:78px;
  268. }
  269.  
  270.  
  271. #pagination {
  272. font-size:13px;
  273. font-style: italic;
  274. color:#686767;
  275. text-align:right;
  276. margin-top: 212px;
  277. }
  278.  
  279. #info {
  280. {block:indexpage}
  281. opacity: 0;
  282. font-size: -10px;
  283. padding-top: -3px;
  284. margin-top: -10px;
  285. border-top: -1px solid #f0eded;
  286. text-align: center;
  287. {/block:indexpage}
  288. {block:PermalinkPage}
  289. font-size: 9px;
  290. margin-top: 4px;
  291. text-align:right;
  292. letter-spacing: 0.8;
  293. padding-top:1px;
  294. border-top: 1px solid #f0eded;
  295. {/block:PermalinkPage}
  296. transition: all 0.3s linear;
  297. -webkit-transition: opacity 0.3s linear;
  298. -webkit-transition: all 0.3s linear;
  299. -moz-transition: all 0.3s linear;
  300. }
  301.  
  302. #tags {
  303. text-align:center;
  304. font-size: 8px;
  305. margin-top: 5px;
  306. letter-spacing: 1.5px;
  307. }
  308.  
  309. #tags a {
  310. margin-left: 3px;
  311. margin-right: 3px;
  312. }
  313.  
  314. #asker {
  315. float:left;
  316. }
  317.  
  318. .question{
  319. text-align: center;
  320. padding:6px;
  321. line-height: 10px;
  322. }
  323.  
  324. .question a {
  325. color: {color:text};
  326. }
  327.  
  328. .answer{
  329. background-color:transparent;
  330. line-height: 10px;
  331. text-align: left;
  332. {block:indexpage}
  333. width: 280px;
  334. {/block:indexpage}
  335. }
  336.  
  337. .answer img {
  338. {block:indexpage}
  339. max-width: 180px;
  340. {/block:indexpage}
  341. {block:PermalinkPage}
  342. width: 480px;
  343. height: auto;
  344. {/block:PermalinkPage}
  345. }
  346.  
  347. #quote {
  348. line-height: 105%;
  349. font-size:18px;
  350. font-family: times;
  351. font-weight: lighter;
  352. text-align: center;
  353. letter-spacing: 1px;
  354. padding: 15px;
  355. background-color: #f6f6f6;
  356. }
  357.  
  358. #source {
  359. text-align: right;
  360. }
  361.  
  362. .text {
  363. padding: 15px;
  364. padding-top: 2px;
  365. padding-bottom: 5px;
  366. background-color: #f6f6f6;
  367. {block:indexpage}
  368. max-width: 220px;
  369. {/block:indexpage}
  370. {block:permalink}
  371. max-width: 470px;
  372. {/block:permalink}
  373. }
  374.  
  375. .text img {
  376. {block:indexpage}
  377. max-width: 220px;
  378. {/block:indexpage}
  379. {block:permalink}
  380. max-width: 470px;
  381. {/block:permalink}
  382. }
  383.  
  384. #credit {
  385. font-size:9px;
  386. font-family:georgia;
  387. letter-spacing:1px;
  388. -moz-transition-duration:0.5s;
  389. -webkit-transition-duration:0.5s;
  390. -o-transition-duration:0.5s;
  391. }
  392.  
  393. #credit a {
  394. background-color:#fff;
  395. padding:5px;
  396. border:1px solid #e9e9e9;
  397. position:fixed;
  398. right:15px;
  399. bottom:10px
  400. }
  401.  
  402. #what {
  403. font-size:1px;
  404. font-family:georgia;
  405. letter-spacing:1px;
  406. background-color:#fff;
  407. padding:5px;
  408. position:fixed;
  409. left:0px;
  410. bottom:0px;
  411. color: #fff;
  412. }
  413.  
  414. #what a {
  415. color: #fff;
  416. }
  417.  
  418. heart {
  419. font-size: 8px;
  420. line-height: -5px;
  421. }
  422.  
  423. #cover {
  424. position: relative;
  425. z-index: 1;
  426. height: 80px;
  427. float:left;
  428. border:1px solid #f0f0f0;
  429. padding:4px;
  430. }
  431.  
  432. #button {
  433. width:20px;
  434. height:30px;
  435. overflow: hidden;
  436. position: relative;
  437. z-index: 99;
  438. margin: 15px 24px 13px 16px;
  439. }
  440.  
  441. #buttons {
  442. background-color: #fff;
  443. position: absolute;
  444. z-index: 99;
  445. margin-top: 15px;
  446. margin-left: 15px;
  447. opacity: 0;
  448. -webkit-transition: opacity 0.5s linear;
  449. -webkit-transition: all 0.5s linear;
  450. -moz-transition: all 0.5s linear;
  451. -o-transition: all 0.5s linear;
  452. }
  453.  
  454. #post:hover #buttons {
  455. opacity:0.5;
  456. }
  457.  
  458. #musicinfo {
  459. margin-top:5px;
  460. padding-top:5px;
  461. margin-left: 100px;
  462. font-size:12px;
  463. min-height:70px;
  464. text-align:center;
  465. }
  466.  
  467. #notez {
  468. list-style:lower-roman;
  469. padding-bottom:5px;
  470. padding-top:5px;
  471. margin-left:0px;
  472. font-size:8px;
  473. display:inline-block;
  474. }
  475.  
  476. #notez a {
  477. display:inline-block;
  478. padding-bottom:10px;
  479. }
  480.  
  481. #notez img {
  482. display:none;
  483. }
  484.  
  485. </style>
  486.  
  487. <script type="text/javascript"
  488. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  489.  
  490. {block:IndexPage}
  491. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  492. {/block:IndexPage}
  493.  
  494. </style>
  495. </head><body>
  496.  
  497. <div id="sidebar">
  498.  
  499. <div id="title">{text:title}</div>
  500. <div id="description">{Description}</div>
  501. <div id="links">
  502. <a href="{text:link 1 url}">{text:link 1}</a>
  503. <a href="{text:link 2 url}">{text:link 2}</a>
  504. <a href="{text:link 3 url}">{text:link 3}</a>
  505. <a href="{text:link 4 url}">{text:link 4}</a>
  506. <a href="{text:link 5 url}">{text:link 5}</a>
  507. </a>
  508.  
  509. </div>
  510.  
  511. <div id="sidebarimage1"><img src="{image:sidebar1}"></div> <br>
  512. <div id="sidebarimage2"><img src="{image:sidebar2}"></div>
  513.  
  514. <div id="pagination">
  515. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}
  516. {block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}{/block:Pagination}
  517. </div>
  518.  
  519. </div>
  520.  
  521. <div id="entries">
  522. {block:Posts}
  523.  
  524. {block:ContentSource}
  525.  
  526. <!--{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  527.  
  528. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  529.  
  530. {/block:SourceLogo}
  531.  
  532. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
  533.  
  534. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  535.  
  536. <div id="post">
  537.  
  538. {block:Text}<div class="text"><h1>{block:Title}<span style="padding-top: -5px;">{Title}</span>{/block:Title}</h1>{Body}</div>{/block:Text}
  539.  
  540. {block:Photo}{block:IndexPage}{LinkOpenTag}<img src="{PhotoURL-250}">{LinkCloseTag}{/block:IndexPage}{block:permalinkpage}{LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width=500px/>{block:Caption}{Caption}{/block:Caption}{LinkCloseTag}{/block:permalinkpage}{/block:Photo}
  541.  
  542. {block:Photoset}{block:IndexPage}{LinkOpenTag}{Photoset-250}{LinkCloseTag}{/block:IndexPage}{block:permalinkpage}{LinkOpenTag}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{LinkCloseTag}{/block:permalinkpage}{/block:Photoset}
  543.  
  544. {block:Quote}<div id="quote"><font size="3">'{Quote}'</font></div>{block:Source}<div id="source"><br> —<b><font size="1.5">{Source}</font></b></div>{/block:Source}{/block:Quote}
  545.  
  546. {block:Link}<div class="text"><h1><a href="{URL}" {Target}>{Name}</a></h1></div>{block:Description}{Description}{/block:Description}{/block:Link}
  547.  
  548. {block:Chat}{block:Title}<span style="font-family: courier new;"><h1>{Title}</h1>{/block:Title}<font size="2">{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br><br>{/block:Lines}</font></span>{/block:Chat}
  549.  
  550. {block:Audio}
  551. <div id="buttons"><div id="button">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
  552. {block:AlbumArt}<img src="{AlbumArtURL}" id="cover">{/block:AlbumArt}
  553. <div id="musicinfo">
  554. {block:TrackName}<h1><div style="text-transform: none; padding-bottom: 4px; margin-bottom: 0px; border-bottom: 1px solid #f0f0f0;">{TrackName}</div></h1>{/block:Trackname}
  555. {block:Artist}by {Artist}{/block:Artist}
  556. </div>
  557. <div style="margin-top:20px;">{block:caption}{Caption}{/block:caption}</div>
  558. {/block:Audio}
  559.  
  560. {block:Video}{block:IndexPage}{LinkOpenTag}{VideoEmbed-250}{LinkCloseTag}{/block:IndexPage}{block:permalinkpage}{LinkOpenTag}{VideoEmbed-500}{block:Caption}{Caption}{/block:Caption}{LinkCloseTag}{/block:permalinkpage}{/block:Video}
  561.  
  562. {block:Answer}
  563. <div class="question">❝<b>{Asker}:</b> {Question}</div><div class="answer"><blockquote>{Answer}</blockquote></div>{/block:Answer}
  564.  
  565.  
  566. <div id="info">
  567. {block:Date} {ShortMonth} {DayofMonth}{DayOfMonthSuffix} (<a href="{Permalink}">+{NoteCount}</a>){/block:Date}
  568.  
  569.  
  570. {block:permalinkpage}<div id="tags">{block:HasTags}file under: {block:Tags}<a href="{TagURL}">{Tag}-</a>{/block:Tags}{/block:HasTags}</div>{/block:permalinkpage}
  571. </div>
  572.  
  573. </div>
  574.  
  575. {block:PostNotes}<div id="notez">{PostNotes}</div>{/block:PostNotes}
  576. {/block:Posts}</div>
  577.  
  578. <div id="credit"><a href="http://doctorwatsn.tumblr.com">221b</a></div>
  579.  
  580. <div id="dhtmltooltip"></div>
  581.  
  582. <script type="text/javascript">
  583.  
  584. /***********************************************
  585. * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  586. * This notice MUST stay intact for legal use
  587. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
  588. ***********************************************/
  589.  
  590. var offsetxpoint=-60 //Customize x offset of tooltip
  591. var offsetypoint=20 //Customize y offset of tooltip
  592. var ie=document.all
  593. var ns6=document.getElementById && !document.all
  594. var enabletip=false
  595. if (ie||ns6)
  596. var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
  597.  
  598. function ietruebody(){
  599. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  600. }
  601.  
  602. function ddrivetip(thetext, thecolor, thewidth){
  603. if (ns6||ie){
  604. if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
  605. if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
  606. tipobj.innerHTML=thetext
  607. enabletip=true
  608. return false
  609. }
  610. }
  611.  
  612. function positiontip(e){
  613. if (enabletip){
  614. var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
  615. var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
  616. //Find out how close the mouse is to the corner of the window
  617. var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
  618. var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
  619.  
  620. var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
  621.  
  622. //if the horizontal distance isn't enough to accomodate the width of the context menu
  623. if (rightedge<tipobj.offsetWidth)
  624. //move the horizontal position of the menu to the left by it's width
  625. tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
  626. else if (curX<leftedge)
  627. tipobj.style.left="5px"
  628. else
  629. //position the horizontal position of the menu where the mouse is positioned
  630. tipobj.style.left=curX+offsetxpoint+"px"
  631.  
  632. //same concept with the vertical position
  633. if (bottomedge<tipobj.offsetHeight)
  634. tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
  635. else
  636. tipobj.style.top=curY+offsetypoint+"px"
  637. tipobj.style.visibility="visible"
  638. }
  639. }
  640.  
  641. function hideddrivetip(){
  642. if (ns6||ie){
  643. enabletip=false
  644. tipobj.style.visibility="hidden"
  645. tipobj.style.left="-1000px"
  646. tipobj.style.backgroundColor=''
  647. tipobj.style.width=''
  648. }
  649. }
  650.  
  651. document.onmousemove=positiontip
  652. </script>
  653.  
  654. {block:IndexPage}
  655. <script type="text/javascript">
  656. $(window).load(function () {
  657. $('#entries').masonry({
  658. itemSelector : "#post",
  659. },
  660. function() { $('#entries').masonry({ appendedContent: $(this) }); }
  661. );
  662. });
  663. </script>
  664. {/block:IndexPage}
  665.  
  666. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement