Advertisement
rctyler24

Real Simple Theme

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