Advertisement
sarahcaths

theme 7 | base code #2

Oct 7th, 2012
7,467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.30 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. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>{Title}</title>
  5. <link rel="shortcut icon" href="{Favicon}">
  6. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  7. {block:Description}
  8. <meta name="description" content="{MetaDescription}" />
  9. {/block:Description}
  10.  
  11.  
  12. <head>
  13.  
  14. <!----
  15.  
  16. © SARAHCATHS.TUMBLR.COM | "BASE CODE" #2
  17.  
  18. + This is a base code, so use it to build your own theme!
  19. + No need to credit me, though I won't object if you do :)
  20. + Follow me for more free themes and resources!
  21. + If you have any questions or concerns, just contact me!
  22. + Thanks for using my second base code! :) Hope you enjoy it!
  23.  
  24. ---->
  25.  
  26. <!-- VARIABLES -->
  27.  
  28. <meta name="image:Background" content="http://static.tumblr.com/vqqnpua/Nvlmbhjyn/straws.png"/>
  29. <meta name="image:Sidebar Image" content="" />
  30. <meta name="image:Sidebar Image 2" content="" />
  31.  
  32. <meta name="color:Background" content="#fdf3ee" />
  33. <meta name="color:Text" content="#797979" />
  34. <meta name="color:Bold" content="#ff4a00" />
  35. <meta name="color:Italic" content="#ff4a00" />
  36. <meta name="color:Link" content="#a09280" />
  37. <meta name="color:Content BG" content="#ffffff" />
  38. <meta name="color:Content Border" content="#ebebeb" />
  39. <meta name="color:Info BG" content="#f3f3f3" />
  40. <meta name="color:Info Border" content="#e4e2e1" />
  41.  
  42. <meta name="text:Text Size" content="10px" />
  43.  
  44. <meta name="text:Link 1 URL" content="http://" />
  45. <meta name="text:Link 1" content="Link 1" />
  46. <meta name="text:Link 2 URL" content="http://" />
  47. <meta name="text:Link 2" content="Link 2" />
  48. <meta name="text:Link 3 URL" content="http://" />
  49. <meta name="text:Link 3" content="Link 3" />
  50. <meta name="text:Link 4 URL" content="http://" />
  51. <meta name="text:Link 4" content="Link 4" />
  52.  
  53. <style type="text/css">
  54.  
  55. /* MAIN */
  56.  
  57. body {
  58. background-color:{color:Background};
  59. background-image: url('{image:Background}');
  60. color:{color:Text};
  61. font-family: calibri;
  62. font-size: {text:Text Size};
  63. margin: 0px;
  64. padding: 0px;}
  65.  
  66. a:link, a:active {
  67. text-decoration:none;
  68. color: {color:Link}; }
  69.  
  70. a:visited {
  71. text-decoration:none;
  72. color: {color:Link}; }
  73.  
  74. a:hover {
  75. text-decoration:none;
  76. color: {color:Bold};}
  77.  
  78. b, strong, .strong {color:{color:Bold};}
  79.  
  80. blockquote {
  81. border-left:2px solid {color:Text};
  82. padding-left:6px; }
  83.  
  84. #tumblr_controls{ position:fixed!important; right: 0px; top:0px;}
  85.  
  86. i, em, .em {color:{color:Italic};}
  87.  
  88.  
  89. /* CONTENT */
  90.  
  91. .contentwhole {
  92. width:520px;
  93. z-index:0;
  94. margin-left:500px;
  95. height:100%;}
  96.  
  97. .content {
  98. width: 500px;
  99. z-index:0;
  100. height: auto;
  101. padding:10px;
  102. margin-top:20px;
  103. background-color: {color:Content BG};
  104. border:1px solid {color:Content Border};}
  105.  
  106. .info {
  107. height:15px;
  108. float:center;
  109. padding-top:4px;
  110. margin-top:10px;
  111. opacity:0.8;
  112. text-align:center;
  113. font-size:7px;
  114. font-family:arial;
  115. letter-spacing:1px;
  116. background-color: {color:Info BG};
  117. background-image:url('{image:Info BG}');
  118. color:{color:Link};
  119. border-top: 1px solid {color:Info Border};
  120. width: 500px;
  121. text-transform:uppercase;
  122. transition-duration: 0.6s;
  123. -moz-transition-duration: 0.6s;
  124. -webkit-transition-duration: 0.6s;
  125. -o-transition-duration: 0.6s; }
  126.  
  127. .info a {
  128. font-size:7px; }
  129.  
  130. .info:hover {
  131. opacity:1.0;
  132. transition-duration: 0.6s;
  133. -moz-transition-duration: 0.6s;
  134. -webkit-transition-duration: 0.6s;
  135. -o-transition-duration: 0.6s; }
  136.  
  137. .pagination {
  138. top:20px;
  139. left:150px;
  140. width:200px;
  141. font-size:20px;
  142. position:fixed;
  143. text-align:center;}
  144.  
  145. /* SIDEBAR */
  146.  
  147. .hover {
  148. width:430px;
  149. height:500px;
  150. top:50px;
  151. position:fixed; }
  152.  
  153. .sidebar {
  154. position:fixed;
  155. top:70px;
  156. z-index:1000;
  157. left:30px;
  158. width:430px;
  159. height:440px;}
  160.  
  161. .portrait {
  162. width:48px;
  163. height:48px;
  164. border:3px solid {color:Background};
  165. float:left;
  166. margin:2px;}
  167.  
  168. .sidebarcontent {
  169. width:372px;
  170. text-align:center;
  171. padding:20px 20px 20px 20px;
  172. top:10px;
  173. left:10px;
  174. height:270px;
  175. position:absolute;
  176. background-color:#FFFFFF;
  177. opacity:0.0;
  178. z-index:3000;
  179. -webkit-transition: all 0.6s ease-in-out;
  180. -moz-transition: all 0.6s ease-in-out;
  181. -o-transition: all 0.6s ease-in-out;
  182. transition: all 0.6s ease-in-out;}
  183.  
  184. .hover:hover .sidebarcontent {
  185. opacity:0.8;
  186. -webkit-transition: all 0.6s ease-in-out;
  187. -moz-transition: all 0.6s ease-in-out;
  188. -o-transition: all 0.6s ease-in-out;
  189. transition: all 0.6s ease-in-out;}
  190.  
  191. .sidebarimage {
  192. width:400px;
  193. height:300px;
  194. background-image:url('{image:Sidebar Image}');
  195. background-repeat:no-repeat;
  196. border:10px solid {color:Info Border};}
  197.  
  198. .sidebarimage2 {
  199. opacity:1.0;
  200. width:250px;
  201. height:relative;
  202. border:4px solid {color:Content Border};}
  203.  
  204. .hover:hover .sidebarimage {
  205. opacity:0.7;
  206. -webkit-transition: all 0.6s ease-in-out;
  207. -moz-transition: all 0.6s ease-in-out;
  208. -o-transition: all 0.6s ease-in-out;
  209. transition: all 0.6s ease-in-out;}
  210.  
  211.  
  212.  
  213. .sideimgborder {
  214. width:420px;
  215. height:320px;
  216. border:6px solid {color:Content Border};
  217. -webkit-transition: all 0.6s ease-in-out;
  218. -moz-transition: all 0.6s ease-in-out;
  219. -o-transition: all 0.6s ease-in-out;
  220. transition: all 0.6s ease-in-out;}
  221.  
  222. .sideimgborder:hover {
  223. width:420px;
  224. height:430px;
  225. border:6px solid {color:Content Border};
  226. -webkit-transition: all 0.6s ease-in-out;
  227. -moz-transition: all 0.6s ease-in-out;
  228. -o-transition: all 0.6s ease-in-out;
  229. transition: all 0.6s ease-in-out;}
  230.  
  231.  
  232. .sideborder {
  233. width:36px;
  234. background-color:{color:Main Links};
  235. border-right:10px solid {color:Signature Color};
  236. opacity:0.4;
  237. margin:0;
  238. position:fixed;
  239. top:0px;
  240. height:100%;
  241. left:1000px; }
  242.  
  243.  
  244. /* TAGS */
  245.  
  246. .tags {
  247. opacity:0.3; }
  248.  
  249.  
  250. /* NAVIGATION */
  251.  
  252. #navigation a {
  253. background-color: {color:Content Border};
  254. display:block;
  255. font-size:7pt;
  256. margin-bottom:4px;
  257. padding:5px;
  258. width:170px;
  259. margin-left:-7px;
  260. letter-spacing:0px;
  261. text-align:center;
  262. font-family:calibri;
  263. text-shadow:none;
  264. text-transform:uppercase;
  265. color: {color:Bold}; }
  266.  
  267. #navigation a:hover {
  268. background-color: {color:Text};
  269. color: {color:Background};
  270. text-shadow:none;
  271. text-decoration:none;
  272. text-align:center;
  273. -webkit-transition: opacity 0.7s linear;
  274. -webkit-transition: all 0.7s ease-out;
  275. -moz-transition: all 0.7s ease-out;
  276. transition: all 0.7s ease-out;}
  277.  
  278.  
  279. /* EXTRAS LINKS */
  280.  
  281. #extraslinks a {
  282. background-color: {color:Content BG};
  283. border:1px solid {color:Content Border};
  284. display:block;
  285. font-size:7pt;
  286. margin-bottom:2px;
  287. padding:5px;
  288. width:100px;
  289. margin-left:-7px;
  290. letter-spacing:0px;
  291. text-align:center;
  292. font-family:calibri;
  293. text-shadow:none;
  294. text-transform:uppercase;
  295. color: {color:Bold}; }
  296.  
  297. #extraslinks a:hover {
  298. background-color: {color:Text};
  299. color: {color:Background};
  300. text-shadow:none;
  301. text-decoration:none;
  302. text-align:center;
  303. -webkit-transition: opacity 0.7s linear;
  304. -webkit-transition: all 0.7s ease-out;
  305. -moz-transition: all 0.7s ease-out;
  306. transition: all 0.7s ease-out;}
  307.  
  308. /* EXTRAS */
  309.  
  310. .extras {
  311. width:520px;
  312. z-index:2000;
  313. padding:0px;
  314. letter-spacing:0;}
  315.  
  316. .push {
  317. background:transparent;
  318. opacity:0;
  319. margin-top:0px;
  320. text-align:left;
  321. margin-left:520px;
  322. position:absolute;
  323. -webkit-transition: opacity 0.7s linear;
  324. -webkit-transition: all 0.7s ease-out;
  325. -moz-transition: all 0.7s ease-out;
  326. transition: all 0.7s ease-out;}
  327.  
  328. .extras:hover .push {
  329. opacity:1.0;
  330. margin-left:540px;
  331. -webkit-transition: opacity 0.7s linear;
  332. -webkit-transition: all 0.7s ease-out;
  333. -moz-transition: all 0.7s ease-out;
  334. transition: all 0.7s ease-out;}
  335.  
  336. </style>
  337.  
  338. <div class="pagination">
  339. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">back</a>{/block:PreviousPage}
  340. {block:NextPage}<a href="{NextPage}">next</a>{/block:NextPage}{/block:Pagination}
  341. </div>
  342.  
  343.  
  344. <div class="hover">
  345.  
  346. <div class="sidebar">
  347. <div class="sidebarcontent">
  348.  
  349. <div id="navigation">
  350. <div align="center"><table width="400px" style="margin:0;padding:0;text-align:center;"><td><td width="50%" vAlign="top" style="margin:0;padding:0;">
  351. <a href="{text:Link 1 URL}">{text:Link 1}</a>
  352. <a href="{text:Link 2 URL}">{text:Link 2}</a>
  353. </td>
  354.  
  355. <td width="50%" vAlign="top" style="margin:0;padding:0;">
  356. <a href="{text:Link 3 URL}">{text:Link 3}</a>
  357. <a href="{text:Link 4 URL}">{text:Link 4}</a>
  358. </td></tr></table></div></div>
  359.  
  360.  
  361. <img src="{image:Sidebar Image 2}" class="sidebarimage2" /><p>
  362. <img src="{PortraitURL-48}" class="portrait" /> <div align="justify">{Description}</div>
  363. </div>
  364.  
  365. <div class="sideimgborder">
  366. <div class="sidebarimage">
  367. </div>
  368. </div> <!-- END SIDE IMAGE BORDER -->
  369.  
  370.  
  371. </div> <!-- END SIDEBAR -->
  372. </div> <!-- END HOVER -->
  373.  
  374.  
  375.  
  376. <div class="contentwhole">
  377.  
  378. {block:Posts}
  379.  
  380. <div class="extras">
  381.  
  382. <div class="push">
  383. <div id="extraslinks">
  384.  
  385. <a href="{ReblogURL}" target="_blank" title="reblog this post!">REBLOG</a>
  386. {block:RebloggedFrom}<a href="{ReblogParentURL}">VIA</a>{/block:RebloggedFrom}
  387. {block:ContentSource} <a href="{SourceURL}">SOURCE</a>{/block:ContentSource}</a>
  388.  
  389. </div> <!-- END EXTRA LINKS -->
  390.  
  391. <div class="tags">
  392.  
  393. {block:HasTags}{block:Tags}
  394. <a href="{TagURL}">#{Tag}</a><br />
  395. {/block:Tags}{/block:HasTags}
  396.  
  397. </div> <!-- END TAGS -->
  398. </div> <!-- END PUSH -->
  399.  
  400. <div class="content">
  401.  
  402.  
  403. {block:Text}
  404. {block:Title}
  405. <a href="{Permalink}" class="ttitle">{Title}</a>
  406. {/block:Title}
  407. {Body}
  408. {/block:Text}
  409.  
  410. {block:Photo}
  411. <img class="photo" src="{PhotoURL-500}" alt="{PhotoAlt}" />
  412. {block:Caption}{Caption}{/block:Caption}
  413. {/block:Photo}
  414.  
  415. {block:Photoset}
  416. {Photoset-500}
  417. {block:Caption}{Caption}{/block:Caption}
  418. {/block:Photoset}
  419.  
  420. {block:Quote}
  421. {Quote}<p>
  422. {block:Source}- {Source}{/block:Source}
  423. {/block:Quote}
  424.  
  425. {block:Link}
  426. <a href="{URL}" target="{Target}" class="ttitle"> {Name} (x) </a>
  427. {block:Description} {Description} {/block:Description}
  428. {/block:Link}
  429.  
  430. {block:Chat}
  431. {block:Title} {Title} {/block:Title}
  432. {block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>
  433.  
  434. {/block:Lines}
  435. {/block:Chat}
  436.  
  437.  
  438. {block:Audio}
  439. {block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
  440. <p>
  441. {block:AlbumArt}
  442. <img src="{AlbumArtURL}" width="100px" />
  443. {/block:AlbumArt}
  444. <p>
  445. {block:Caption}
  446. {Caption}
  447. {/block:Caption}
  448. {/block:Audio}
  449.  
  450.  
  451. {block:Video}
  452. {Video-500}
  453. {block:Caption}{Caption}{/block:Caption}
  454. {/block:Video}
  455.  
  456. {block:Answer}
  457. {Asker} asked: {Question}<p>
  458. {Answer}
  459. {/block:Answer}
  460.  
  461.  
  462. <div class="info">
  463. {block:Date}<a href="{Permalink}">posted {TimeAgo}</a>{/block:Date}
  464. {block:NoteCount}with {NoteCountWithLabel} {/block:NoteCount}
  465. </div> <!--END INFO -->
  466.  
  467. {block:PermalinkPage}
  468. {block:ContentSource} Source: <a href="{SourceURL}" target="_blank">{SourceTitle}</a>{/block:ContentSource}<p>
  469. {block:PostNotes}
  470. {PostNotes}
  471. {/block:PostNotes}
  472. {/block:PermalinkPage}
  473. </div> <!-- END CONTENT -->
  474. </div> <!-- END EXTRAS -->
  475. {/block:Posts}
  476. </div> <!-- END CONTENT WHOLE -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement