Advertisement
stormbornthemes

Theme 02- Bellamy

Feb 23rd, 2016
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.61 KB | None | 0 0
  1. <!--
  2. Theme 02- Bellamy
  3.  
  4. Features:
  5. -400px or 500px Posts Option
  6. -Hover Tags Option
  7. -Image Fade Option
  8. -Smooth Scrolling
  9. -Customized Audio Player
  10. -Hover Description
  11.  
  12. Terms of Use:
  13. - Please do not remove or alter the credit.
  14. - Please do not redistribute, or claim as your own.
  15. - Enjoy!
  16.  
  17. ∠( ᐛ 」∠)_
  18. stormborn-themes.tumblr.com
  19. *********************************************-->
  20.  
  21. <!DOCTYPE html>
  22. <head><title>{Title}</title>
  23. <link rel="shortcut icon" href="{Favicon}">
  24. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  25. <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
  26. <link href='https://fonts.googleapis.com/css?family=Roboto:300' rel='stylesheet' type='text/css'>
  27. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  28.  
  29.  
  30. <!--------default variables-------->
  31. <meta name="color:Background" content="#f8f8f8"/>
  32. <meta name="color:Text" content="#333333"/>
  33. <meta name="color:Links" content="#5b5b5b"/>
  34. <meta name="color:Links Hover" content="#c9c9c9"/>
  35. <meta name="color:Scrollbar BG" content="#ffffff"/>
  36. <meta name="color:Scrollbar" content="#eeeeee">
  37.  
  38.  
  39. <meta name="text:Link 1" content="">
  40. <meta name="text:Link 1 URL" content="/">
  41. <meta name="text:Link 2" content="">
  42. <meta name="text:Link 2 URL" content="/">
  43. <meta name="text:Link 3" content="">
  44. <meta name="text:Link 3 URL" content="/">
  45. <meta name="text:Link 4" content="">
  46. <meta name="text:Link 4 URL" content="/">
  47.  
  48. <meta name="if:400px" content="1" />
  49. <meta name="if:Hover Tags" content="1"/>
  50. <meta name="if:Image Fade" content="1"/>
  51. <meta name="if:Show Icon On Sidebar" content="1" />
  52.  
  53.  
  54.  
  55. <!------------------------SCRIPTS--------------------->
  56. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  57. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
  58. <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  59.  
  60. <!-------------------------------------------------------------------->
  61.  
  62. <style type="text/css">
  63.  
  64.  
  65. /*----------scrollbar---------*/
  66.  
  67. ::-webkit-scrollbar {
  68. background-color: {color:scrollbar bg};
  69. height: 8px;
  70. width: 8px
  71. }
  72.  
  73. ::-webkit-scrollbar-thumb:vertical {
  74. background-color:{color:scrollbar};
  75. height: 40px
  76. }
  77.  
  78. ::-webkit-scrollbar-thumb:horizontal {
  79. background-color:{color:scrollbar bg};
  80. height:8px!important
  81. }
  82.  
  83.  
  84.  
  85. /*----------basics---------*/
  86.  
  87. body {
  88. background: {color:background} url({image:background image}) repeat right top fixed;
  89. color: {color:text};
  90. font-family: 'Roboto', 'Open Sans', 'Helvetica', sans-serif;
  91. line-height: 14px;
  92. font-size: 9px;
  93. margin: 0;
  94. text-align: left;
  95. letter-spacing: 0.5px;
  96. background-color: #ffffff;
  97. }
  98.  
  99. a {
  100. color: {color:links};
  101. text-decoration: none;
  102. }
  103.  
  104. a:hover {
  105. text-decoration: none;
  106. color: {color:links hover};
  107. -webkit-transition: all 0.5s;
  108. -moz-transition: all 0.5s;
  109. -ms-transition: all 0.5s;
  110. -o-transition: all 0.5s;
  111. transition: all 0.5s;
  112. }
  113.  
  114. img {
  115. opacity: 1;
  116. text-decoration: none;
  117. }
  118.  
  119. h1 {
  120. font-size: 11px;
  121. font-weight: bold;
  122. }
  123.  
  124.  
  125.  
  126. /*----------sidebar---------*/
  127.  
  128. .sidebar {
  129. position: fixed;
  130. width: 150px;
  131. height: auto;
  132. margin-left: -320px;
  133. padding: 25px 25px;
  134. top: 50px;
  135. background-color: #ffffff;
  136. }
  137.  
  138. {block:ifShowIconOnSidebar}
  139. .avatar {
  140. width: 64px;
  141. height: 64px;
  142. margin-bottom: 10px;
  143. margin-left: 80px;
  144. }
  145. {/block:ifShowIconOnSidebar}
  146.  
  147.  
  148. .sidetitle {
  149. margin-top: 5px;
  150. font-size: 14px;
  151. margin: 5px;
  152. text-transform: uppercase;
  153. text-align: right;
  154. font-family: 'Roboto', 'Open Sans', 'Helvetica', sans-serif;
  155. font-weight: bold;
  156. letter-spacing: 3px;
  157. color: {color:text};
  158. }
  159.  
  160. .sidetitle a:hover {
  161. color: {color:links};
  162. margin-right: 1px;
  163. }
  164.  
  165. .description {
  166. opacity: 0;
  167. z-index: -1;
  168. text-align: right;
  169. margin-top: 20px;
  170. height: 200px;
  171. overflow: hidden;
  172. font-family: 'Roboto', 'Open Sans', 'Helvetica', sans-serif;
  173. letter-spacing: 0.5px;
  174. text-transform: uppercase;
  175. -webkit-transition: 0.2s ease;
  176. -ms-transition: 0.2s ease;
  177. -moz-transition: 0.2s ease;
  178. -o-transition: 0.2s ease;
  179. transition: 0.2s ease;
  180. }
  181.  
  182. .sidebar:hover .description {
  183. opacity: 1;
  184. -webkit-transition: 0.2s ease;
  185. -ms-transition: 0.2s ease;
  186. -moz-transition: 0.2s ease;
  187. -o-transition: 0.2s ease;
  188. transition: 0.2s ease;
  189. }
  190.  
  191.  
  192. .links {
  193. width: auto;
  194. margin-top: 20px;
  195. word-spacing: 1px;
  196. color: {color:links};
  197. font-family: 'Roboto', 'Open Sans', 'Helvetica', sans-serif;
  198. text-align: right;
  199. text-transform: uppercase;
  200. }
  201.  
  202. .links a {
  203. margin: 5px;
  204. padding: 2px;
  205. display: block;
  206. letter-spacing: 1px;
  207. -webkit-transition: 0.2s ease;
  208. -ms-transition: 0.2s ease;
  209. -moz-transition: 0.2s ease;
  210. -o-transition: 0.2s ease;
  211. transition: 0.2s ease;
  212. }
  213.  
  214. .links a:hover,
  215. .links a:focus,
  216. .links a:active {
  217. margin-right: 10px;
  218. }
  219.  
  220. .links a:first-child {
  221. color: {color:text};
  222. }
  223.  
  224. .links a:first-child:hover {
  225. color: {color:links};
  226. }
  227.  
  228. .pagination {
  229. width: 150px;
  230. margin-top: 50px;
  231. padding: 5px;
  232. text-align: right;
  233. font-family: 'Roboto', 'Open Sans', 'Helvetica', sans-serif;
  234. letter-spacing: 0.5px;
  235. text-transform: uppercase;
  236. }
  237.  
  238.  
  239.  
  240. /*----------posts---------*/
  241.  
  242. .container {
  243. left: 40%;
  244. width: auto;
  245. position: absolute;
  246. }
  247.  
  248. .posts {
  249. width: 500px;
  250.  
  251. {block:IndexPage}
  252. margin-bottom: 100px;
  253. {/block:IndexPage}
  254.  
  255. {block:PermalinkPage}
  256. margin-bottom: 40px;
  257. {/block:PermalinkPage}
  258. }
  259.  
  260. .posts,
  261. entries {
  262. {block:If400px}
  263. max-width: 400px;
  264. {/block:If400px}
  265. }
  266.  
  267. .entries {
  268. margin-left: -60px;
  269. width: 500px;
  270. margin-top: 70px;
  271. margin-bottom: 5 0px;
  272. }
  273.  
  274. .posts img,
  275. .posts li,
  276. .posts blockquote,
  277. .entry p img,
  278. .entry blockquote img {
  279. max-width: 100%;
  280. }
  281.  
  282. .posts li {
  283. list-style: square;
  284. }
  285.  
  286. blockquote img {
  287. max-width: 320px!important;
  288. }
  289.  
  290. blockquote {
  291. border-left: 1px #eeeeee solid;
  292. padding-left: 5px;
  293. margin-left: 12px;
  294. max-width: 100%;
  295. }
  296.  
  297. blockquote blockquote {
  298. padding: 0 0 0 5px;
  299. margin: 0 0 0 12px;
  300. }
  301.  
  302. pre {
  303. white-space: -pre-wrap;
  304. white-space: -o-pre-wrap;
  305. word-wrap: break-word;
  306. white-space: pre-wrap;
  307. white-space: -moz-pre-wrap;
  308. }
  309.  
  310. .entry p img, .entry blockquote img {
  311. max-width: 100%;
  312. }
  313.  
  314. blockquote p small {
  315. font-size: 9px;
  316. }
  317.  
  318. blockquote small sup {
  319. font-size: 9px;
  320. }
  321.  
  322.  
  323.  
  324.  
  325. /*----------quotes---------*/
  326.  
  327. .quote {
  328. text-transform: uppercase;
  329. font-size: 12px;
  330. font-weight: bold;
  331. margin-left: 5px;
  332. }
  333.  
  334. .quotesource {
  335. margin-top: 10px;
  336. margin-left: 15px;
  337. }
  338.  
  339.  
  340. /*----------chat---------*/
  341.  
  342. .chat {
  343. line-height: 20px;
  344. list-style: none;
  345. }
  346.  
  347. .chat ol {
  348. {block:if400px}
  349. width: 400px;
  350. {/block:if400px}
  351. }
  352.  
  353. .line.odd {
  354. background: #fafafa;
  355. margin-bottom: 2px;
  356. padding: 5px;
  357. list-style: none;
  358. font-size: 10px;
  359. }
  360.  
  361. .line.even {
  362. background: #ffffff;
  363. margin-bottom: 2px;
  364. padding: 5px;
  365. list-style: none;
  366. font-size: 10px;
  367. }
  368.  
  369. .label {
  370. padding-right: 1px;
  371. text-transform: uppercase;
  372. font-weight: bold;
  373. color: {color:links};
  374. }
  375.  
  376.  
  377. /*----------questions---------*/
  378.  
  379. .question {
  380. background: #fafafa;
  381. padding: 10px;
  382. max-width: 490px;
  383. {block:if400px}
  384. width: 390px;
  385. {/block:if400px}
  386. }
  387.  
  388. .asker {
  389. text-transform: uppercase;
  390. }
  391.  
  392. .answer {
  393. padding: 10px;
  394. margin-top: -15px;
  395. }
  396.  
  397.  
  398. /*----------audio---------*/
  399.  
  400. .playerbutton {
  401. position: relative;
  402. width: 30px;
  403. height: 35px;
  404. overflow: hidden;
  405. }
  406.  
  407. .playerbuttonhug {
  408. position: absolute;
  409. top: -7px;
  410. left: 2px;
  411. }
  412.  
  413. .tumblr_audio_player {
  414. height: 50px;
  415. width: 500px;
  416. {block:if400px}
  417. width: 400px;
  418. {/block:if400px}
  419. }
  420.  
  421. .playerbuttonbg {
  422. position: absolute;
  423. width: 35px;
  424. height: 35px;
  425. border: 1px solid #ededed;
  426. padding: 10px;
  427. }
  428.  
  429. .trackdetails {
  430. width: auto;
  431. display: inline-block;
  432. margin-left: 75px;
  433. padding: 5px;
  434. line-height: 15px;
  435. margin-top: 5px;
  436. margin-bottom: 20px;
  437. font: 11px 'Brutal Type', 'Helvetica Neue', sans-serif;
  438. color: #999;
  439. font-style: italic;
  440. cursor: default;
  441. letter-spacing: 1px;
  442. }
  443.  
  444. .audiowrapper {
  445. position: relative;
  446. display: inline-block;
  447. margin-bottom: 10px;
  448. }
  449.  
  450.  
  451.  
  452. /*----------post info---------*/
  453.  
  454. .info {
  455. border-top: 1px solid #eeeeee;
  456. padding-top: 15px;
  457. text-transform: uppercase;
  458. font-size: 9px;
  459. font-family: 'Calibri', 'Cambria', serif;
  460. letter-spacing: 1px;
  461. margin-top: 15px;
  462. {block:if400px}
  463. width: 390px;
  464. margin-left: 5px;
  465. margin-right: 5px;
  466. {/block:if400px}
  467. }
  468.  
  469. .tags {
  470. margin-top: 5px;
  471. margin-left: 5px;
  472. font-size: 8px;
  473. font-family: 'Calibri', 'Cambria', serif;
  474. letter-spacing: 1px;
  475. letter-spacing: 1px;
  476. font-style: italic;
  477. {block:if400px}
  478. width: 400px;
  479. {/block:if400px}
  480. {block:IfHoverTags}
  481. padding-top: 5px;
  482. padding-left: 5px;
  483. opacity: 0;
  484. margin: 0;
  485. height: 0;
  486. overflow: hidden;
  487. -webkit-transition: 0.6s ease;
  488. -ms-transition: 0.6s ease;
  489. -moz-transition: 0.6s ease;
  490. -o-transition: 0.6s ease;
  491. transition: 0.6s ease;
  492. {/block:IfHoverTags}
  493. }
  494.  
  495. .tags a {
  496. margin-right: 8px;
  497. }
  498.  
  499. .posts:hover .tags {
  500. {block:IfHoverTags}
  501. opacity: 1;
  502. overflow: visible;
  503. -webkit-transition: 0.6s ease;
  504. -ms-transition: 0.6s ease;
  505. -moz-transition: 0.6s ease;
  506. -o-transition: 0.6s ease;
  507. transition: 0.6s ease;
  508. {/block:IfHoverTags}
  509. }
  510.  
  511.  
  512.  
  513. /*----------post notes---------*/
  514. .perma-notes {
  515. margin-top: 20px;
  516. display: block;
  517. }
  518.  
  519. ol.notes {
  520. padding: 0;
  521. margin: 25px 0;
  522. list-style-type: none;
  523. border-bottom: solid 1px #eeeeee;
  524. }
  525.  
  526. ol.notes li.note {
  527. border-bottom: solid 1px #eeeeee;
  528. padding: 10px;
  529. }
  530.  
  531. ol.notes li.note img.avatar {
  532. vertical-align: top;
  533. margin-right: 10px;
  534. width: 16px;
  535. height: 16px;
  536. }
  537.  
  538. ol.notes li.note span.action {
  539. vertical-align: text-top;
  540. line-height: 16px;
  541. }
  542.  
  543. ol.notes li.note span.action a {
  544. font-style: italic;
  545. }
  546.  
  547. ol.notes li.note .answer_content {
  548. font-weight: normal;
  549. }
  550.  
  551. ol.notes li.note blockquote {
  552. border-color: #f2f2f2;
  553. padding: 4px 0 4px 40px;
  554. margin: 10px 0 0 0;
  555. text-align: center;
  556. }
  557.  
  558. ol.notes li.note blockquote a {
  559. text-decoration: none;
  560. }
  561.  
  562.  
  563.  
  564. /*-------- C -------------*/
  565.  
  566. .c {
  567. display: inline-block;
  568. position: fixed;
  569. right: 10px;
  570. bottom: 5px;
  571. cursor: default;
  572. z-index: 10;
  573. }
  574.  
  575. .c a {
  576. border: 1px solid #bbbbbb;
  577. font: 8px 'Brutal Type', 'Helvetica Neue', sans-serif;
  578. color: #bbbbbb;
  579. font-style: italic;
  580. padding: 4px;
  581. text-align: center;
  582. }
  583.  
  584. .c a:hover {
  585. cursor: pointer;
  586. color: #bbbbbb;
  587. -webkit-transition: 0.6s ease;
  588. -ms-transition: 0.6s ease;
  589. -moz-transition: 0.6s ease;
  590. -o-transition: 0.6s ease;
  591. transition: 0.6s ease;
  592. }
  593.  
  594.  
  595.  
  596. /*----------image fade---------*/
  597. {block:ifImageFade}
  598. .photo,
  599. .photoset,
  600. .panorama,
  601. .post div,
  602. .posts img,
  603. blockquote img {
  604. opacity: 0.8;
  605. -webkit-transition: 0.6s ease;
  606. -ms-transition: 0.6s ease;
  607. -moz-transition: 0.6s ease;
  608. -o-transition: 0.6s ease;
  609. transition: 0.6s ease;
  610. }
  611. {/block:ifImageFade}
  612.  
  613. {block: IfImageFade}
  614. .photo:hover,
  615. .photoset:hover,
  616. .panorama:hover,
  617. .post div:hover,
  618. .posts:hover img,
  619. .caption:hover img {
  620. opacity: 1;
  621. }
  622. {/block: IfImageFade}
  623.  
  624.  
  625.  
  626. </style>
  627. </head>
  628.  
  629. <body>
  630. <div class="container">
  631.  
  632. <div class="c">
  633. <a title="theme" href="http://stormborn-themes.tumblr.com/" target="_blank">T-S</a></div>
  634.  
  635.  
  636.  
  637. <div class="sidebar">
  638.  
  639. {block:IfShowIconOnSidebar}
  640. <div class="sidebarimage">
  641. <img src="{Favicon}" class="avatar"/></a>
  642. </div>
  643. {/block:IfShowIconOnSidebar}
  644.  
  645.  
  646. <div class="sidetitle"><a href="/">{Title}</a></div>
  647.  
  648.  
  649. <div class="links">
  650.  
  651. <a href="{text:Link 1 URL}" title="{text:Link1}">{text:Link 1}</a>
  652.  
  653. <a href="{text:Link 2 URL}" title="{text:Link2}">{text:Link 2}</a>
  654.  
  655. <a href="{text:Link 3 URL}" title="{text:Link3}">{text:Link 3}</a>
  656.  
  657. <a href="{text:Link 4 URL}" title="{text:Link4}">{text:Link 4}</a>
  658. </div>
  659.  
  660. <div class="description">{Description}</div>
  661.  
  662. <div class="pagination">
  663. {block:Pagination}
  664. {block:PreviousPage}
  665. <a href="{PreviousPage}">back /</a>{/block:PreviousPage}&nbsp;
  666.  
  667. {block:NextPage}
  668. <a href="{NextPage}">forth</a>
  669. {/block:NextPage}
  670. {/block:Pagination}
  671. </div>
  672.  
  673. </div>
  674.  
  675.  
  676. <div class="entries">
  677. {block:Posts}
  678. <div class="posts">
  679.  
  680. {block:Text}
  681. <h1>{block:Title}{Title}{/block:Title}</h1>
  682. {Body}{/block:Text}
  683.  
  684.  
  685. {block:Photo}
  686. {block:ifnot400px}<img src="{PhotoURL-500}"/>{/block:ifnot400px}
  687. {block:if400px}<img src="{PhotoURL-400}"/>{/block:if400px}
  688. {block:Caption}{Caption}{/block:Caption}
  689. {/block:Photo}
  690.  
  691.  
  692. {block:Photoset}
  693. {block:ifnot400px}{Photoset-500}{/block:ifnot400px}
  694. {block:if400px}{Photoset-400}{/block:if400px}
  695. {block:Caption}{Caption}{/block:Caption}
  696. {/block:Photoset}
  697.  
  698.  
  699. {block:Quote}
  700. <div class="quote">"{Quote}"</div>
  701. {block:Source}<div class="quotesource"> — {Source}</div>
  702. {/block:Source}{/block:Quote}
  703.  
  704.  
  705. {block:Link}
  706. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  707. {block:Description}{Description}{/block:Description}
  708. {/block:Link}
  709.  
  710.  
  711. {block:Chat}
  712. {block:Title}<h1>{Title}</h1>{/block:Title} <div class="chat"> {block:Lines} <li class="line {Alt}"> {block:Label} <span class="label"> {Label}</span> {/block:Label}{Line}</li> {/block:Lines}</div>
  713. {/block:Chat}
  714.  
  715.  
  716. {block:Audio}
  717. {block:AudioPlayer}
  718. <div class="audiowrapper">
  719. <div class="playerbuttonbg">
  720. <div class="playerbutton">
  721. <div class="playerbuttonhug">
  722. {AudioPlayerWhite}
  723. </div></div></div>
  724.  
  725. <div class="trackdetails">
  726. {block:TrackName}{TrackName}{/block:TrackName}<br>
  727.  
  728. {block:Artist}{Artist}{/block:Artist}<br>
  729.  
  730. </div>
  731.  
  732. </div>
  733. {/block:AudioPlayer}
  734.  
  735. {block:Caption}
  736. <div class="caption">{Caption}</div>
  737. {/block:Caption}
  738. {/block:Audio}
  739.  
  740.  
  741. {block:Video}
  742. {block:ifnot400px}{Video-500}{/block:ifnot400px}
  743. {block:if400px}{Video-400}{/block:if400px}
  744. {block:Caption}{Caption}{/block:Caption}
  745. {/block:Video}
  746.  
  747.  
  748. {block:Answer}
  749. <div class="question">
  750. <div class="asker"><b>{Asker} said:</b></div>
  751. {Question}</div><br>
  752. <div class="answer">
  753. {Answer}</div>
  754. {/block:Answer}
  755.  
  756.  
  757. <div class="info">
  758. {block:Date}
  759. <!--{DayOfMonthWithZero}.{ShortMonth}.{ShortYear}-->
  760. <a href="{Permalink}">{TimeAgo}</a>
  761. /
  762. <a href="{Permalink}">{NoteCountWithLabel}</a>
  763. /
  764. <a href="{ReblogURL}" target="_blank" class="details">reblog</a>
  765. </div>
  766. {/block:Date}
  767.  
  768. {block:HasTags}
  769. <div class="tags">
  770. {block:Tags}
  771. <a href="{TagURL}">{Tag}</a>
  772. {/block:Tags}
  773. </div>
  774. {/block:HasTags}
  775.  
  776. </div>
  777.  
  778.  
  779. {block:PostNotes}
  780. {PostNotes}
  781. {/block:PostNotes}
  782.  
  783. {/block:Posts}
  784.  
  785. {block:ContentSource}
  786. <!---{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  787. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  788. {/block:SourceLogo}
  789. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} --->
  790. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  791.  
  792. </body>
  793.  
  794. </div></div></div></div></div></div></div></div></div></div></div>
  795. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement