raggedies

theme m: les amours

Jan 17th, 2015
4,984
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.94 KB | None | 0 0
  1. <!----- THEME M: LES AMOURS
  2. coded by CAVLLS (PREVIOUSLY STVES/FASSBNDRS)
  3.  
  4. THEME DESCRIPTION:
  5. i. 4 customizable links (ask not included by default)
  6. ii. multiple color options
  7. iii. 400px or 500px posts
  8. iv. sidebar image
  9. v. tags on hover (toggle on/off)
  10. vi. option to have collapsible notes
  11.  
  12.  
  13. MESSAGE TO THE USER:
  14. i. please do not redistribute this code under
  15. any other username
  16. ii. please leave the credit intact :-)
  17. iii. please feel free to customize to your liking
  18.  
  19. INQUIRIES OR THEME HELP:
  20. feel free to shoot me an ask on my blog if you have any questions or notice an error in the coding :-)
  21.  
  22. ---------------------------------->
  23.  
  24. <html>
  25. <head>
  26. <title>{Title}</title>
  27. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  28. <link rel="shortcut icon" href="{Favicon}">
  29. {block:Description}
  30. <meta name="description" content="{MetaDescription}" />
  31. {/block:Description}
  32. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  33.  
  34. <!------゚defaults ------>
  35.  
  36. <!------ colors ---------->
  37. <meta name="color:background" content="#ffffff" />
  38. <meta name="color:body" content="#7c7c7c" />
  39. <meta name="color:link" content="#afafaf" />
  40. <meta name="color:link hover" content="#888888" />
  41. <meta name="color:navigation" content="#afafaf" />
  42. <meta name="color:navigation hover" content="#444444" />
  43. <meta name="color:title" content="#aaaaaa" />
  44. <meta name="color:chat 1" content="#f9f9f9" />
  45. <meta name="color:chat 2" content="#ffffff" />
  46. <meta name="color:permalink bg" content="#f8f8f8" />
  47. <meta name="color:permalink" content="#afafaf" />
  48. <meta name="color:permalink hover" content="#888888" />
  49. <meta name="color:tags" content="#888888" />
  50. <meta name="color:tags hover" content="#dddddd" />
  51. <meta name="color:blockquote" content="#dadada" />
  52.  
  53.  
  54. <!------ links ----------->
  55. <meta name="text:link a" content="" />
  56. <meta name="text:link url a" content="/" />
  57. <meta name="text:link b" content="" />
  58. <meta name="text:link url b" content="/" />
  59. <meta name="text:link c" content="" />
  60. <meta name="text:link url c" content="/" />
  61. <meta name="text:link d" content="" />
  62. <meta name="text:link url d" content="/" />
  63.  
  64. <!---- sidebar options --->
  65. <meta name="image:sidebar" content="" />
  66. <meta name="if:posts 400px" content="0" />
  67. <meta name="if:posts 500px" content="1" />
  68. <meta name="if:tags on hover" content="1" />
  69. <meta name="if:collapsible notes" content="1" />
  70.  
  71.  
  72.  
  73. <style type="text/css">
  74.  
  75. /*defaults */
  76.  
  77. iframe#tumblr_controls { white-space: nowrap;
  78. -webkit-filter: invert(100%);
  79. -moz-filter: invert(100%);
  80. -o-filter: invert(100%);
  81. -ms-filter: invert(100%);
  82. filter: invert(100%);
  83. opacity:.3;
  84. transition: .8s ease-in-out;
  85. -webkit-transition: .8s ease-in-out;
  86. -moz-transition: .8s ease-in-out;
  87. -o-transition: .8s ease-in-out; }
  88.  
  89. iframe#tumblr_controls:hover { opacity: .8; }
  90.  
  91. body { background: {color:background};
  92. font-family: helvetica, arial, sans-serif;
  93. font-size: 9px;
  94. color: {color:body};
  95. text-align: justify;
  96. line-height: 13px; }
  97.  
  98. #wrap { background-color: transparent;
  99. width: 800px;
  100. margin: 0px auto 0px auto; }
  101.  
  102. /* sidebar */
  103.  
  104. #sidebar-wrap { background-color: transparent;
  105. width: 235px;
  106. margin: 100px 0px 0px -100px;
  107. position: fixed;
  108. text-align: center; }
  109.  
  110. .description { margin: 0px 0px 8px 0px; }
  111.  
  112. .side-image { width: 235px;
  113. max-width: 235px!important;
  114. margin: 0px 0px 6px 0px; }
  115.  
  116. .navigation { background-color: transparent;
  117. width: 235px;
  118. margin: 0px 0px 6px 0px;
  119. text-align: center; }
  120.  
  121. .navigation a { font-family: helvetica, arial, sans-serif;
  122. font-size: 9px;
  123. color: {color:navigation};
  124. margin: 0px 4px 0px 4px; }
  125.  
  126. .navigation a:hover { color: {color:navigation hover};
  127. text-decoration: underline; }
  128.  
  129. /* post specifics */
  130. #post-wrap { background: transparent;
  131. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  132. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  133. margin: 70px 0px 0px 220px; }
  134.  
  135. .entry-wrap { background-color: transparent;
  136. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  137. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}}
  138.  
  139. .entry { background-color: transparent;
  140. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  141. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  142. margin-bottom: 100px;
  143. line-height: 13px; }
  144.  
  145. .title, .col { font-family: helvetica, sans-sarif, arial;
  146. font-size: 10px;
  147. text-transform: uppercase;
  148. letter-spacing: 1px;
  149. color: {color:title};
  150. margin: 0px 0px 8px 0px; }
  151.  
  152. .caption { background-color: transparent;
  153. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  154. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  155. margin: 12px 0px 3px 0px; }
  156.  
  157. .source { margin-top: 8px;
  158. margin-left: 50px;
  159. margin-bottom: 8px; }
  160.  
  161. .link { font-size: 14px;
  162. font-style: italic; }
  163.  
  164. .chat .odd { background: {color:chat 1};
  165. padding: 9px; }
  166.  
  167. .chat .even { background: {color:chat 2};
  168. padding: 9px; }
  169.  
  170. .chat li, .chat ol, ul.chat
  171. { list-style: none;
  172. margin: 0px;
  173. margin-left: -5px;
  174. padding: 5px; }
  175.  
  176. .player { float: left;
  177. width: 85px;
  178. height: 85px;
  179. background-color: #f7f7f7; }
  180.  
  181. .player img { width: 85px;
  182. height: 85px; }
  183.  
  184. .bg { background-color: white;
  185. position: absolute;
  186. margin-top: -68px;
  187. margin-left: 19px;
  188. padding: 8px;
  189. -webkit-border-radius: 30px;
  190. -moz-border-radius: 30px;
  191. -o-border-radius: 30px;
  192. border-radius: 30px;
  193. -webkit-transition: all .8s ease-in-out;
  194. -moz-transition: all .8s ease-in-out;
  195. -ms-transition: all .8s ease-in-out;
  196. -o-transition: all .8s ease-in-out;
  197. transition: all .8s ease-in-out;
  198. opacity: 0;}
  199.  
  200. .player:hover .bg { opacity: 1; }
  201.  
  202. .info {
  203. {block:IfPosts500px}
  204. width: 357px;
  205. margin-left: 15px;
  206. {/block:IfPosts500px}
  207. {block:IfPosts400px}
  208. width: 257px;
  209. margin-left: 15px;
  210. {block:IfPosts400px}
  211. padding: 20px;
  212. height: 43px;
  213. background-color: white;
  214. text-align: center;
  215. border: 1px solid #f7f7f7;
  216. display: inline-block; }
  217.  
  218. .button { width: 30px;
  219. height: 30px;
  220. padding-left: 1px;
  221. overflow: hidden; }
  222.  
  223. .question {
  224. margin-bottom: 22px; }
  225.  
  226. .askimg { float: left;
  227. margin: 0px 12px 0px 0px;
  228. -webkit-border-radius: 12px;
  229. -moz-border-radius: 12px;
  230. -o-border-radius: 12px;
  231. border-radius: 12px; }
  232.  
  233. .permalink { background-color: {color:permalink bg};
  234. {block:IfPosts500px}width: 490px;{/block:IfPosts500px}
  235. {block:IfPosts400px}width: 390px;{/block:IfPosts400px}
  236. margin: 12px 0px 0px 0px;
  237. padding: 5px;
  238. color: {color:permalink}; }
  239.  
  240. .permalink a { text-transform: uppercase;
  241. letter-spacing: 1px;
  242. color: {color:permalink}; }
  243.  
  244. .permalink a:hover { color: {color:permalink hover}; }
  245.  
  246. .tags { background-color: transparent;
  247. margin: 6px 0px 0px 0px;
  248. -webkit-transition: all .5s ease-in-out;
  249. -moz-transition: all .5s ease-in-out;
  250. -ms-transition: all .5s ease-in-out;
  251. -o-transition: all .5s ease-in-out;
  252. transition: all .5s ease-in-out;
  253. {block:IfTagsOnHover}
  254. opacity: 0;
  255. {/block:IfTagsOnHover}
  256. {block:IfNotTagsOnHover}
  257. opacity: 1;
  258. {/block:IfNotTagsOnHover}
  259. {block:PermalinkPage}
  260. opacity: 1;
  261. {/block:PermalinkPage} }
  262.  
  263. {block:IfTagsOnHover}
  264. .entry-wrap:hover .tags { opacity: 1; }
  265. {/block:IfTagsOnHover}
  266.  
  267. .tags a { color: {color:tags}; }
  268. .tags a:hover { color: {color:tags hover}; }
  269.  
  270. /* post notes */
  271.  
  272. #post-notes { {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  273. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  274. margin-top: -65px;
  275. margin-bottom: 50px; }
  276.  
  277. .col { cursor: crosshair; }
  278.  
  279. ol { list-style-type: none;
  280. margin: 0 0 1.5em 2.5em; }
  281.  
  282. ol.notes { padding: 3px;
  283. margin: 5px 0px; }
  284.  
  285. ol.notes li.note { border-bottom: none;
  286. padding: 3px; }
  287.  
  288. ol.notes li.note img.avatar { vertical-align: -4px;
  289. margin-right: 10px;
  290. width: 16px;
  291. height: 16px;
  292. -webkit-border-radius: 12px;
  293. -moz-border-radius: 12px;
  294. -o-border-radius: 12px;
  295. border-radius: 12px; }
  296.  
  297. /* blog defaults */
  298.  
  299. a { color: {color:link};
  300. text-decoration:none;
  301. -webkit-transition: all .4s ease-in-out;
  302. -moz-transition: all .4s ease-in-out;
  303. -ms-transition: all .4s ease-in-out;
  304. -o-transition: all .4s ease-in-out;
  305. transition: all .4s ease-in-out; }
  306.  
  307. a:hover { color: {color:link hover};
  308. text-decoration: underline; }
  309.  
  310. img { border: none;
  311. -webkit-transition-duration: .25s;
  312. -moz-transition-duration: .25s;
  313. -o-transition-duration: .25s;
  314. transition-duration: .25s; }
  315.  
  316. ::-webkit-scrollbar { background: #fff;
  317. width: 5px;
  318. height: 5px; }
  319.  
  320. ::-webkit-scrollbar-thumb:vertical { background: #f2f2f2; }
  321.  
  322. blockquote { background-color: transparent;
  323. border-left: 1px solid {color:blockquote};
  324. padding-left: 7px;
  325. {block:IfPosts400px}max-width: 400px!important;{/block:IfPosts400px}
  326. {block:IfPosts500px}max-width: 500px!important;{/block:IfPosts500px}
  327. word-break: break-all; }
  328.  
  329. blockquote img { border: none;
  330. {block:IfPosts400px}max-width: 270px!important;{/block:IfPosts400px}
  331. {block:IfPosts500px}max-width: 370px!important;{/block:IfPosts500px} }
  332.  
  333. pre { white-space: pre-wrap;
  334. white-space: -moz-pre-wrap;
  335. white-space: -pre-wrap;
  336. white-space: -o-pre-wrap;
  337. word-wrap: break-word; }
  338.  
  339. /*credit, please do not remove :-) */
  340.  
  341. .credit { bottom: 10px;
  342. right: 5px;
  343. position: fixed;
  344. width: 20px;
  345. height: 20px; }
  346.  
  347. .credit a { background: #f1f1f1;
  348. color: #f6f6f6;
  349. text-align: center;
  350. display: block;
  351. padding: 4px;
  352. opacity: .5;
  353. -webkit-transition: all .5s ease-in-out;
  354. -moz-transition: all .5s ease-in-out;
  355. -ms-transition: all .5s ease-in-out;
  356. -o-transition: all .5s ease-in-out;
  357. transition: all .5s ease-in-out; }
  358. .credit a:hover { opacity: 1;
  359. box-shadow: inset 20px 0px 0px 0px #000000;
  360. color: #000000; }
  361.  
  362.  
  363. </style>
  364. <script type="text/javascript">
  365. jQuery(document).ready(function() {
  366. jQuery(".sub").hide();
  367. //toggle the componenet with class msg_body
  368. jQuery(".col").click(function()
  369. {
  370. jQuery(this).next(".sub").slideToggle(800);
  371. });});
  372. </script>
  373. </head>
  374. <body>
  375.  
  376. <div id="wrap">
  377.  
  378. <!-- sidebar -->
  379. <div id="sidebar-wrap">
  380.  
  381. {block:IfSidebarImage}
  382. <!-- image -->
  383. <div class="side-image">
  384. <img src="{image:sidebar}">
  385. </div>
  386. {/block:IfSidebarImage}
  387.  
  388. <!-- navigation -->
  389. <div class="navigation">
  390. <!-- previous page -->
  391. {block:Pagination}
  392. {block:PreviousPage}
  393. <a href="{PreviousPage}">←</a>
  394. {/block:PreviousPage}
  395. {/block:Pagination}
  396.  
  397. <a href="/">index</a>
  398. {block:IfLinkA}
  399. <a href="{text:link url a}">{text:link a}</a>
  400. {/block:IfLinkA}
  401. {block:IfLinkB}
  402. <a href="{text:link url b}">{text:link b}</a>
  403. {/block:IfLinkB}
  404. {block:IfLinkC}
  405. <a href="{text:link url c}">{text:link c}</a>
  406. {/block:IfLinkC}
  407. {block:IfLinkD}
  408. <a href="{text:link url d}">{text:link d}</a>
  409. {/block:IfLinkD}
  410.  
  411. <!-- next page -->
  412. {block:Pagination}
  413. {block:NextPage}
  414. <a href="{NextPage}">→</a>
  415. {/block:NextPage}
  416. {/block:Pagination}
  417. </div>
  418.  
  419. <!-- description -->
  420. <div class="description">
  421. {Description}
  422. </div>
  423. </div>
  424.  
  425. <div id="post-wrap">
  426.  
  427. {block:Posts}
  428. <div class="entry-wrap">
  429. <div class="entry">
  430.  
  431. <!-- text -->
  432. {block:Text}
  433. {block:Title}
  434. <div class="title">{Title}</div>
  435. {/block:Title}
  436. {Body}
  437. {/block:Text}
  438.  
  439. <!-- photo -->
  440.  
  441. {block:Photo}
  442. {block:IfPosts400px}
  443. <a href="{Permalink}">
  444. <img src="{PhotoURL-400}"></a>
  445. {/block:IfPosts400px}
  446. {block:IfPosts500px}
  447. <a href="{Permalink}"><img src="{PhotoURL-500}"></a>
  448. {/block:IfPosts500px}
  449. {block:Caption}
  450. <div class="caption">{Caption}</div>
  451. {/block:Caption}
  452. {/block:Photo}
  453.  
  454. <!-- photoset -->
  455. {block:Photoset}
  456. {block:IfPosts400px}{Photoset-400}{/block:IfPosts400px}
  457. {block:IfPosts500px}{Photoset-500}{/block:IfPosts500px}
  458. {block:Caption}
  459. <div class="caption">{Caption}</div>
  460. {/block:Caption}
  461. {/block:Photoset}
  462.  
  463. <!-- quote -->
  464. {block:Quote}
  465. <div class="title">“ {Quote} ”</div>
  466. {block:Source}<div class="source">- {Source}</div>{/block:Source}
  467. {/block:Quote}
  468.  
  469. <!-- link -->
  470. {block:Link}
  471. <a href="{URL}" class="link" {Target}>{Name}</a>
  472. {block:Description}
  473. <div class="caption">
  474. {Description}
  475. </div>
  476. {/block:Description}
  477. {/block:Link}
  478.  
  479. <!-- chat -->
  480. {block:Chat}
  481. {block:Title}
  482. <div class="title">{Title}</div>
  483. {/block:Title}
  484. <ul class="chat">
  485. {block:Lines}
  486. <li class="{Alt} user_{UserNumber}">
  487. {block:Label}
  488. <b>{Label}</b>
  489. {/block:Label}
  490. {Line}
  491. </li>
  492. {/block:Lines}
  493. </ul>
  494. {/block:Chat}
  495.  
  496. <!-- audio -->
  497. {block:Audio}
  498. <div class="player">
  499. {block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}
  500. <div class="bg">
  501. <div class="button">{AudioPlayerWhite}</div>
  502. </div>
  503. </div>
  504. <div class="info">
  505. {block:TrackName}
  506. <div class="title" style="margin-bottom: 1px; margin-top: 10px">
  507. {TrackName}
  508. </div>
  509. {/block:TrackName}
  510. {block:Artist}
  511. {Artist} <br>
  512. {/block:Artist}
  513. </div>
  514. {block:Caption}
  515. <div class="caption">
  516. {Caption}
  517. </div>
  518. {/block:Caption}
  519. {/block:Audio}
  520.  
  521. <!-- video -->
  522. {block:Video}
  523. {block:IfPosts400px}{Video-400}{/block:IfPosts400px}
  524. {block:IfPosts500px}{Video-500}{/block:IfPosts500px}
  525. {block:Caption}
  526. <div class="caption">
  527. {Caption}
  528. </div>
  529. {/block:Caption}
  530. {/block:Video}
  531.  
  532. <!-- answer -->
  533. {block:Answer}
  534. <div class="question">
  535. <img src="{AskerPortraitURL-24}" class="askimg">
  536. <div class="title" style="margin: 0px 0px -1px 0px;">{Asker}:</div> {Question}
  537. </div>
  538. <div class="caption">
  539. {Answer}
  540. </div>
  541. {/block:Answer}
  542.  
  543. <!-- permalink -->
  544. <div class="meta">
  545. {block:Date}
  546. <div class="permalink">
  547. <a href="{Permalink}">{24HourWithZero}:{Minutes}</a>
  548. {block:NoteCount}&emsp;&emsp;
  549. <a href="{Permalink}">{NoteCount}</a>
  550. {/block:NoteCount}
  551.  
  552. <span style="float: right">
  553. {block:RebloggedFrom}<a href="{ReblogParentURL}" style="font-size: 8px;">via</a>
  554. {block:ContentSource}
  555. &emsp;|&emsp;
  556. <a href="{ReblogRootURL}" style="font-size: 8px;">source</a>{/block:ContentSource}{/block:RebloggedFrom}
  557. </span>
  558. </div>
  559. </div>
  560. {/block:Date}
  561.  
  562. <!-- tags -->
  563. {block:HasTags}
  564. <div class="tags">
  565. {block:Tags}
  566. <a href="{TagURL}">#{Tag}</a> &emsp;&emsp;{/block:Tags}
  567. {/block:Tags}
  568. </div>
  569. {/block:HasTags}
  570.  
  571. </div>
  572. </div>
  573. {/block:Posts}
  574.  
  575. {block:ContentSource}
  576. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  577. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  578. {/block:SourceLogo}
  579. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  580. {/block:ContentSource}
  581.  
  582. {block:PostNotes}
  583. <div id="post-notes">
  584. {block:IfCollapsibleNotes}
  585. <a class="col">show notes</a>
  586. <div class="sub">
  587. {PostNotes}
  588. </div>
  589. {/block:IfCollapsibleNotes}
  590. {block:IfNotCollapsibleNotes}
  591. <div class="title">notes</div>
  592. {PostNotes}
  593. {/block:IfNotCollapsibleNotes}
  594. </div>
  595. {/block:PostNotes}
  596.  
  597. </div>
  598. </div>
  599.  
  600. <!-- credit, please do not remove! -->
  601. <div class="credit">
  602. <a href="http://cavlls.tumblr.com">.</a>
  603. </div>
  604.  
  605. </body>
  606. </html
Advertisement
Add Comment
Please, Sign In to add comment