Advertisement
gcldchains

theme seven: ZAYN

Jan 29th, 2016
2,030
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.17 KB | None | 0 0
  1. <!-- base code by meroku
  2.  
  3. THEME 7 aka ZAYN by ambicnce -->
  4.  
  5. <html>
  6. <head>
  7.  
  8.  
  9. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  10. <script src="https://static.tumblr.com/uopakca/GVcnvdwbq/jquery.style-my-tooltips.js"></script>
  11. <script>
  12. (function($){
  13. $(document).ready(function(){
  14. $("a[title]").style_my_tooltips({
  15. tip_follows_cursor:true,
  16. tip_delay_time:90,
  17. tip_fade_speed:600,
  18. attribute:"title"
  19. });
  20. });
  21. })(jQuery);
  22. </script>
  23.  
  24. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  25.  
  26.  
  27. <link rel="shortcut icon" href="{Favicon}" />
  28. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  29. <title>{Title}</title>
  30. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  31.  
  32. <!-- DEFAULTS, this it the area that you can add color, images, if show captions, stuff like that -->
  33.  
  34. <meta name="color:background" content="#ffffff">
  35. <meta name="color:text" content="#c0bdb8" />
  36. <meta name="color:link hover" content="#fdfdfd" />
  37. <meta name="color:link" content="#c0bdb8" />
  38. <meta name="color:Bold" content="#000" />
  39. <meta name="color:Italic" content="#000"/>
  40. <meta name="color:borders" content="#e3e3e3"/>
  41. <meta name="color:sidebarlinks" content="#000"/>
  42. <meta name="color:scrollbar" content="#000"/>
  43. <meta name="color:info" content="#fff"/>
  44.  
  45. <meta name="image:sidebar" content=""/>
  46.  
  47. <meta name="text:name1" content="refresh" />
  48. <meta name="text:name2" content="askbox" />
  49. <meta name="text:link3" content="url" />
  50. <meta name="text:name3" content="navigation" />
  51. <meta name="text:link4" content="url" />
  52. <meta name="text:name4" content="roleplay" />
  53.  
  54. </head>
  55.  
  56. <!-- from here on, you creat class and id DIV's; class looks like: .something id's being #something, you use here to stylize how your theme looks, what color, backgrounds, borders, fonts, texts, padding, margins all of that cool stuff -->
  57.  
  58. <link href='https://fonts.googleapis.com/css?family=Inconsolata:400,700|Karla:400,700' rel='stylesheet' type='text/css'>
  59.  
  60. <style type="text/css">
  61.  
  62. #s-m-t-tooltip {
  63. max-width:300px;
  64. border-radius: 0px; /* you can add in a border radius here for curved corners if you like */
  65. padding:3px; /* space around the text */
  66. margin:25px 20px 5px 0px; /* positioning of your hover info in relation to the link */
  67. color:#fff; /* text color */
  68. text-transform:uppercase;
  69. font-family: arial; /* i’ve added a custom font in here but you can remove this line if you don’t use custom fonts */
  70. font-size:7px; /* font size of your hover info */
  71. letter-spacing:1px; /* optional letter spacing */
  72. border-radius:3px;
  73. background: #272727;
  74. z-index:99999;
  75.  
  76. }
  77.  
  78. ::-webkit-scrollbar {width: 1px; height: 4px; background: #ffffff; }
  79. ::-webkit-scrollbar-thumb { background-color: {color:scrollbar};
  80. -webkit-border-radius: 1ex; }
  81.  
  82. body {
  83. color:{color:text};
  84. background-color:{color:background};
  85. font-family:arial;
  86. font-size:9px; line-height:12px;
  87. text-align:justify}
  88.  
  89. .container {
  90. height: 440px;
  91. width:465px;
  92. margin-top:70px;
  93. overflow: auto;
  94. margin-left:460px;
  95. border: solid 1px {color:borders};
  96. }
  97.  
  98. a:link, a:active, a:visited{color: {color:link}; text-decoration:none}
  99.  
  100. a:hover {
  101. color:{color:link hover};-webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; transition: all 0.2s linear;}
  102.  
  103. small{font-size:9px;}
  104.  
  105. big{font-size:auto}
  106.  
  107. b, strong{color:{color:bold}}
  108.  
  109. i, em {color:{color:italic}}
  110.  
  111. p{margin-top:6px; margin-bottom:6px}
  112.  
  113. h1 {
  114. display:block;
  115. width:auto;
  116. text-transform:uppercase;
  117. color:{color:link};
  118. font-size:10px;;
  119. font-weight:bold;
  120. font-style:italic;
  121. letter-spacing:1px;
  122. text-align:left;
  123. }
  124.  
  125. h2 {
  126. display:block;
  127. width:auto;
  128. text-transform:uppercase;
  129. color:{color:link};
  130. font-size:8px;
  131. font-weight:bold;
  132. font-style:italic;
  133. letter-spacing:1px;
  134. text-align:center;
  135. }
  136.  
  137. blockquote {
  138. padding:2px;
  139. padding-left:20px;
  140. margin:16px;
  141. border-left:1px solid {color:borders};
  142. text-shadow: 1px 1px 0px {color:background};
  143. }
  144.  
  145. img a{border:none; width:100%;}
  146.  
  147.  
  148. /* the overall entries container and position of it */
  149.  
  150. #entries {
  151. margin-left:10px;
  152. text-align: justify;
  153. }
  154.  
  155. /* here are your posts to customize!! */
  156.  
  157. #posts {
  158. margin:15px 10px;
  159. width: 400px;
  160. text-align: justify;
  161. padding: 7px;
  162. background-color:#ffffff;
  163. margin-bottom:20px;
  164. }
  165.  
  166. #posts img {max-width:100%;}
  167.  
  168.  
  169. /* THE SIDEBAR */
  170.  
  171. .image img {
  172. border-radius:none;
  173. border:0px solid #000;
  174. width:82px;
  175. margin-left:-158px;
  176. -webkit-filter:brightness(100%);
  177. -webkit-transition:0.7s;
  178. }
  179.  
  180. .image img:hover {
  181. -webkit-filter:brightness(80%);
  182. -webkit-transition:0.7s;
  183. }
  184.  
  185. .image {
  186. padding:3px;
  187. }
  188.  
  189.  
  190. #sidebar {
  191. position:fixed;
  192. width:260px;
  193. height:240px;
  194. padding:-2px;
  195. overflow:hidden;
  196. left:170px;
  197. top:140px;
  198. }
  199.  
  200.  
  201. #description {
  202. text-align:justify;
  203. width:140px;
  204. height:170px;
  205. overflow:auto;
  206. font-size:8px;
  207. letter-spacing:1px;
  208. padding:3px;
  209. font-family:arial;
  210. line-height:10px;
  211. margin-top:-185px;
  212. position:fixed;
  213. margin-left:90px;
  214. padding-left:15px;
  215.  
  216. }
  217.  
  218. /* PAGINATION */
  219.  
  220. #pagination {
  221. color:#fff;
  222. background:#000;
  223. width:240px;
  224. padding-top:3px;
  225. height:15px;
  226. margin-left:10px;
  227. font-size:7px;
  228. letter-spacing:1px;
  229. text-align:center;
  230. text-transform:uppercase;
  231. margin-bottom:5px;
  232. }
  233.  
  234.  
  235. #pagination a {
  236. color:#fff;
  237. }
  238.  
  239. #title {
  240. color:#fff;
  241. background:#000;
  242. width:240px;
  243. padding-top:3px;
  244. height:15px;
  245. margin-left:-5px;
  246. font-size:7px;
  247. letter-spacing:1px;
  248. text-align:center;
  249. text-transform:uppercase;
  250. margin-bottom:5px;
  251. }
  252.  
  253.  
  254. /* PAGINATION /
  255.  
  256. /* THE SIDEBAR */
  257.  
  258. #credit{
  259. position:fixed;
  260. bottom:10px; left:10px;
  261. font-size:8px;
  262. font-family:'inconsolata';
  263. font-weight:700;
  264. letter-spacing:1px;
  265. color:{color:text};
  266. text-transform:uppercase;
  267. background:white
  268. border:1px solid #000;
  269. padding:3px;
  270.  
  271. }
  272.  
  273. #info{
  274. padding-top:5px;
  275. display:block;
  276. padding-bottom:5px;
  277. width:auto;
  278. font-family:arial;
  279. text-transform:uppercase;
  280. border: 1px solid {color:borders};
  281. color:{color:link};
  282. font-size:8px;
  283. letter-spacing:1px;
  284. font-weight:bold;
  285. text-align:center;
  286. }
  287.  
  288. .audio{background-color:black; display:block}
  289.  
  290. /* this is your chats, you can stylize however you want */
  291.  
  292.  
  293. .user_1 .label {
  294. color:{color:link};
  295. font-weight:bold;
  296. text-transform:uppercase;
  297. font-size:8px;
  298. font-weight:700;
  299. }
  300. .user_2 .label {
  301. color:{color:text};
  302. text-transform:uppercase;
  303. font-size:8px;
  304. font-weight:700;
  305. font-style:italic;
  306. }
  307. .user_3 .label {
  308. color:{color:link};
  309. text-transform:uppercase;
  310. font-size:8px;
  311. font-weight:700;
  312. }
  313.  
  314. .user_1 {
  315. background:#f1f1f1;
  316. padding:3px;
  317. }
  318.  
  319. ul.chat, .chat ol, .chat li {list-style:none; margin:1px; padding:3px}
  320.  
  321. .notes img{width:10px; position:relative; top:1px}
  322. ol.notes, .notes li{width:490px; list-style:none; margin:0px 0 -1px 5px; padding:0px}
  323.  
  324.  
  325. #links {
  326. text-transform:uppercase;
  327. text-align:left;
  328. font-size:7px;
  329. font-weight:bold;
  330. margin-left:9px;
  331. letter-spacing:1px;
  332. font-family:'arial';
  333. margin-top:3px;
  334. }
  335.  
  336. #links a {
  337. background:#000;
  338. color:white;
  339. width:78px;
  340. display:inline-block;
  341. padding:3px;
  342. text-align:center;
  343. -webkit-transition:1.2s;
  344. }
  345.  
  346. #links a:hover {
  347. font-style:italic;
  348. -webkit-transition:1.2s;
  349. opacity:0.85;
  350. }
  351.  
  352. #asker {
  353. font-size:8px;
  354. text-align:left;
  355. border:1px solid {color:borders};
  356. font-weight:700;
  357. letter-spacing:2px;
  358. padding:5px;
  359. }
  360.  
  361. #question {
  362. border: solid 1px {color:borders};
  363. font-size:9px;
  364. text-transform:lowercase;
  365. padding:5px;
  366. text-align:center;
  367. }
  368.  
  369. #tags {
  370. font-size:8px;
  371. text-transform:uppercase;
  372. margin-top:-2px;
  373. color:#ababab;
  374. }
  375.  
  376. #tags a {
  377. color:#ababab;
  378. }
  379.  
  380. #tags a:hover {
  381. text-decoration:underline;
  382. color:#ababab;
  383. }
  384.  
  385.  
  386. </style>
  387.  
  388. <!-- this is the area where everything comes to life and you have to code all the stuff you stylized. so i already got you like 10% started. or something, maybe more. i was never good at math anyway. -->
  389.  
  390. <body>
  391. <div id="sidebar">
  392. <div id="pagination">{block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">less / </a>{/block:PreviousPage} {block:NextPage}<a href="{NextPage}">more</a><br />{/block:NextPage}{/block:Pagination}</div>
  393. <center>
  394. <div class="image"><img src="{image:sidebar}" /></div>
  395. <div id="links">
  396. <a href="/">{text:name1}</a>
  397. <p><a href="/ask">{text:name2}</a>
  398. <p><a href="{text:link3}">{text:name3}</a>
  399. <p><a href="{text:link4}">{text:name4}</a>
  400.  
  401. </div>
  402. <div id="description">{description}</div>
  403.  
  404. <div id="title">{Title}</div>
  405.  
  406. </div>
  407.  
  408. </div>
  409. </center>
  410.  
  411.  
  412. <!-- here is the credit, you can add your own in here! if you're not changing much to this theme, then leave it! -->
  413. <div id="credit"><a href="http://ambicnce.tumblr.com/" title="theme credit">ambicnce</a></div>
  414.  
  415.  
  416. <div class="container">
  417.  
  418. <div id="entries">
  419. {block:posts}
  420.  
  421.  
  422. <div id="posts">
  423. {block:Text}{block:Title}<h1>{Title}</h1>{/block:Title}{Body}{/block:Text}
  424.  
  425.  
  426. {block:Quote}<h2>“{Quote}” — {Source}</h2><br>{/block:Quote}
  427.  
  428. {block:Link}<a href="{URL}"><h1>{Name}</h1></a>
  429. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  430.  
  431. {block:Photo}<center><img src="{PhotoURL-400}"/></center>
  432. {block:Caption}{Caption}{/block:Caption}{/block:Photo}
  433.  
  434. {block:Photoset}<center>{Photoset-400}</center>
  435. {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  436.  
  437. {block:Chat}<ul class="chat">{block:Lines}<li class="user_{UserNumber}">{block:Label}<span class="label">{Label}</span>{/block:Label}&nbsp;{Line}</li>{/block:Lines}</ul>{/block:Chat}
  438.  
  439. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  440.  
  441. {block:Answer}
  442. <div id="asker"><b>{Asker}</b> asked: {Question}</div><br>{Answer}{/block:Answer}
  443.  
  444. {block:Audio}{AudioPlayerWhite}<br>
  445. {block:Caption}{Caption}{/block:Caption} {/block:Audio}
  446.  
  447. <center><div id="info">{block:Date}<a href="{Permalink}"> <a href="{ReblogParentURL}"> {TimeAgo}</a>{/block:Date} {block:NoteCount}• <a href="{Permalink}" >{NoteCountWithLabel}</a> {/block:NoteCount}<a href="{ReblogURL}" target="_blank">• REBLOG </a>
  448.  
  449. </center><p>
  450.  
  451. <div id="tags"><center>{block:HasTags}{block:Tags} #<a href="{TagURL}">{Tag} </a> {/block:Tags}{/block:HasTags}</div>
  452. <br /></div>
  453.  
  454. {block:ContentSource}
  455. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  456. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  457. {/block:SourceLogo}
  458. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  459. {/block:ContentSource}
  460.  
  461. {/block:Posts}
  462.  
  463. {block:PostNotes}{PostNotes}{/block:PostNotes}<br />
  464.  
  465. </div>
  466.  
  467. </div>
  468. </div>
  469. </body>
  470. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement