chraliecox

theme one by chraliecox

Dec 28th, 2015
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.42 KB | None | 0 0
  1.  
  2. <!--
  3.  
  4. theme one by chraliecox
  5.  
  6. please use respectfully and contact http://chraliecox.tumblr.com/ask if you have any questions, or if you find any problems with the code. thank you so much, and enjoy!
  7.  
  8. --
  9.  
  10. video resizing script by
  11. http://shythemes.tumblr.com/
  12.  
  13. --
  14.  
  15. theme base by
  16. http://sorrism.tumblr.com/
  17.  
  18. -->
  19.  
  20. <!DOCTYPE html>
  21.  
  22. <head>
  23.  
  24. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  25.  
  26. <title>{Title}</title>
  27.  
  28. <link rel="shortcut icon" href="{Favicon}">
  29. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  30. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  31.  
  32. <!--Default Variables-->
  33.  
  34. <meta name="color:background" content="#ffffff"/>
  35. <meta name="color:text" content="#2b2b2b"/>
  36. <meta name="color:link" content="#2b2b2b"/>
  37. <meta name="color:link hover" content="#949494"/>
  38. <meta name="color:accent border" content="#dcdcdc"/>
  39. <meta name="color:accent" content="#f2f2f2"/>
  40. <meta name="color:blockquote" content="#dadada"/>
  41.  
  42. <meta name="image:sidebar" content=""/>
  43.  
  44. <meta name="text:link 1 URL" content="" />
  45. <meta name="text:link 1" content="" />
  46. <meta name="text:link 2 URL" content="" />
  47. <meta name="text:link 2" content="" />
  48.  
  49. <!--CSS customization here. -->
  50.  
  51. <link href='https://fonts.googleapis.com/css?family=Karla' rel='stylesheet' type='text/css'>
  52.  
  53. <style type="text/css">
  54.  
  55. #s-m-t-tooltip{
  56. position:absolute;
  57. margin-top: 15px;
  58. z-index:9999;
  59. background:{color:background};
  60. }
  61.  
  62. /*basics*/
  63.  
  64. blockquote {
  65. padding-left:12px;
  66. border-left:1px solid {color:blockquote};
  67. margin-left:8px;
  68. }
  69.  
  70. ul {
  71. list-style:none;
  72. text-align:left;
  73. padding-left:0;
  74. }
  75.  
  76. li {
  77. position:relative;
  78. padding-left:30px;
  79. }
  80.  
  81. ul li:before {
  82. position:absolute;
  83. left:15px;
  84. vertical-align:baseline!important;
  85. content:'›';
  86. }
  87.  
  88. body {
  89. background:{color:background};
  90. color:{color:text};
  91. font-family:karla;
  92. font-size:10px;
  93. margin:0;
  94. text-align:justify;
  95. line-height:16px;
  96. }
  97.  
  98. a {
  99. color:{color:link};
  100. -moz-transition-duration:0.4s;
  101. -webkit-transition-duration:0.4s;
  102. -o-transition-duration:0.4s;
  103. text-decoration:none;
  104. }
  105.  
  106. a:hover {
  107. color:{color:link hover};
  108. cursor:help;
  109. -moz-transition-duration:0.4s;
  110. -webkit-transition-duration:0.4s;
  111. -o-transition-duration:0.4s;
  112. }
  113.  
  114. img {
  115. opacity:1;
  116. border:none;
  117. text-decoration:none;
  118. }
  119.  
  120. small {
  121. font-size:10px;
  122. }
  123.  
  124. big {
  125. font-size:10px;
  126. }
  127.  
  128. #title {font-size:12px;
  129. line-height:18px;
  130. margin-bottom:10px;
  131. font-weight:bold;
  132. text-transform:none;
  133. text-align:left;
  134. }
  135.  
  136. /*sidebar*/
  137.  
  138. #sidebar {
  139. text-align:left;
  140. position:fixed;
  141. margin-left:-310px;
  142. margin-top:95px;
  143. width:245px;
  144. }
  145.  
  146. #sidebar img {
  147. width:245px;
  148. }
  149.  
  150. #links {
  151. margin-top:8px;
  152. border:1px solid {color:accent border};
  153. background:{color:accent};
  154. text-align:center;
  155. text-transform:lowercase;
  156. font-weight:bold;
  157. padding:9px 0px 9px 0px;
  158. }
  159.  
  160. #links a {
  161. margin-bottom:0px;
  162. -moz-transition-duration:0.4s;
  163. -webkit-transition-duration:0.4s;
  164. -o-transition-duration:0.4s;
  165. }
  166.  
  167. #description {
  168. margin-top:8px;
  169. text-align:center;
  170. }
  171.  
  172. /*pagination*/
  173.  
  174. #pagination {
  175. text-transform:lowercase;
  176. text-align:center;
  177. font-size:13px;
  178. margin-bottom:120px;
  179. }
  180.  
  181. #pagination a {
  182. padding:0 3px;
  183. }
  184.  
  185. /*container*/
  186.  
  187. #con {
  188. left:50%;
  189. margin-left:-190px;
  190. position:absolute;
  191. }
  192.  
  193. /*posts*/
  194.  
  195. #entries {
  196. margin-top:95px;
  197. width:500px;
  198. }
  199.  
  200. #posts {
  201. width:500px;
  202. {block:IndexPage}
  203. margin-bottom:80px;
  204. {/block:IndexPage}
  205. {block:PermalinkPage}
  206. margin-bottom:50px;
  207. {/block:PermalinkPage}
  208. }
  209.  
  210. #posts img {
  211. max-width:500px;
  212. }
  213.  
  214. #posts img, #posts li, #posts blockquote {
  215. max-width: 100%;
  216. }
  217.  
  218. .caption {
  219. width:100%;
  220. margin-top:13px;
  221. margin-bottom:12px;
  222. }
  223.  
  224. a.tumblr_blog {
  225. font-weight:bold;
  226. -moz-transition-duration:0.4s;
  227. -webkit-transition-duration:0.4s;
  228. -o-transition-duration:0.4s;
  229. }
  230.  
  231. /*quote*/
  232.  
  233. #titlequote {
  234. text-align:left;
  235. font-size:12px;
  236. line-height:17px;
  237. font-weight:bold;
  238. }
  239.  
  240. #source {
  241. margin-top:0px;
  242. margin-bottom:11px;
  243. margin-left:0px;
  244. }
  245.  
  246. /*asks*/
  247.  
  248. .q {
  249. border:1px solid {color:accent border};
  250. background:{color:accent};
  251. padding:9px 0px 9px 12px;
  252. line-height:17px;
  253. font-size:10px;
  254. }
  255.  
  256. .as {
  257. font-weight:normal;
  258. }
  259.  
  260. .a {
  261. margin-top:13px;
  262. }
  263.  
  264. /*chat*/
  265.  
  266. .chat ol {
  267. padding:0;
  268. list-style:none;
  269. }
  270.  
  271. .line {
  272. padding:0px 0;
  273. }
  274.  
  275. .label {
  276. font-weight:bold;
  277. }
  278.  
  279. /*permalink and notes*/
  280.  
  281. #permalink {
  282. font-size:10px;
  283. text-align:left;
  284. margin-top:6px;
  285. text-transform:lowercase;
  286. }
  287.  
  288. #permalink a {
  289. margin-right:0px;
  290. }
  291.  
  292. .tags {
  293. font-size:10px;
  294. text-transform:none;
  295. }
  296.  
  297. .pagenotes {
  298. {block:IndexPage}
  299. display: none!important;
  300. {/block:IndexPage}
  301. width:500px;
  302. text-align:left;
  303. }
  304.  
  305. .pagenotes img {
  306. display:none!important;
  307. }
  308.  
  309. .pagenotes li {
  310. list-style-type:none;
  311. padding:2px 0px;
  312. text-align:left;
  313. margin:0 0 0 -40px;
  314. }
  315.  
  316. /*THEME CREDIT - please don't remove*/
  317.  
  318. #credit {
  319. bottom:15px;
  320. font-style:none;
  321. right:15px;
  322. text-transform:uppercase;
  323. border-bottom:1px solid {color:accent border};
  324. letter-spacing:1px;
  325. font-weight:bold;
  326. font-size:9px;padding:5px;
  327. position:fixed;
  328. }
  329.  
  330. /*THEME CREDIT END*/
  331.  
  332. {CustomCSS}
  333.  
  334. </style>
  335.  
  336. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  337. <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
  338.  
  339. </head>
  340.  
  341. <body>
  342.  
  343. <div id="credit"><a href="http://chraliecox.tumblr.com/">CH</a></div>
  344.  
  345. <div id="con">
  346.  
  347. <div id="sidebar">
  348. <div id="sidebar img"><img src="{image:sidebar}">
  349.  
  350. </div>
  351.  
  352. <div id="links">
  353. <a href="/">home</a>&nbsp;
  354. <a href="/ask">inbox</a>&nbsp;
  355. {block:iflink1}<a href="{text:link 1 URL}">{text:link 1}</a>{/block:iflink1}&nbsp;
  356. {block:iflink2}<a href="{text:link 2 URL}" >{text:link 2}</a>{/block:iflink2}
  357.  
  358. </div>
  359.  
  360. <div id="description">{Description}</div>
  361.  
  362. </div>
  363.  
  364. <div id="entries">
  365.  
  366. {block:Posts}
  367.  
  368. <div id="posts">
  369.  
  370. {block:Quote}
  371. <div id="titlequote"><i class="fa fa-quote-left"></i>&nbsp; {Quote} &nbsp;<i class="fa fa-quote-right"></i></div>
  372. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  373. {/block:Quote}
  374.  
  375. {block:Text}
  376. {block:Title}
  377. <div id="title">{Title}</div>{/block:Title}
  378. {Body}
  379. {/block:Text}
  380.  
  381. {block:link}
  382. <div id="title"><a href="{URL}"><i class="fa fa-link"></i>&nbsp; {Name}</a></div>{block:Description}{Description}{/block:Description}
  383. {/block:link}
  384.  
  385. {block:Chat}
  386. {block:Title}
  387. <div id="title">{Title}</div>{/block:Title}
  388. {/block:Text}
  389. {block:lines}
  390. {block:label}
  391. <br><b>{label}</b>
  392. {/block:label}
  393. {line}
  394. {/block:lines}
  395. {/block:Chat}
  396.  
  397. {block:Photo}
  398. {linkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{linkCloseTag}
  399. {/block:Photo}
  400.  
  401. {block:Photoset}
  402. {Photoset-500}
  403. {/block:Photoset}
  404.  
  405. <div class="video">{Video-500}</div>
  406.  
  407. {block:Audio}
  408. {block:AudioEmbed}{AudioEmbed-500}{/block:AudioEmbed}
  409. {/block:Audio}
  410.  
  411. {block:Answer}
  412. <div class="q">
  413. <div class="as"> <b><big>{Asker}</big></b>
  414. {Question}</div></div>
  415. <div class="a">{Answer}</div>
  416. {/block:Answer}
  417.  
  418. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  419.  
  420. <!-- {block:ContentSource} {SourceURL} {/block:ContentSource} {block:RebloggedFrom} {ReblogRootURL} {ReblogParentURL} {/block:RebloggedFrom} -->
  421.  
  422. {block:Date}
  423. <div id="permalink">
  424. <a href="{Permalink}" ><b>{ShortMonth} {DayOfMonthWithSuffix}</b></a>
  425. {block:NoteCount} &nbsp;—&nbsp; <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}<div style="float:right;">{block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{block:ContentSource} &nbsp;—&nbsp; <a href="{ReblogRootURL}" title="{ReblogRootName}">source</a>{/block:ContentSource}{/block:RebloggedFrom}</div>
  426.  
  427. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a>&nbsp;&nbsp;{/block:Tags}</div>{/block:HasTags}
  428.  
  429. </div>
  430.  
  431. {/block:Date}
  432.  
  433. </div>
  434.  
  435. {block:PostNotes}
  436. <div class="pagenotes">
  437. {PostNotes}
  438. </div>
  439. {/block:PostNotes}
  440.  
  441. {/block:Posts}
  442.  
  443. <div id="pagination">
  444. {block:Pagination}
  445. {block:PreviousPage}<a href="{PreviousPage}" class="jump_page"><b>back</b></a>
  446.  
  447. {/block:PreviousPage}
  448. {block:JumpPagination length="5"}
  449. {block:CurrentPage}&nbsp;<span class="current_page"><i>{PageNumber}
  450.  
  451. </i></span>&nbsp;{/block:CurrentPage}
  452. {block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>{/block:JumpPage}
  453.  
  454. {/block:JumpPagination}
  455. {block:NextPage}<a href="{NextPage}" class="jump_page"><b>next</b></a>
  456.  
  457. {/block:NextPage}
  458. {/block:Pagination}
  459.  
  460. </div>
  461.  
  462. </div>
  463.  
  464. </div>
  465.  
  466. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment