oph

o my heart theme

oph
Dec 5th, 2017
645
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!-----
  5. o my heart theme by ophie kravitz
  6. base code by animecharacter
  7. dont steal, dont delete cred
  8. ----->
  9.  
  10. <meta charset="utf-8">
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  12.  
  13. <meta name="image:sidebar" content=""/>
  14. <meta name="image:favicon" content=""/>
  15. <meta name="image:background" content=""/>
  16.  
  17. <meta name="if:description" content=""/>
  18. <meta name="if:title" content=""/>
  19. <meta name="if:caption" content=""/>
  20. <meta name="if:custom scrollbar" content=""/>
  21. <meta name="if:circle sidebar" content=""/>
  22. <meta name="if:rounded sidebar" content=""/>
  23. <meta name="if:block desc" content=""/>
  24. <meta name="if:no link underline" content=""/>
  25.  
  26. <meta name="select:font" content="arial"/>
  27. <meta name="select:font" content="verdana"/>
  28. <meta name="select:font" content="times new roman"/>
  29. <meta name="select:font" content="lucida sans"/>
  30. <meta name="select:font" content="karla"/>
  31. <meta name="select:font" content="abel"/>
  32.  
  33. <meta name="select:post size" content="250"/>
  34. <meta name="select:post size" content="300"/>
  35. <meta name="select:post size" content="350"/>
  36.  
  37. <meta name="select:align" content="left"/>
  38. <meta name="select:align" content="center"/>
  39. <meta name="select:align" content="right"/>
  40.  
  41. <meta name="text:font size" content="14"/>
  42. <meta name="text:credit symbol" content="❦"/>
  43.  
  44. <meta name="color:background" content="fff"/>
  45. <meta name="color:text" content="fff"/>
  46. <meta name="color:link" content="fff"/>
  47. <meta name="color:link hover" content="fff"/>
  48. <meta name="color:custom scrollbar" content="fff"/>
  49. <meta name="color:blockquote" content="fff"/>
  50.  
  51. {block:Description}
  52. <meta name="description" content="{MetaDescription}" />
  53. {/block:Description}
  54.  
  55. <title>{Title}</title>
  56.  
  57. <link rel="shortcut icon" href="{image:favicon}">
  58. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  59. <link rel="stylesheet" href="http://static.tumblr.com/qxrkgx6/RWPmgn2qa/normalize.min.css">
  60. <link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet">
  61. <link href="https://fonts.googleapis.com/css?family=Abel" rel="stylesheet">
  62. <link href="https://fonts.googleapis.com/css?family=Dancing+Script" rel="stylesheet">
  63.  
  64. <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  65.  
  66. <style type="text/css">
  67.  
  68.  
  69. /*
  70. general text styles, fonts and colours
  71. */
  72.  
  73. body {
  74. margin:0px;
  75. background:{color:background} url({image:background});
  76. font-family:{select:font};
  77. font-size:{text:font size}px;
  78. line-height:140%;
  79. color:{color:text};
  80. }
  81.  
  82. p{
  83. margin:0 0 10px 0;
  84. padding:0;
  85. }
  86.  
  87. pre {
  88. white-space: pre-wrap;
  89. white-space: -moz-pre-wrap;
  90. white-space: -pre-wrap;
  91. white-space: -o-pre-wrap;
  92. word-wrap: break-word;
  93. }
  94.  
  95. a{
  96. color:{color:link};
  97. {block:ifnolinkunderline}text-decoration:none{/block:ifnolinkunderline}
  98. }
  99.  
  100. a:hover{
  101. color:{color:link hover};
  102. text-shadow: 1px 1px 1px {color:text};
  103. }
  104.  
  105. li{
  106. margin-left:-15px;
  107. }
  108.  
  109. {block:ifcustomscrollbar}
  110. ::-webkit-scrollbar-thumb {
  111. min-height: 60px;
  112. border-left: 4px solid {color:background};
  113. border-right: 4px solid {color:background};
  114. border-top: 2px solid {color:background};
  115. border-bottom: 2px solid {color:background};
  116. background: {color:custom scrollbar};
  117. }
  118.  
  119. ::-webkit-scrollbar {
  120. width: 11px;
  121. height: 10px;
  122. border-left: 5px solid {color:background};
  123. border-right: 5px solid {color:background};
  124. border-top: 2px solid {color:background};
  125. border-bottom: 2px solid {color:background};
  126. background: {color:custom scrollbar};
  127. }
  128. {/block:ifcustomscrollbar}
  129.  
  130. /*
  131. containers etc
  132. */
  133. #wrapper{
  134. width:600px;
  135. margin:50px auto;
  136. }
  137.  
  138. #sidebar{
  139. width:130px;
  140. position:fixed;
  141. margin-left:465px;
  142. }
  143.  
  144. #sidebar img{
  145. max-width:130px;
  146. overflow:none;
  147. {block:ifcirclesidebar}
  148. border-radius:100%;
  149. {/block:ifcirclesidebar}
  150. {block:ifroundedsidebar}
  151. border-radius:7%;
  152. {/block:ifroundedsidebar}
  153. }
  154.  
  155. #sidebar .arms{
  156. text-align:center;
  157. font-family:'dancing script';
  158. font-size:23px;
  159. padding:5px;
  160. }
  161.  
  162. .desc{
  163. text-align:{select:align};
  164. {block:ifblockdesc}margin:0 0 10px 5px;
  165. padding:0 0 0 10px;
  166. border-left:dashed 1px {color:blockquote};{/block:ifblockdesc}
  167. }
  168.  
  169. #content{
  170. width:400px;
  171. margin-left:25px;
  172. overflow:none;
  173. }
  174.  
  175. .post{
  176. width:{select:post size}px;
  177. margin:0 0 50px 0;
  178. overflow:hidden;
  179. }
  180.  
  181. .post img{
  182. max-width:100%;
  183. }
  184.  
  185. img:hover{
  186. -webkit-filter: blur(5px);
  187. -webkit-transition: 0.8s ease-in;
  188. >-moz-transition: 1s ease-in;
  189. transition: 1s ease-in;
  190. }
  191.  
  192. #sidebar .nav{
  193. margin:50px 0 0 0;
  194. }
  195.  
  196. #credit{
  197. padding:10px;
  198. width:15px;
  199. height:15px;
  200. position:fixed;
  201. border-radius:100%;
  202. bottom:5px;
  203. left:3px;
  204. font-size:{text:font size}px;
  205. }
  206.  
  207. .playerbuttonbg {
  208. position: absolute;
  209. left: 20px;
  210. top: 20px;
  211. width: 19px;
  212. height: 19px;
  213. background-color: #ffffff;
  214. padding: 10px;
  215. -webkit-border-radius: 40px;
  216. -moz-border-radius: 40px;
  217. border-radius: 40px;
  218. opacity: .4;
  219. filter: alpha(opacity=40);
  220. -moz-opacity: 0.4;
  221. -khtml-opacity: 0.4;
  222. transition: opacity .7s ease-in-out;
  223. -moz-transition: opacity .7s ease-in-out;
  224. -webkit-transition: opacity .7s ease-in-out;
  225. }
  226.  
  227. .newplayerbutton {
  228. position: relative;
  229. width: 19px;
  230. height: 19px;
  231. overflow: hidden;
  232. }
  233.  
  234. .playerbuttonhug {
  235. position: absolute;
  236. top: -18px;
  237. left: -7px;
  238. }
  239.  
  240. .tumblr_audio_player {
  241. height: 90px;
  242. width: 270px;
  243. -moz-transform: scale(0.60, 0.60);
  244. -webkit-transform: scale(0.60, 0.60);
  245. -o-transform: scale(0.60, 0.60);
  246. -ms-transform: scale(0.60, 0.60);
  247. transform: scale(0.60, 0.60);
  248. -moz-transform-origin: top left;
  249. -webkit-transform-origin: top left;
  250. -o-transform-origin: top left;
  251. -ms-transform-origin: top left;
  252. transform-origin: top left;
  253. }
  254.  
  255. .audioimgwrapper {
  256. position: absolute;
  257. left: 0px;
  258. top: 0px;
  259. -webkit-border-radius: 40px;
  260. -moz-border-radius: 40px;
  261. border-radius: 40px;
  262. overflow: hidden;
  263. width: 79px;
  264. height: 79px;
  265. }
  266.  
  267. .audioimgwrapper img {
  268. width: 100%;
  269. height: auto;
  270. -webkit-border-radius: 40px;
  271. -moz-border-radius: 40px;
  272. border-radius: 40px;
  273. }
  274.  
  275. .trackdetails {
  276. height:19px;
  277. width: auto;
  278. display:inline-block;
  279. margin-left: 90px;
  280. min-height: 85px;
  281. padding:5px;
  282. }
  283.  
  284. .audiowrapper {
  285. position: relative;
  286. display:inline-block;
  287. }
  288.  
  289. /*
  290. content in the body of the posts - quotes, asks, etc
  291. "media" contains photos, photosets, videos, audio posts
  292. */
  293. .media{
  294. margin:0 0 10px 0;
  295. }
  296.  
  297. .title{
  298. font-weight:normal;
  299. font-size:18px;
  300. margin:0 0 10px 0;
  301. }
  302.  
  303. .quote{
  304. font-weight:normal;
  305. font-size:16px;
  306. font-style:italic;
  307. margin:0 0 10px 0;
  308. }
  309.  
  310. .question{
  311. margin-bottom:10px;
  312. }
  313.  
  314. blockquote{
  315. margin:0 0 10px 10px;
  316. padding:0 0 0 10px;
  317. border-left:dashed 1px {color:blockquote};
  318. }
  319.  
  320. /*
  321. post footers - date, tags, via and source
  322. */
  323. .post .footer{
  324. margin:0;
  325. text-align:{select:align};
  326. }
  327.  
  328. /*
  329. post notes
  330. */
  331. ol.notes{
  332. list-style-type:none;
  333. padding:0;
  334. margin:0;
  335. }
  336.  
  337. ol.notes li.note img{
  338. width:16px;
  339. height:16px;
  340. }
  341.  
  342. ol.notes li.note{
  343. margin:0px;
  344. }
  345.  
  346. {CustomCSS}
  347. </style>
  348. </head>
  349.  
  350. <body>
  351. <div id="wrapper">
  352.  
  353. <div id="sidebar">
  354. {block:iftitle}
  355. <div class="arms">
  356. {Title}
  357. </div>
  358. {/block:iftitle}
  359. <a href="/"><img src="{image:sidebar}"></a>
  360. <div class="desc">
  361. {block:ifdescription}
  362. <p>{Description}</p>
  363. {/block:ifdescription}
  364. </div>
  365. {block:HasPages}
  366. {block:Pages}
  367. <a href="{URL}">{Label}</a><br>
  368. {/block:Pages}
  369. {/block:HasPages}
  370. <div class="nav">
  371. {block:PreviousPage}<a href="{PreviousPage}">⇇</a>{/block:PreviousPage}
  372. {block:NextPage}<a href="{NextPage}">⇉</a>{/block:NextPage}
  373. </div>
  374. </div>
  375.  
  376.  
  377.  
  378. <div id="content">
  379. {block:Posts}
  380.  
  381. <div class="post">
  382.  
  383. {block:Text}
  384. {block:Title}
  385. <div class="title">{Title}</div>
  386. {/block:Title}
  387. {Body}
  388. {/block:Text}
  389.  
  390. {block:Photo}
  391. <div class="media">{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</div>
  392. {block:ifcaption}<div class="caption">{Caption}</div>{/block:ifcaption}
  393. {/block:Photo}
  394.  
  395. {block:Photoset}
  396. <div class="media">{Photoset-400}</div>
  397. {block:ifcaption}<div class="caption">{Caption}</div>{/block:ifcaption}
  398. {/block:Photoset}
  399.  
  400. {block:Quote}
  401. <div class="quote">"{Quote}"</div>
  402. {block:Source}
  403. <div class="quotesource">{Source}</div>
  404. {/block:Source}
  405. {/block:Quote}
  406.  
  407. {block:Link}
  408. <div class="title"><a href="{URL}">{Name}</a></div>
  409. {block:Description}
  410. <div class="description">{Description}</div>
  411. {/block:Description}
  412. {/block:Link}
  413.  
  414. {block:Chat}
  415. {block:Title}
  416. <div class="title">{Title}</div>
  417. {/block:Title}
  418.  
  419. {block:Lines}
  420. <div class="{Alt} user_{UserNumber}">
  421. {block:Label}
  422. <b>{Label}</b>{/block:Label}
  423. &nbsp;{Line}
  424. </div>
  425. {/block:Lines}
  426. {/block:Chat}
  427.  
  428. {block:Video}
  429. <div class="media">{Video-400}</div>
  430. {block:ifcaption}<div class="caption">{Caption}</div>{/block:ifcaption}
  431. {/block:Video}
  432.  
  433. {block:AudioPlayer}
  434. <div class="audiowrapper">
  435. {block:AlbumArt}
  436. <div class="audioimgwrapper"><img src="{AlbumArtURL}"></div>
  437. {/block:AlbumArt}
  438. <div class="playerbuttonbg">
  439. <div class="newplayerbutton">
  440. <div class="playerbuttonhug">
  441. {AudioPlayerWhite}
  442. </div>
  443. </div>
  444. </div>
  445. <div class="trackdetails">
  446. {block:TrackName}{TrackName}{/block:TrackName}<br/>
  447. {block:Artist}— {Artist}{/block:Artist}<br/>
  448. </div>
  449. </div>
  450. {block:ifcaption}{Caption}{/block:ifcaption}
  451. {/block:AudioPlayer}
  452.  
  453. {block:Answer}
  454. <div class="question">{Asker}: {Question}</div>
  455. <div class="caption">{Answer}</div>
  456. {/block:Answer}
  457.  
  458.  
  459. {block:Date}
  460. <div class="footer">
  461. <a href="{Permalink}">{MonthNumberWithZero}/{DayOfMonthWithZero}/{ShortYear}</a> <a href="{Permalink}">{block:NoteCount}{NoteCount}%{/block:NoteCount}</a>
  462. {block:HasTags}<br>{block:iftags}<a href="{TagURL}">#{Tag}</a> {/block:iftags}{/block:HasTags}
  463. </div>
  464.  
  465. {block:PermalinkPage}
  466. {block:NoteCount}
  467. {block:PostNotes}{PostNotes}{/block:PostNotes}
  468. {/block:NoteCount}
  469. {/block:PermalinkPage}
  470. {/block:Date}
  471. </div>
  472. {/block:Posts}
  473. </div>
  474. </div>
  475. <div id="credit">
  476. <a title="theme by ophie!" href="http://marysage.tumblr.com">{text:credit symbol}</a>
  477. </div>
  478. </div>
  479.  
  480. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  481. <script>window.jQuery || document.write('<script src="http://static.tumblr.com/qxrkgx6/q6kmgn2w2/jquery-1.8.3.min.js"><\/script>')</script>
  482.  
  483. </body>
  484. </html>
Advertisement
Add Comment
Please, Sign In to add comment