raggedies

theme j: gwendolyn v.2

Oct 13th, 2014
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.65 KB | None | 0 0
  1. <!----- theme j: gwendolyn
  2. coded by BVSHOPS.tumblr.com
  3. (previously STVES.tumblr.com)
  4.  
  5. theme description:
  6. + 3 customizable links (ask not included by default)
  7. + color options
  8. + posts 400px or 500px
  9. + 155px sidebar
  10. + tag options
  11. + option to have collapsible notes
  12. + updates tab included (option to turn it on and off!)
  13.  
  14.  
  15. message to the user:
  16.  
  17. + please do not redistribute this code under
  18. any other username
  19. + please leave the credit intact :-)
  20. + please feel free to customize to your liking
  21.  
  22. shoot me an ask if you have any questions or notice
  23. an error in the coding!
  24.  
  25. ---------------------------------->
  26.  
  27. <html>
  28. <head>
  29. <title>{Title}</title>
  30. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  31. <link rel="shortcut icon" href="{Favicon}">
  32. {block:Description}
  33. <meta name="description" content="{MetaDescription}" />
  34. {/block:Description}
  35. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  36.  
  37. <!------゚defaults ------>
  38.  
  39. <!------ colors ---------->
  40. <meta name="color:background" content="#ffffff" />
  41. <meta name="color:body" content="#7c7c7c" />
  42. <meta name="color:link" content="#afafaf" />
  43. <meta name="color:link hover" content="#888888" />
  44. <meta name="color:sidebar title" content="#828282" />
  45. <meta name="color:navigation" content="#686868" />
  46. <meta name="color:navigation hover" content="#ffffff" />
  47. <meta name="color:pagination" content="#afafaf" />
  48. <meta name="color:border" content="#f7f7f7" />
  49. <meta name="color:permalink" content="#afafaf" />
  50. <meta name="color:date" content="#6a6a6a" />
  51. <meta name="color:tags" content="#afafaf" />
  52. <meta name="color:tags hover" content="#888888" />
  53. <meta name="color:via source color" content="#888888" />
  54. <meta name="color:via source color hover" content="#666666" />
  55. <meta name="color:quote" content="#828282" />
  56. <meta name="color:chat 1" content="#f9f9f9" />
  57. <meta name="color:chat 2" content="#ffffff" />
  58. <meta name="color:audio bg" content="#f7f7f7" />
  59. <meta name="color:album art" content="#bcbcbc" />
  60. <meta name="color:blockquote" content="#dadada" />
  61.  
  62.  
  63. <!------ links ----------->
  64. <meta name="text:link a" content="" />
  65. <meta name="text:link url a" content="/" />
  66. <meta name="text:link b" content="" />
  67. <meta name="text:link url b" content="/" />
  68. <meta name="text:link c" content="" />
  69. <meta name="text:link url c" content="/" />
  70. <meta name="text:link d" content="" />
  71. <meta name="text:link url d" content="/" />
  72.  
  73. <!---- sidebar options --->
  74. <meta name="image:sidebar" content="" />
  75. <meta name="if:show blog title" content="1" />
  76. <meta name="if:posts 400px" content="0" />
  77. <meta name="if:posts 500px" content="1" />
  78. <meta name="if:tags on hover" content="1" />
  79. <meta name="if:show hashtag" content="0" />
  80. <meta name="if:collapsible notes" content="1" />
  81. <meta name="if:show updates" content="0" />
  82.  
  83.  
  84.  
  85. <style type="text/css">
  86.  
  87. /*d defaults */
  88.  
  89. iframe#tumblr_controls { white-space: nowrap;
  90. -webkit-filter: invert(100%);
  91. -moz-filter: invert(100%);
  92. -o-filter: invert(100%);
  93. -ms-filter: invert(100%);
  94. filter: invert(100%);
  95. opacity:.5;
  96. transition: .8s ease-in-out;
  97. -webkit-transition: .8s ease-in-out;
  98. -moz-transition: .8s ease-in-out;
  99. -o-transition: .8s ease-in-out; }
  100.  
  101. iframe#tumblr_controls:hover { opacity: .8; }
  102.  
  103. body { background: {color:background};
  104. font-family: helvetica, arial, sans-serif;
  105. font-size: 10px;
  106. color: {color:body};
  107. text-align: justify;
  108. line-height: 15px; }
  109.  
  110. #wrap { background-color: transparent;
  111. width: 815px;
  112. margin: 0px auto 0px auto; }
  113.  
  114. /* sidebar */
  115.  
  116. #sidebar-wrap { background-color: {color:background};
  117. width: 155px;
  118. margin-top: 120px;
  119. position: fixed;
  120. text-align: right; }
  121.  
  122. .sidebar-title, .title, .col, .quote { background-color: transparent;
  123. font-family: helvetica, arial, sans-serif;
  124. font-size: 14px;
  125. margin-bottom: 8px;
  126. color: {color:sidebar title};
  127. text-transform: lowercase;
  128. font-weight: bold;
  129. letter-spacing: auto;
  130. cursor: pointer; }
  131.  
  132. .col { color: {color:link}; }
  133. .quote { color: {color:quote}; }
  134.  
  135. .description { background-color: transparent;
  136. margin: 8px 0px 0px 0px; }
  137.  
  138. .navigation { background-color: transparent;
  139. margin: 8px 0px 0px 0px;
  140. border-top: 1px solid {color:border};
  141. border-bottom: 1px solid {color:border}; }
  142.  
  143. .navigation a { background-color: transparent;
  144. font-family: helvetica, arial, sans-serif;
  145. font-size: 10px;
  146. color: {color:navigation};
  147. display: inline-block;
  148. margin: 5px 8px 5px 0px;
  149. -webkit-transition: all .8s ease-in-out;
  150. -moz-transition: all .8s ease-in-out;
  151. -ms-transition: all .8s ease-in-out;
  152. -o-transition: all .8s ease-in-out;
  153. transition: all .8s ease-in-out; }
  154.  
  155. .navigation a:hover { color: {color:navigation hover}; }
  156.  
  157. .page { background-color: transparent;
  158. margin: 10px 0px 0px 0px; }
  159.  
  160. .page a { color: {color:pagination};
  161. text-decoration: none; }
  162.  
  163. .image { width: 155px;
  164. margin: 8px 0px 8px 0px;
  165. max-width: 155px!important; }
  166.  
  167. /* post specifics */
  168.  
  169. #post-wrap { background: transparent;
  170. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  171. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  172. margin: 70px 0px 0px 240px; }
  173.  
  174. .entry-wrap { background-color: transparent;
  175. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  176. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  177. margin: 0px 0px 100px 0px; }
  178.  
  179. .entry { background-color: transparent;
  180. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  181. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  182. line-height: 13px; }
  183.  
  184. .caption { background-color: transparent;
  185. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  186. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  187. margin: 13px 0px 3px 0px; }
  188.  
  189. .source { margin-top: 8px;
  190. margin-left: 50px;
  191. margin-bottom: 8px; }
  192.  
  193. .link { font-size: 14px;
  194. font-style: italic; }
  195.  
  196. .chat .odd { background: {color:chat 1};
  197. padding: 9px; }
  198.  
  199. .chat .even { background: {color:chat 2};
  200. padding: 9px; }
  201.  
  202. .chat li, .chat ol, ul.chat
  203. { list-style: none;
  204. margin: 0px;
  205. margin-left: -5px;
  206. padding: 5px; }
  207.  
  208. #audio-wrap { background-color: transparent;
  209. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  210. {block:IfPosts500px}width: 500px;{/block:IfPosts500px} }
  211.  
  212. #album { background-color: {color:album art};
  213. width: 100px;
  214. height: 100px;
  215. float: left;
  216. display: inline-block; }
  217.  
  218. #album-art {width: 100px;
  219. height: 100px;
  220. margin-top: -80px;
  221. z-index: 1; }
  222.  
  223. #album-art img { width: 100px;
  224. height: 100px;
  225. max-height: 100px;
  226. max-width: 100px; }
  227.  
  228. #audio { background-color: {color:audio bg};
  229. text-transform: lowercase;
  230. {block:IfPosts400px}width: 270px;{/block:IfPosts400px}
  231. {block:IfPosts500px}width: 370px;{/block:IfPosts500px}
  232. height: 70px;
  233. padding: 15px;
  234. display: inline-block; }
  235.  
  236. #player { background-color: #ffffff;
  237. width: 60px;
  238. height: 60px;
  239. z-index: 99999;
  240. position: relative;
  241. margin: 20px auto 0px auto;
  242. -webkit-border-radius: 70px;
  243. -moz-border-radius: 50px;
  244. -o-border-radius: 70px;
  245. border-radius: 70px;
  246. opacity: .15;
  247. -webkit-transition: all .8s ease-in-out;
  248. -moz-transition: all .8s ease-in-out;
  249. -ms-transition: all .8s ease-in-out;
  250. -o-transition: all .8s ease-in-out;
  251. transition: all .8s ease-in-out; }
  252.  
  253. #button { height: 30px;
  254. width: 30px;
  255. overflow: hidden;
  256. padding-top: 17px;
  257. padding-left: 5px;
  258. margin: 0px auto 0px auto; }
  259.  
  260. #audio-wrap:hover #player { opacity: 1; }
  261.  
  262. .question { margin-bottom: 22px; }
  263.  
  264. .askimg { float: left;
  265. margin: 0px 12px 0px 0px;
  266. -webkit-border-radius: 12px;
  267. -moz-border-radius: 12px;
  268. -o-border-radius: 12px;
  269. border-radius: 12px; }
  270.  
  271. g { text-transform: lowercase;
  272. font-style: italic; }
  273.  
  274. /* permalink */
  275.  
  276. #meta-wrap { background-color: transparent;
  277. {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  278. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  279. margin: 18px 0px 10px 0px;
  280. color: {color:permalink}; }
  281.  
  282. #meta-wrap a.p { color: {color:via source color}; }
  283. #meta-wrap a.p:hover { color: {color:via source color hover}; }
  284.  
  285. .date, .date a { text-transform: lowercase;
  286. font-size: 11px;
  287. color: {color:date};
  288. font-weight: bold; }
  289.  
  290. .border { border-top: 1px solid {color:border};
  291. margin: 5px 0px 3px 0px; }
  292.  
  293. .tags { background-color: transparent;
  294. margin: 5px 0px 0px 0px;
  295. {block:IfTagsOnHover}
  296. opacity: 0;
  297. -webkit-transition: all .5s ease-in-out;
  298. -moz-transition: all .5s ease-in-out;
  299. -ms-transition: all .5s ease-in-out;
  300. -o-transition: all .5s ease-in-out;
  301. transition: all .5s ease-in-out;
  302. {/block:IfTagsOnHover} }
  303.  
  304. .tags a { color: {color:tags};
  305. text-transform: lowercase; }
  306. .tags a:hover { color: {color:tags hover}; }
  307.  
  308. {block:IfTagsOnHover}
  309. .entry-wrap:hover .tags { opacity: 1; }
  310. {/block:IfTagsOnHover}
  311.  
  312. {block:PermalinkPage}
  313. .tags { opacity: 1; }
  314. {/block:PermalinkPage}
  315.  
  316. /* post notes */
  317.  
  318. #post-notes { {block:IfPosts400px}width: 400px;{/block:IfPosts400px}
  319. {block:IfPosts500px}width: 500px;{/block:IfPosts500px}
  320. margin: 100px 0px 100px 0px; }
  321.  
  322. ol { list-style-type: none;
  323. margin: 0 0 1.5em 2.5em; }
  324.  
  325. ol.notes { padding: 3px;
  326. margin: 5px 0px; }
  327.  
  328. ol.notes li.note { border-bottom: 1px solid {color:border};
  329. padding: 7px; }
  330.  
  331. ol.notes li.note img.avatar { vertical-align: -4px;
  332. margin-right: 10px;
  333. width: 16px;
  334. height: 16px;
  335. -webkit-border-radius: 12px;
  336. -moz-border-radius: 12px;
  337. -o-border-radius: 12px;
  338. border-radius: 12px; }
  339.  
  340.  
  341. /* blog defaults */
  342.  
  343. a { font-family: helvetica, arial, sans-serif;
  344. color: {color:link};
  345. text-decoration:none;
  346. -webkit-transition-duration: .25s;
  347. -moz-transition-duration: .25s;
  348. -o-transition-duration: .25s;
  349. transition-duration: .25s; }
  350.  
  351. a:hover { color: {color:link hover};
  352. text-decoration: none; }
  353.  
  354. img { border: none;
  355. -webkit-transition-duration: .25s;
  356. -moz-transition-duration: .25s;
  357. -o-transition-duration: .25s;
  358. transition-duration: .25s; }
  359.  
  360. ::-webkit-scrollbar { background: #fff;
  361. width: 5px;
  362. height: 5px; }
  363.  
  364. ::-webkit-scrollbar-thumb:vertical { background: #f2f2f2; }
  365.  
  366. blockquote { background-color: transparent;
  367. border-left: 1px solid {color:blockquote};
  368. padding-left: 7px;
  369. {block:IfPosts400px}max-width: 400px!important;{/block:IfPosts400px}
  370. {block:IfPosts500px}max-width: 500px!important;{/block:IfPosts500px}
  371. word-break: break-all; }
  372.  
  373. blockquote img { {block:IfPosts400px}max-width: 350px!important;{/block:IfPosts400px}
  374. {block:IfPosts500px}max-width: 450px!important;{/block:IfPosts500px} }
  375.  
  376. /* code from septim */
  377.  
  378. pre { white-space: pre-wrap;
  379. white-space: -moz-pre-wrap;
  380. white-space: -pre-wrap;
  381. white-space: -o-pre-wrap;
  382. word-wrap: break-word; }
  383.  
  384. /*updates tab */
  385.  
  386. #updates-wrap { top: 5px;
  387. left: 10px;
  388. position: fixed;
  389. z-index: 999;
  390. line-height: 13px;}
  391.  
  392. #updates { background: #fff;
  393. font-family: arial;
  394. font-size: 8px;
  395. width: 120px;
  396. padding: 3px;
  397. height: 13px;
  398. display: block;
  399. -webkit-transition-duration: .5s;
  400. height: 15px;
  401. overflow: hidden;}
  402.  
  403. #updates-wrap:hover #updates { height: 330px; }
  404.  
  405. o { background-color: transparent;
  406. font-family: helvetica, arial, sans-serif;
  407. font-size: 10px;
  408. text-transform: uppercase;
  409. letter-spacing: 1px; }
  410.  
  411. /* end */
  412.  
  413. /*credit, please do not remove :-) */
  414.  
  415. #credit { width: 15px;
  416. height: 15px;
  417. bottom: 0px;
  418. right: 10px;
  419. position: fixed;
  420. padding: 10px; }
  421.  
  422. .credit { background-color: #f7f7f7;
  423. padding: 3px;
  424. font-size: 6px;
  425. -webkit-transition-duration: .25s;
  426. opacity: .5; }
  427.  
  428. .credit:hover { opacity: 1; }
  429.  
  430.  
  431. </style>
  432.  
  433. <script type="text/javascript">
  434. jQuery(document).ready(function() {
  435. jQuery(".sub").hide();
  436. //toggle the componenet with class msg_body
  437. jQuery(".col").click(function()
  438. {
  439. jQuery(this).next(".sub").slideToggle(800);
  440. });});
  441. </script>
  442.  
  443. </head>
  444.  
  445. <body>
  446. <div id="wrap">
  447.  
  448. <!-- sidebar -->
  449. <div id="sidebar-wrap">
  450.  
  451. <!-- title -->
  452. {block:IfShowBlogTitle}
  453. <div class="sidebar-title">{Title}</div>
  454. {/block:IfShowBlogTitle}
  455.  
  456. <!-- navigation -->
  457. <div class="navigation">
  458. <a href="/">index</a>
  459. {block:IfLinkA}
  460. <a href="{text:link url a}">{text:link a}</a>
  461. {/block:IfLinkA}
  462. {block:IfLinkB}
  463. <a href="{text:link url b}">{text:link b}</a>
  464. {/block:IfLinkB}
  465. {block:IfLinkC}
  466. <a href="{text:link url c}">{text:link c}</a>
  467. {/block:IfLinkC}
  468. </div>
  469.  
  470. <!-- image -->
  471. <img src="{image:sidebar}" class="image">
  472.  
  473. <!-- description -->
  474. <div class="description">
  475. {Description}
  476. </div>
  477.  
  478.  
  479. <!-- pagination -->
  480. {block:Pagination}
  481. <div class="page">
  482. {block:PreviousPage}
  483. <a href="{PreviousPage}">back</a>
  484. &emsp;
  485. &emsp;
  486. &emsp;
  487. —
  488. &emsp;
  489. &emsp;
  490. &emsp;
  491. {/block:PreviousPage}
  492. {block:NextPage}
  493. <a href="{NextPage}">forth</a>
  494. {/block:NextPage}
  495. </div>
  496. {/block:Pagination}
  497. </div>
  498.  
  499. <div id="post-wrap">
  500.  
  501. {block:Posts}
  502. <div class="entry-wrap">
  503. <div id="entry">
  504.  
  505. <!-- text post -->
  506. {block:Text}
  507. {block:Title}<div class="title">{Title}</div>{/block:Title}
  508. {Body}
  509. {/block:Text}
  510.  
  511. <!-- photo post -->
  512. {block:Photo}
  513. {block:IfPosts400px}
  514. <a href="{Permalink}">
  515. <img src="{PhotoURL-400}"></a>
  516. {/block:IfPosts400px}
  517. {block:IfPosts500px}
  518. <a href="{Permalink}"><img src="{PhotoURL-500}"></a>
  519. {/block:IfPosts500px}
  520. {block:Caption}
  521. <div class="caption">{Caption}</div>
  522. {/block:Caption}
  523. {/block:Photo}
  524.  
  525. <!-- photoset -->
  526. {block:Photoset}
  527. {block:IfPosts400px}{Photoset-400}{/block:IfPosts400px}
  528. {block:IfPosts500px}{Photoset-500}{/block:IfPosts500px}
  529. {block:Caption}
  530. <div class="caption">{Caption}</div>
  531. {/block:Caption}
  532. {/block:Photoset}
  533.  
  534. <!-- quote -->
  535. {block:Quote}
  536. <div class="quote">“ {Quote} ”</div>
  537. {block:Source}<div class="source">- {Source}</div>{/block:Source}
  538. {/block:Quote}
  539.  
  540. <!-- link -->
  541. {block:Link}
  542. <a href="{URL}" class="link" {Target}>{Name}</a>
  543. {block:Description}
  544. <div class="caption">
  545. {Description}
  546. </div>
  547. {/block:Description}
  548. {/block:Link}
  549.  
  550. <!-- chat -->
  551. {block:Chat}
  552. {block:Title}
  553. <div class="title">{Title}</div>
  554. {/block:Title}
  555. <ul class="chat">
  556. {block:Lines}
  557. <li class="{Alt} user_{UserNumber}">
  558. {block:Label}
  559. <b>{Label}</b>
  560. {/block:Label}
  561. {Line}
  562. </li>
  563. {/block:Lines}
  564. </ul>
  565. {/block:Chat}
  566.  
  567. <!-- audio -->
  568. {block:Audio}
  569. <div id="audio-wrap">
  570. <div id="album">
  571. <div id="player">
  572. {block:AudioPlayer}
  573. <div id="button">
  574. {AudioPlayerWhite}
  575. </div>
  576. {/block:AudioPlayer}
  577. </div>
  578. {block:AlbumArt}
  579. <img src="{AlbumArtURL}" id="album-art">
  580. {/block:AlbumArt}
  581. </div>
  582. <div id="audio">
  583. {block:TrackName}
  584. <b>track:</b> {TrackName} <br>
  585. {/block:TrackName}
  586. {block:Artist}
  587. <b>artist:</b> {Artist} <br>
  588. {/block:Artist}
  589. {block:Album}
  590. <b>album:</b> {Album} <br>
  591. {/block:Album}
  592. {block:PlayCount}
  593. <b>play count:</b> {PlayCount}
  594. {/block:PlayCount}
  595. </div>
  596. </div>
  597. {block:Caption}
  598. <div class="caption">
  599. {Caption}
  600. </div>
  601. {/block:Caption}
  602. {/block:Audio}
  603.  
  604. <!-- video -->
  605. {block:Video}
  606. {block:IfPosts400px}{Video-400}{/block:IfPosts400px}
  607. {block:IfPosts500px}{Video-500}{/block:IfPosts500px}
  608. {block:Caption}
  609. <div class="caption">
  610. {Caption}
  611. </div>
  612. {/block:Caption}
  613. {/block:Video}
  614.  
  615. <!-- answer -->
  616. {block:Answer}
  617. <div class="question">
  618. <img src="{AskerPortraitURL-24}" class="askimg">
  619. {Question} &emsp;— <g>{Asker}</g>
  620. </div>
  621. {block:Answerer}
  622. <div class="caption">
  623. {Answer}
  624. </div>
  625. {/block:Answerer}
  626. <div id="caption">
  627. {Replies}
  628. </div>
  629. {/block:Answer}
  630.  
  631. <!-- permalink -->
  632. <div id="meta-wrap">
  633. {block:Date}
  634. <a href="{Permalink}" class="date">{ShortMonth}
  635. {DayofMonthWithZero}</a>
  636. &emsp; &emsp;
  637. {/block:Date}
  638. {block:NoteCount}
  639. + {NoteCount}
  640. {/block:NoteCount}
  641. <span style="float: right;">
  642. {block:RebloggedFrom}
  643. <a href="{ReblogParentURL}" class="p">via</a>
  644. {/block:RebloggedFrom}
  645. {block:ContentSource}
  646. &emsp;/&emsp;
  647. <a href="{SourceURL}" class="p">source</a>
  648. {/block:ContentSource}
  649. </span>
  650. <div class="border"></div>
  651. {block:HasTags}
  652. <div class="tags">
  653. {block:Tags}
  654. <a href="{TagURL}">{block:IfShowHashTag}#{/block:IfShowHashTag}{Tag}</a> &emsp;&emsp;&emsp;{/block:Tags}
  655. {/block:Tags}
  656. </div>
  657. {/block:HasTags}
  658. </div>
  659. </div>
  660.  
  661.  
  662. {block:PostNotes}
  663. <div id="post-notes">
  664. {block:IfCollapsibleNotes}
  665. <a class="col">show notes</a>
  666. <div class="sub">
  667. {PostNotes}
  668. </div>
  669. {/block:IfCollapsibleNotes}
  670. {block:IfNotCollapsibleNotes}
  671. <div class="title">notes</div>
  672. {PostNotes}
  673. {/block:IfNotCollapsibleNotes}
  674. </div>
  675. {/block:PostNotes}
  676.  
  677. </div>
  678. {/block:Posts}
  679. </div>
  680.  
  681. {/block:Posts}
  682. </div>
  683.  
  684. </div>
  685.  
  686. <div id="credit">
  687. <a href="http://bvshops.tumblr.com" class="credit" title="stves @ tumblr">stves</a>
  688. </div>
  689.  
  690. <!-- updates tab -->
  691. {block:IfShowUpdates}
  692. <div id="updates-wrap">
  693. <div id="updates">
  694. <o>updates</o><br>
  695. <p>make sure to adjust the hover height to fit all your update info!</p>
  696. <p><b>watching:</b><br>
  697. + show here, season<br>
  698. + show here, season<br><br>
  699. <b>reading:</b><br>
  700. + book<br>
  701. + book<br><br>
  702. <b>networks: </b><br>
  703. + <a href="/">network</a><br>
  704. + <a href="/">network</a>
  705. </p>
  706. </div>
  707. </div>
  708. {/block:IfShowUpdates}
  709.  
  710.  
  711.  
  712. </body>
  713. </html>
Advertisement
Add Comment
Please, Sign In to add comment