Advertisement
chraliecox

base code by chraliecox

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