Advertisement
rctyler24

Petite Theme

Oct 10th, 2012
813
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.36 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html lang="en">
  3.  
  4.  
  5. <!-- -----------------------------------------------
  6. Petite Theme by thosesexycodes.tumblr.com
  7. You may edit the theme as you wish, but please keep my original
  8. source code. Thank you xoxo
  9. ----------------------------------------------- -->
  10.  
  11. <head>
  12. <style href>a {text-decoration: none} </style>
  13. <!--Default Variables-->
  14. <meta name="image:Background" content="" />
  15. <meta name="image:Sidebar" content="" />
  16.  
  17. <meta name="if:Sidebar Image" content="0">
  18. <meta name="if:Sidebar Title" content="0">
  19.  
  20. <meta name="color:Background" content="#f3eae1" />
  21. <meta name="color:Body Text" content="#666666" />
  22. <meta name="color:Link" content="#f08e8e" />
  23. <meta name="color:Link Hover" content="#dd126d" />
  24.  
  25.  
  26. <title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>
  27. <link rel="shortcut icon" href="{Favicon}"/>
  28.  
  29. {block:Description}<meta name="description" content="{MetaDescription}" />
  30. {/block:Description}
  31.  
  32.  
  33. {text:Custom Title Font CODE}
  34.  
  35. <style type="text/css">
  36.  
  37. #entry a > img:not([src*="avatar"]),
  38. #entry p > img,
  39. #entry center > img {
  40. width: 500px !important;
  41. min-width: 500px !important;
  42. max-width: 500px !important;
  43. }
  44.  
  45.  
  46. body {
  47. background: {color:Background};
  48. background-image:url('{image:Background}');
  49. background-attachment: fixed;
  50. background-position:center;
  51. font-family: Cambria;
  52. font-size:12px;
  53. line-height:1.1em;
  54. font-smooth: always;
  55. font-weight: 400;
  56. color: {color:Body Text};
  57. }
  58.  
  59. p {
  60. line-height: 1.1em;
  61. }
  62.  
  63. a {
  64. color: {color:Link};
  65. font-smooth:always;
  66. }
  67.  
  68. a:hover {
  69. color: {color:Link Hover};
  70. font-smooth:always;
  71. }
  72.  
  73. img {
  74. max-width: 500px;
  75. overflow:hidden;
  76. }
  77.  
  78.  
  79.  
  80. blockquote {
  81. border-left: 2px {color:Link} solid;
  82. margin-left: 15px;
  83. padding-left: 5px;
  84. }
  85.  
  86. /*sidebar title*/
  87. h2 {
  88. font-size: 16px;
  89. font-family: Georgia;
  90. font-weight: 400;
  91. text-transform: lowercase;
  92. line-height: .5em;
  93. text-align: center;
  94. font-smooth: always;
  95. }
  96.  
  97. /*theme cred*/
  98. h3 {
  99. font-family: Cambria;
  100. font-size: 10px;
  101. font-weight: 400;
  102. text-align: center;
  103. padding-top: 5px;
  104. line-height: .1em;
  105. font-style:italic;
  106. }
  107.  
  108.  
  109. /*question formating (NOT ANSWER)*/
  110. .question {
  111. background: {color:Link};
  112. font-family: Cambria;
  113. opacity: .8;
  114. font-size: 16px;
  115. color: white;
  116. padding: 5px;
  117. font-weight: 400;
  118. line-height: 1em;
  119. border-radius: 10px;
  120. }
  121.  
  122. .arrow-down {
  123. width: 0;
  124. height: 0;
  125. opacity: .8;
  126. margin-left: 450px;
  127. border-left: 15px solid transparent;
  128. border-right: 15px solid transparent;
  129. border-top: 15px solid {color:Link};
  130. }
  131.  
  132. /*asker format*/
  133. .asker {
  134. text-align:right;
  135. font-style: italic;
  136. font-weight: 400;}
  137.  
  138. /*post titles*/
  139. .title {
  140. font-family: Georgia;
  141. text-align: left;
  142. font-smooth: always;
  143. font-weight: 400;
  144. font-size: 20px;
  145. letter-spacing: -1px;
  146. line-height: 1em;
  147. }
  148.  
  149. /*permalinks at the bottom of each post*/
  150. .permalink {
  151. font-size: 10px;
  152. text-align: right;
  153. text-transform: uppercase;
  154. line-height: 1.25em;
  155. letter-spacing: 0px;
  156. }
  157.  
  158. #wrap {
  159. background: transparent;
  160. width:700px;
  161. margin-left: auto;
  162. margin-right: auto;
  163. margin-top: 25px;
  164. }
  165.  
  166.  
  167. #entry {
  168. width: 500px;
  169. margin-bottom: 10px;
  170. background-color:rgba(255,255,255,0.6);
  171. overflow: hidden;
  172. display: block;
  173. position: relative;
  174. float: right;
  175. padding: 10px;
  176. border-radius: 5px;
  177. box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
  178. }
  179.  
  180. #sidebar {
  181. background-color:rgba(255,255,255,0.6);
  182. text-align: justify;
  183. overflow: hidden;
  184. float: left;
  185. display:block;
  186. position: fixed;
  187. width: 150px;
  188. padding: 0px 10px 5px 10px;
  189. border-radius: 5px;
  190. box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
  191. }
  192.  
  193.  
  194. #navig {
  195. width: 500px;
  196. text-transform: uppercase;
  197. font-size: 16px;
  198. text-align: center;
  199. margin-left:auto;
  200. margin-right:auto;
  201. margin-bottom: 25px;
  202. position: relative;
  203. clear: both;
  204. background-color:rgba(255,255,255,0.5);
  205. display: block;
  206. float: right;
  207. padding:10px;
  208. border-radius: 5px;
  209. box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
  210. }
  211.  
  212. #conversation {
  213. line-height: 1.2em;
  214. }
  215.  
  216.  
  217. #post-notes {
  218. text-align: right;
  219. font-size: 12px;
  220. text-transform: uppercase;
  221. }
  222.  
  223.  
  224. /* CLEAR FIX*/
  225. .clearfix:after {content: ".";
  226. display: block;
  227. height: 0;
  228. clear: both;
  229. visibility: hidden;}
  230. .clearfix {display: inline-block;}
  231. /* Hides from IE-mac \*/
  232. * html .clearfix { height: 1%;}
  233. .clearfix {display: block;}
  234. /* End hide from IE-mac */
  235.  
  236.  
  237. {CustomCSS}
  238.  
  239. </style>
  240. </head>
  241.  
  242. <body>
  243.  
  244. <div id="wrap">
  245.  
  246. <div id="main" class="clearfix">
  247.  
  248.  
  249.  
  250. <div id="sidebar">
  251.  
  252. <a href="/"><h2>{Title}</h2></a>
  253.  
  254. {block:ifSidebarImage}
  255. <a href="/">
  256. <img src="{image:Sidebar}" style="width:150px; border-radius: 100px; opacity: 0.75;"><br>
  257. </a>
  258. {/block:ifSidebarImage}
  259.  
  260. <p>{Description}</p>
  261.  
  262.  
  263.  
  264. <p style="text-transform: lowercase;">
  265. ✿ <a href="/ask">{AskLabel}</a><br>
  266.  
  267. {block:HasPages}{block:Pages}
  268. ✿ <a href="{URL}">{Label}</a><br>
  269. {/block:Pages}{/block:HasPages}
  270.  
  271. ✿ <a href="/archive">Archive</a><br>
  272.  
  273. {block:IfRSS}✿ <a href="{RSS}">RSS</a>{/block:IfRSS}
  274.  
  275. {block:IfSubmit}✿ <a href="/submit">Submit</a>{/block:IfSubmit}
  276. </p>
  277.  
  278. <p style="line-height: .75em; text-align: center;"><small>theme by <a href="http://thosesexycodes.tumblr.com/">thosesexycodes</a></small></p>
  279.  
  280. </div>
  281.  
  282.  
  283.  
  284. {block:Posts}
  285.  
  286.  
  287. <div id="entry">
  288.  
  289.  
  290. {block:Text}
  291. {block:Title}<div class="title">{Title}</div>{/block:Title}
  292. {Body}
  293. {/block:Text}
  294.  
  295.  
  296. {block:Photo}
  297. {LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" width="500" alt="{PhotoAlt}"></a>{LinkCloseTag}
  298. {block:Caption}{Caption}{/block:Caption}
  299. {/block:Photo}
  300.  
  301.  
  302. {block:Photoset}
  303. {LinkOpenTag}<a href="{Permalink}" alt="{PhotoAlt}">{Photoset-500}</a>{LinkCloseTag}
  304. {block:Caption}{Caption}{/block:Caption}
  305. {/block:Photoset}
  306.  
  307.  
  308.  
  309. {block:Quote}
  310. <div class="title">{Quote}</div>
  311. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;—&nbsp;{block:Source}{Source}{/block:Source}<br><br>
  312. {/block:Quote}
  313.  
  314.  
  315.  
  316. {block:Link}
  317. <div class="title"><a href="{URL}">{Name}</a></div>
  318. {block:Description}{Description}{/block:Description}
  319. {/block:Link}
  320.  
  321.  
  322.  
  323. {block:Audio}
  324. <center>
  325. {block:AudioEmbed}{AudioEmbed-500}{/block:AudioEmbed}
  326.  
  327. {block:AlbumArt}
  328. <img src="{AlbumArtURL}" width="250">
  329. {/block:AlbumArt}
  330.  
  331. <br><br>
  332.  
  333. {block:AudioPlayer}{AudioPlayerGrey}{/block:AudioPlayer}
  334. </center>
  335. {block:Caption}{Caption}{/block:Caption}
  336.  
  337. {/block:Audio}
  338.  
  339.  
  340.  
  341. {block:Conversation}
  342. {block:Title}<div class="title">{Title}</div>{/block:Title}
  343.  
  344. <div class="conversation">
  345. {block:Lines}
  346. <br>
  347. {block:Label}<b>{Label}</b>{/block:Label}
  348. {Line}
  349. {/block:Lines}
  350. </div>
  351.  
  352. {/block:Conversation}
  353.  
  354.  
  355. {block:Video}
  356. {Video-500}
  357. {block:Caption}{Caption}{/block:Caption}
  358. {/block:Video}
  359.  
  360.  
  361.  
  362. {block:Answer}
  363. <div class="question">{Question}</div>
  364. <div class="arrow-down"></div>
  365. <div class="asker">{Asker}</div>
  366.  
  367. {Answer}
  368. {/block:Answer}
  369.  
  370.  
  371. <div class="permalink">{block:Date}<a href="{Permalink}">{TimeAgo}&nbsp;/&nbsp;{NoteCountWithLabel}</a>{/block:Date}
  372.  
  373.  
  374. {block:HasTags}<br>{block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;&nbsp;{/block:Tags}{/block:HasTags}</div>
  375.  
  376. {block:PostNotes}
  377.  
  378. <div id="post-notes">
  379. {block:RebloggedFrom}via: <a href="{ReblogParentURL}">{ReblogParentName}</a>
  380. {/block:RebloggedFrom}
  381.  
  382. {block:ContentSource}&nbsp;|&nbsp;source: <a href="{SourceURL}">{SourceTitle}</a>
  383. {/block:ContentSource}
  384.  
  385.  
  386. </div>
  387.  
  388. {PostNotes}{/block:PostNotes}</div>
  389.  
  390. {/block:Posts}
  391.  
  392. </div>
  393.  
  394.  
  395. {block:Pagination}
  396. <div id="navig">
  397.  
  398.  
  399. {block:Pagination}
  400. {block:PreviousPage}
  401. <a href="{PreviousPage}">« newer</a>
  402. &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp;
  403. {/block:PreviousPage}
  404.  
  405.  
  406.  
  407. {block:NextPage}
  408. <a href="{NextPage}">older »</a>
  409. {/block:NextPage}
  410. {/block:Pagination}
  411. </div>
  412. {/block:Pagination}
  413.  
  414. </div>
  415.  
  416.  
  417. <br><br><br>
  418.  
  419. </body>
  420. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement