cherrybearr

theme 1

Dec 31st, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.62 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!--Customisation Options (part 2)-->
  6.  
  7. <meta name="color:Background" content="#cccccc" />
  8. <meta name="color:Primary Colour" content="#03999b" />
  9. <meta name="color:Secondary Colour" content="#4cc3c5" />
  10. <meta name="color:Sidebar" content="" />
  11.  
  12. <meta name="font:Body" content="Georgia" />
  13.  
  14. <meta name="image:Background" content="" />
  15. <meta name="image:Sidebar" content="" />
  16.  
  17. <meta name="if:Infinite Scroll" content="0">
  18.  
  19. <!--Things that go in the tab (part 1)-->
  20.  
  21. <title>{Title}{block:PostSummary}, {PostSummary}{/block:PostSummary}</title>
  22. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  23. <link rel="shortcut icon" href="{Favicon}" />
  24.  
  25. <!--Custom font (part 4)-->
  26.  
  27. <link href='http://fonts.googleapis.com/css?family=Oregano' rel='stylesheet' type='text/css'>
  28.  
  29. <style type="text/css">
  30.  
  31. /*Notes in CSS look like this. If you use <!--these--> it will not work*/
  32.  
  33. /*The Background (part 3)*/
  34.  
  35. body {
  36. background-color: {color:Background};
  37. font-family: {font:Body};
  38. background-image: url({image:Background});
  39. background-attachment: fixed;
  40. margin: 0;
  41. word-wrap: break-word;
  42. }
  43.  
  44. /*The Sidebar (part 4)*/
  45.  
  46. #sidebar {
  47. background-color: {color:sidebar};
  48. width: 350px;
  49. position: fixed;
  50. padding:20px;
  51. padding-top:50px;
  52. height:550px;
  53. margin-top:-55px;
  54. border:7px solid white;
  55. box-shadow: 5px 5px 10px gray;
  56. }
  57.  
  58. /*The Sidebar: Title*/
  59.  
  60. #titlebar .title {
  61. font-family: 'Oregano', cursive;
  62. font-size: 30px;
  63. text-align: center;
  64. padding: 10px;
  65. float:right;
  66. position:relative;
  67. top:-10px;
  68. }
  69.  
  70. #titlebar .title a {
  71. color: {color:Primary Colour};
  72. text-decoration: none;
  73. transition: all 2s;
  74. -webkit-transition: all 2s ease-in-out;
  75. -moz-transition: all 2s ease-in-out;
  76. font-family: 'Oregano', cursive;
  77. font-size: 30px;
  78. text-align: center;
  79. padding: 10px;
  80. float:right;
  81. }
  82.  
  83. #titlebar .title a:hover {
  84. color: {color:Secondary Colour};
  85. transform: rotate(3deg);
  86. -webkit-transform: rotate(3deg);
  87. font-family: 'Oregano', cursive;
  88. font-size: 30px;
  89. text-align: center;
  90. padding: 10px;
  91. float:right;
  92. }
  93.  
  94. /*The Sidebar: Image*/
  95.  
  96. #sidebar .image {
  97. width: auto;
  98. height: auto;
  99. border: 3px outset white;
  100. box-shadow:3px 3px 5px black;
  101. }
  102.  
  103. /*The Sidebar: Description*/
  104.  
  105. #sidebar .description {
  106. color: black;
  107. font-size: 13px;
  108. text-align: justify;
  109. text-align:center;
  110. padding:10px;
  111. line-height:110%;
  112. margin-top:40px;
  113. margin-bottom:30px;
  114. background: -webkit-radial-gradient(circle, rgba(255,255,255,1), rgba(255,255,255,0));
  115. background: -moz-radial-gradient(circle, rgba(255,255,255,1), rgba(255,255,255,0));
  116. position: relative;
  117. }
  118.  
  119. #sidebar .description a {
  120. color: {color:Primary Colour};
  121. text-decoration: none;
  122. }
  123.  
  124. #sidebar .description a:hover {
  125. color: {color:Secondary Colour};
  126. }
  127.  
  128. /*The Sidebar: Links*/
  129.  
  130. #sidebar .links {
  131. font-size: 12px;
  132. text-align: center;
  133. padding: 3px 5px;
  134. margin: 5px;
  135. float: left;
  136. width: 60px;
  137. margin: 4px 8px 2px 8px;
  138. color:black;
  139. background: -webkit-radial-gradient(circle, rgba(255,255,255,1), rgba(255,255,255,0));
  140. background: -moz-radial-gradient(circle, rgba(255,255,255,1), rgba(255,255,255,0));
  141. display: inline;
  142. }
  143.  
  144. #sidebar .links a {
  145. text-decoration:none;
  146. }
  147.  
  148. #sidebar .links:hover {
  149. background-color: {color:Secondary Colour};
  150. transition: all 1.5s ease-in-out;
  151. -webkit-transition: all 1.5s ease-in-out;
  152. -moz-transition: all 1.5s ease-in-out;
  153. }
  154.  
  155. /*The Sidebar: Pagination (part 8)*/
  156.  
  157. #sidebar .pagination {
  158. width: 260px;
  159. text-align: center;
  160. padding: 3px 0;
  161. }
  162.  
  163. #sidebar .pagination a {
  164. color: {color:Primary Colour};
  165. text-decoration: none;
  166. }
  167.  
  168. #sidebar .pagination a:hover {
  169. color: {color:Secondary Colour};
  170. }
  171.  
  172.  
  173. /***************************/
  174.  
  175. /*The Main Content (Part 6)*/
  176.  
  177. #content {
  178. width: 560px;
  179. background-color: rgba(255, 255, 255, 0.6);
  180. margin: 60px 0 60px 460px;
  181. padding: 20px 0;
  182. color: black;
  183. border: 3px outset white;
  184. box-shadow: 5px 5px 10px gray;
  185. }
  186.  
  187. #content a {
  188. color: {color:Primary Colour};
  189. text-decoration: none;
  190. }
  191.  
  192. #content a:hover {
  193. color: {color:Secondary Colour};
  194. }
  195.  
  196. #content blockquote {
  197. border-left: solid 2px black;
  198. margin: 0;
  199. padding-left: 10px;
  200. }
  201.  
  202. img {
  203. border: 0;
  204. max-width: 100%;
  205. }
  206.  
  207. #content #posts {
  208. background-color: rgba(255,255,255,.9);
  209. width: 500px;
  210. margin: 0 auto 20px;
  211. padding:10px;
  212. }
  213.  
  214. #content #posts .title {
  215. font-size: 22px;
  216. }
  217.  
  218. #content #posts .text {
  219. font-size:13px;
  220. }
  221.  
  222. #player {
  223. width:30px;
  224. height:30px;
  225. position:absolute;
  226. overflow:hidden;
  227. margin-top:35px;
  228. margin-bottom:35px;
  229. margin-left:45px;
  230. opacity: 0.7;
  231. filter:alpha(opacity=70);
  232. -moz-opacity: 0.7;
  233. -khtml-opacity: 0.7;
  234. -moz-border-radius: 30px;
  235. -webkit-border-radius: 30px;
  236. border-radius: 30px;
  237. }
  238.  
  239. #albumart {
  240. float:left;
  241. margin:0px 15px 0px 0px;
  242. border:3px solid white;
  243. height:100px;
  244. width:100px;
  245. background-color: rgba(215,215,215,.5);
  246. box-shadow:5px 5px 9px gray;
  247. }
  248.  
  249. #audioplayerbox {
  250. background-image:url("https://31.media.tumblr.com/8daa9cd4a770540f75e2175e7afea863/tumblr_nell0cqJQO1thncmho1_500.jpg");
  251. height:110px;
  252. padding:10px;
  253. }
  254.  
  255. li {
  256. display:block;
  257. padding:2px;
  258. }
  259. .questionbox {
  260. background-color: rgba(230,230,230,.5);
  261. padding: 10px;
  262. border-radius: 10px;
  263. }
  264.  
  265. /***************************/
  266.  
  267. /*The Permalink and Tags (part 7)*/
  268.  
  269. #content #posts #permalink {
  270. font-size:11px;
  271. margin-top:10px;
  272. }
  273.  
  274. #content #posts #tags {
  275. font-size:13px;
  276. }
  277.  
  278. #content #posts #tags .comma:last-child {
  279. display: none;
  280. }
  281.  
  282. /*Note Container (part 7)*/
  283.  
  284. #content #notecontainer {
  285. margin: 20px auto;
  286. width: 500px;
  287. font-size: 11px;
  288. }
  289.  
  290. #content #notecontainer ol.notes {
  291. list-style-type: none;
  292. margin: 0;
  293. padding: 0;
  294. }
  295.  
  296. #content #notecontainer img.avatar {
  297. margin-right: 10px;
  298. width: 16px;
  299. height: 16px;
  300. }
  301.  
  302. /*Custom CSS (part 8)*/
  303.  
  304. {CustomCSS}
  305.  
  306. #search {
  307. margin-left: 50px;
  308. }
  309.  
  310. #titlebar {
  311. height:45px;
  312. width:1025px;
  313. top:0px;
  314. background: -webkit-linear-gradient(right, rgba(255,255,255,.9), rgba(255,255,255,0));
  315. background: -moz-linear-gradient(right, rgba(255,255,255,.9), rgba(255,255,255,.0));
  316. position:absolute;
  317. position:fixed;
  318. padding-bottom:5px;
  319. transition: all 3s;
  320. -webkit-transition: all 2s ease-in-out;
  321. -moz-transition: all 2s ease-in-out;
  322. }
  323.  
  324. #titlebar:hover {
  325. height:45px;
  326. width:1050px;
  327. top:0px;
  328. background: -webkit-linear-gradient(right, rgba(255,255,255,.9), rgba(255,255,255,0));
  329. background: -moz-linear-gradient(right, rgba(255,255,255,.9), rgba(255,255,255,.0));
  330. position:absolute;
  331. position:fixed;
  332. padding-bottom:5px;
  333. }
  334.  
  335.  
  336. #themecredit {
  337. position:relative;
  338. position:absolute;
  339. top:575px;
  340. left:10px;
  341. }
  342.  
  343. .lcb a{
  344. text-decoration:none;
  345. color: {color:Primary Colour};
  346. }
  347.  
  348. .lcb a:hover{
  349. color: {color:Secondary Colour};
  350. transition: all 1.5s ease-in-out;
  351. -webkit-transition: all 1.5s ease-in-out;
  352. -moz-transition: all 1.5s ease-in-out;
  353. }
  354.  
  355. #rilakkuma {
  356. height:35px;
  357. width:35px;
  358. }
  359.  
  360. </style>
  361.  
  362. <!--Infinite Scroll (part 8)-->
  363.  
  364. {block:IfInfiniteScroll}
  365. <script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>
  366. {/block:IfInfiniteScroll}
  367.  
  368. <script type="text/javascript"
  369. src="http://www.google.com/jsapi"></script>
  370.  
  371. <script type="text/javascript">
  372. google.load("jquery", "1.3");
  373. google.setOnLoadCallback(function() {
  374. jQuery(function($) {
  375. // do some stuff here, eg load your tweets, ...
  376. $(document).ready(function() {
  377.  
  378. });
  379. });
  380. });
  381. </script>
  382.  
  383. </head>
  384.  
  385. <body>
  386.  
  387.  
  388.  
  389.  
  390. <!--The Sidebar (part 4)-->
  391.  
  392. <div id="sidebar">
  393.  
  394.  
  395. <img class="image" src="{image:Sidebar}" />
  396.  
  397. {block:AskEnabled}<a href="/ask"><div class="links">{AskLabel}</div></a>{/block:AskEnabled}
  398. {block:SubmissionsEnabled}<a href="/submit"><div class="links">{SubmitLabel}</div></a>{/block:SubmissionsEnabled}
  399. {block:HasPages}{block:Pages}<a href="{url}"><div class="links">{Label}</div></a>{/block:Pages}{/block:HasPages}
  400.  
  401. <hr>
  402.  
  403. <div class="description">{Description}</div>
  404.  
  405. <div id="search">
  406. <form action="/search" method="get">
  407. <input type="text" name="q" value="{SearchQuery}"/>
  408. <input type="submit" value="Search"/>
  409. </form>
  410. </div>
  411. <!--Pagination (part 8)-->
  412.  
  413. {block:IfNotInfiniteScroll}
  414. <div class="pagination">
  415. {block:PreviousPage}<a href="{PreviousPage}"><-Previous | </a>{/block:PreviousPage}
  416. {block:NextPage}<a href="{NextPage}"> Next-></a>{/block:NextPage}
  417. </div>
  418. {/block:IfNotInfiniteScroll}
  419.  
  420. <div id="themecredit">
  421. <img id="rilakkuma" src="https://38.media.tumblr.com/avatar_aa05499ce1b8_96.png" />
  422. <span class="lcb">Theme made by <a href="http://lilcherrybearr.tumblr.com">LilCherryBearr</a></span>
  423. </div>
  424.  
  425. </div> <!--sidebar-->
  426.  
  427. <div id="titlebar">
  428. <div class="title"><a href="/">{Title}</a></div>
  429. </div>
  430.  
  431. <!--------------------------->
  432.  
  433. <!--The Main Content (part 5 & 6)-->
  434.  
  435. <div id="content">
  436. <div class="autopagerize_page_element">
  437. {block:Posts}
  438. <div id="posts">
  439.  
  440. {block:Photo}
  441. {LinkOpenTag}<img src="{PhotoURL-500}" />{LinkCloseTag}
  442. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  443. {/block:Photo}
  444.  
  445. {block:Photoset}
  446. {Photoset-500}
  447. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  448. {/block:Photoset}
  449.  
  450. {block:Video}
  451. {Video-500}
  452. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  453. {/block:Video}
  454.  
  455. {block:Audio}
  456. <div id="audioplayerbox">
  457. <div id="player">{AudioPlayerWhite} </div>
  458. <div id="albumart">{block:AlbumArt}<img src="{AlbumArtURL}" width="100">{/block:AlbumArt}</div>
  459. {PlayCountWithLabel}
  460. {block:TrackName}
  461. <li>Track: {TrackName}</li>
  462. {/block:TrackName}
  463.  
  464. {block:Artist}
  465. <li>Artist: {Artist}</li>
  466. {/block:Artist}
  467.  
  468. {block:Album}
  469. <li>Album: {Album}</li>
  470. {/block:Album}
  471.  
  472. </div>
  473. <p>
  474. {block:caption}<div class="audiocaption">{caption}</div>{/block:caption}
  475. </p>
  476. {/block:Audio}
  477.  
  478. {block:Quote}
  479. <div class="title">“{Quote}”</div>
  480. {block:Source}<div class="text"><br> <hr> {Source}</div>{/block:Source}
  481. {/block:Quote}
  482.  
  483. {block:Text}
  484. {block:Title}<div class="title">{Title}</div>{/block:Title}
  485. <div class="text">{Body}</div>
  486. {/block:Text}
  487.  
  488. {block:Answer}
  489. <div class="questionbox">
  490. <div class="asker_container"><img src="{AskerPortraitURL-24}"> {Asker}</div>
  491. <div class="title">Asked: {Question}</div>
  492. </div>
  493. <div class="text">{Answer}</div>
  494. {block:Answer}
  495.  
  496. {block:Chat}
  497. {block:Title}<div class="title">{Title}</div>{/block:Title}
  498. <div class="text">
  499. {block:Lines}
  500. {block:Label}<strong>{Label}</strong>{/block:Label} {Line}<br />
  501. {/block:Lines}
  502. </div> <!--text-->
  503. {/block:Chat}
  504.  
  505. {block:Link}
  506. <div class="title"><a href="{URL}">{Name}</a></div>
  507. {block:Description}
  508. <div class="text">{Description}</div>
  509. {/block:Description}
  510. {/block:Link}
  511.  
  512. <!--------------------------->
  513.  
  514. <!--The Permalink (Part 7)-->
  515.  
  516. <div id="permalink">
  517. <a href="{Permalink}">
  518. {block:Date}{lang:Posted TimeAgo}{/block:Date}
  519. {block:NoteCount} with {NoteCountWithLabel}{/block:NoteCount}
  520. </a>
  521. </div> <!--permalink-->
  522. <!--The Tags (Part 7)-->
  523.  
  524. {block:HasTags}<div id="tags">
  525. {block:Tags}<a href="{TagURL}">{Tag}</a><span class="comma">, </span>{/block:Tags}.
  526. </div> <!--tags-->
  527. {/block:HasTags}
  528.  
  529. </div> <!--posts-->
  530.  
  531. <!--Note Container (Part 7)-->
  532.  
  533. {block:PostNotes}
  534. <div id="notecontainer">{PostNotes}</div>
  535. {/block:PostNotes}
  536.  
  537.  
  538. {/block:Posts}
  539. </div> <!--autopagerize_page_element-->
  540. </div> <!--content-->
  541.  
  542. </body>
  543.  
  544. </html>
Add Comment
Please, Sign In to add comment