pkfreezes

High Security Theme

Oct 16th, 2015
5,699
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.21 KB | None | 0 0
  1. <!DOCTYPE>
  2. <html>
  3. <head>
  4. <!--
  5. HIGH SECURITY THEME by ylissan
  6. this theme is intended for anyone who wants to track IP addresses that come on their blog and know who's sending them anon hate or make sure their abuser(s) aren't able to see them. for this to work you must sign up for statcounter. it would also help to know basic HTML/CSS, but i hope my little notes are enough help to get your through this! please read through everything to ensure this works for you. i can not ensure that this will keep everyone off your blog but it'll probably help and surely track them, if you do it right. plus, you'll look cute af doing it!!!
  7.  
  8. if you don't want to use the theme for security, please feel free to remove from <!-- SECURITY START to <!-- SECURITY END. you're 100% allowed to do that, i don't mind.
  9.  
  10. HOWEVER, removing credit and/or redistributing is not allowed and will warrent me reporting you.
  11.  
  12. -->
  13. <!-- SECURITY START -->
  14.  
  15. <!--
  16. so this is a step by step of what you need to do.
  17. 1. you need to sign up for statcounter. you'll get a code, and you need to place it where it says "INSERT STATCOUNTER CODE HERE". you can replace that line or just paste it under.
  18. 2. insert your ips into the first bracket (where it currently says "1.1.1.1". if you don't have the ips of the person or people you're trying to block, leave up statcounter for a while.
  19. 3. in the second area (where it currently says "http://google.com), insert where you want them to be redirected to. i suggest a rick roll but feel free to put any address you want!
  20. 4. if you want to get the full version of the creep blocker, i'd suggest looking into it. you can find more info here: https://www.patreon.com/augustlate?ty=c&u=459886 (if you get the full version of the code, feel free to replace the current version!)
  21. 5. last but not least, check out anonbegone. it's a great script that can be used to force anons to have tumblr accounts. you can still track their ips if they're not on tumblr, but it's nice to keep unwanted people off. you can get it here: https://github.com/OmgImAlexis/AnonBeGone/tree/master
  22. -->
  23.  
  24. <!-- insert statcounter code here -->
  25.  
  26. <!-- start of creep blocker -->
  27. <script language="javascript">
  28. function blockIP(json){
  29. //Insert the IP addresses to block here, remembering to double quote them & place commas in between each pair
  30. var bannedips=["1.1.1.1"]
  31. //This is where you would like the troublesome party to be redirected to.
  32. var final_destination = "google.com"
  33.  
  34. var ip = json.ip;
  35.  
  36. var handleips=bannedips.join("|")
  37. handleips=new RegExp(handleips, "i")
  38.  
  39. if (bannedips.length > 0 && ip.search(handleips)!=-1){
  40. window.location.replace(final_destination)
  41. }
  42. }
  43. </script>
  44. <script type="application/javascript" src="http://api.ipify.org?format=jsonp&callback=blockIP"></script>
  45. <!-- end of creep blocker -->
  46. <!-- SECURITY END -->
  47.  
  48. <meta name="color:background" content="#FFFFFF">
  49. <meta name="color:link" content="#E6E4E4">
  50. <meta name="color:hover" content="#454545">
  51. <meta name="color:text" content="#9A9A9A">
  52. <meta name="color:scrollbar1" content="#D6D5D5">
  53. <meta name="color:scrollbar2" content="#FCFCFC">
  54. <meta name="color:sidebar border" content="">
  55. <meta name="color:sidebar background" content="">
  56. <meta name="color:post border" content="">
  57. <meta name="color:post background" content="">
  58. <meta name="color:footer border" content="">
  59. <meta name="color:footer background" content="">
  60.  
  61. <meta name="image:sidebar" content=""/>
  62. <meta name="image:background" content="">
  63. <meta name="image:lace" content="">
  64. <meta name="image:favicon" content="">
  65.  
  66. <meta name="text:link1" content="">
  67. <meta name="text:link1 url" content="/">
  68. <meta name="text:link2" content="">
  69. <meta name="text:link2 url" content="/">
  70. <meta name="text:link3" content="">
  71. <meta name="text:link3 url" content="/">
  72. <meta name="text:link4" content="">
  73. <meta name="text:link4 url" content="/">
  74.  
  75. <meta name="if:rounded" content=""/>
  76. <meta name="if:grayscale" content=""/>
  77. <meta name="if:repeatingbackground" content="">
  78. <meta name="if:fullbackground" content="">
  79. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  80. <title>{Title}</title> {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  81. <link rel="shortcut icon" href="{image:favicon}" />
  82. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  83.  
  84. <style type="text/css">
  85.  
  86. a {
  87. color:{color:link};
  88. text-decoration:none;
  89. -moz-transition-duration:0.6s;
  90. -webkit-transition-duration:0.6s;
  91. -o-transition-duration:0.6s;
  92. }
  93.  
  94. a:hover {
  95. color:{color:hover};
  96. text-decoration:none;
  97. -moz-transition-duration:0.6s;
  98. -webkit-transition-duration:0.6s;
  99. -o-transition-duration:0.6s;
  100. }
  101.  
  102. ::-webkit-scrollbar {background-color:{color:scrollbar2}; height:8px; width:8px}
  103. ::-webkit-scrollbar-thumb:vertical {background-color:{color:scrollbar1}; height:50px}
  104. ::-webkit-scrollbar-thumb:horizontal {background-color:{color:scrollbar1}; height:8px!important}
  105.  
  106.  
  107. body {
  108. {block:ifrepeatingbackground}
  109. background-image: url({image:background});
  110. background-repeat: repeat;
  111. {/block:ifrepeatingbackground}
  112. {block:iffullbackground}
  113. background: url({image:background}) fixed;
  114. background-size: cover;
  115. {/block:iffullbackground}
  116. font-family:Helvetica;
  117. font-weight:normal;
  118. background-color:{color:background};
  119. }
  120.  
  121. h1 {
  122. font-weight:normal;
  123. font-size:10px;
  124. text-align:center;
  125. font-style:normal;
  126. line-height:80%;
  127. letter-spacing:1px;
  128. text-transform:lowercase;
  129. color:{color:text};
  130. }
  131.  
  132. h2 {
  133. font-size:15px;
  134. text-align:center;
  135. line-height:100%;
  136. letter-spacing:-0.5px;
  137. color:{color:text};
  138. font-weight:normal;
  139. padding:5px;
  140. padding-bottom:2px;
  141. }
  142.  
  143. blockquote {
  144. border-left:2px solid {color:text};
  145. padding-left:5px;
  146. margin:5px;
  147. }
  148.  
  149. #theme {
  150. width:700px;
  151. margin: 0 auto -12px auto;
  152. text-align: center;
  153. }
  154.  
  155. #sidebar {
  156. color:{color:text};
  157. position:fixed;
  158. width:150px;
  159. padding:7px;
  160. height:auto;
  161. margin-top:180px;
  162. text-align:left;
  163. background-color:{color:sidebar background};
  164. border: 1px solid {color:sidebar border};
  165. {block:ifrounded}
  166. -webkit-border-radius: 5px;
  167. -moz-border-radius: 5px;
  168. border-radius: 5px;
  169. overflow:hidden;
  170. {/block:ifrounded}
  171.  
  172.  
  173. }
  174.  
  175. #sidebar img {
  176. width:150px;
  177. height:150px;
  178. margin-bottom:10px;
  179. }
  180.  
  181.  
  182. .links {
  183. margin-bottom:10px;
  184. font-size:12px;
  185. text-transform:lowercase;
  186. text-align:center;
  187. letter-spacing:2px;
  188. line-height:170%;
  189. }
  190.  
  191. .links a{
  192. padding:3px;
  193. color:{color:link};
  194. letter-spacing:0px;
  195. text-decoration:none;
  196. -moz-transition-duration:1s;
  197. -webkit-transition-duration:1s;
  198. -o-transition-duration:1s;
  199. }
  200.  
  201. .links a:hover{
  202. color:{color:hover};
  203. -moz-transition-duration:1s;
  204. -webkit-transition-duration:1s;
  205. -o-transition-duration:1s;
  206. }
  207.  
  208. .desc {
  209. margin-bottom:10px;
  210. text-align:center;
  211. font-size:11px;
  212. color:{color:text};
  213. letter-spacing:1px;
  214. line-height:150%;
  215. }
  216.  
  217. .desc a {
  218. color:{color:link};
  219. }
  220.  
  221. .pagi {
  222. font-size:11px;
  223. text-transform:uppercase;
  224. letter-spacing:3px;
  225. font-style:normal;
  226. text-align:center;
  227. }
  228.  
  229. .pagi a {
  230. color:{color:link};
  231. }
  232.  
  233. #postcontainer {
  234. float:left;
  235. margin-left:250px;
  236. margin-top:60px;
  237. margin-bottom:30px;
  238. text-align:justify;
  239. color:{color:text};
  240. margin-bottom: 35px;
  241. }
  242.  
  243. #post {
  244. width:400px;
  245. margin-top:75px;
  246. padding:7px;
  247. text-align:justify;
  248. font-size:12px;
  249. line-height:90%;
  250. letter-spacing:0x;
  251. color:{color:text};
  252. border: 1px solid {color:post border};
  253. background-color:{color:post background};
  254. {block:ifrounded}
  255. -webkit-border-radius: 5px;
  256. -moz-border-radius: 5px;
  257. border-radius: 5px;
  258. overflow:hidden;
  259. {/block:ifrounded}
  260. }
  261. .post img { max-width:100%
  262. }
  263.  
  264. .caption {
  265. width:400px;
  266. text-align:justify;
  267. line-height:120%;
  268. }
  269.  
  270. /**Ask Posts**/
  271.  
  272. .ask {
  273. padding:10px;
  274. text-align:center;
  275. color:{color:asktext};
  276. background-color:{color:infobg};
  277. }
  278.  
  279. .ans {
  280. text-align:left;
  281. padding:5px;
  282. color:{color:text};
  283. }
  284. .ans img {
  285. max-width:100%
  286. }
  287.  
  288. /**Audio Posts**/
  289.  
  290. .audio {
  291. height:60px;
  292. padding:5px;
  293. margin-bottom:55px;
  294. }
  295.  
  296. .audio-album {
  297. position:absolute;
  298. width:110px;
  299. -webkit-transition: opacity 0.6s linear;
  300. opacity: 1;
  301. }
  302.  
  303. .audio-player {
  304. opacity:1;
  305. filter:alpha(opacity=90);
  306. width:25px;
  307. height:25px;
  308. overflow:hidden;
  309. position:absolute;
  310. border:30px;
  311. z-index:2;
  312. margin-left:43px;
  313. margin-top:43px;
  314. opacity:0;
  315. -webkit-transition: all 0.6s ease-out;
  316. -o-transition: all 0.6s ease-out;
  317. -webkit-transition: all 0.6s ease-out;
  318. -moz-transition: all 0.6s ease-out;
  319. }
  320.  
  321. .audio-info {
  322. margin-top:7px;
  323. position:relative;
  324. margin-left:120px;
  325. line-height:180%;
  326. padding:2px;
  327. }
  328.  
  329. .audio:hover .audio-player {
  330. opacity:.6;
  331. -webkit-transition: all 0.6s ease-out;
  332. -o-transition: all 0.6s ease-out;
  333. -webkit-transition: all 0.6s ease-out;
  334. -moz-transition: all 0.6s ease-out;
  335. }
  336.  
  337. /**Chat Posts**/
  338.  
  339. ul.chat, .chat ol, .chat li {
  340. list-style:none;
  341. margin:0px;
  342. padding:2px;
  343. }
  344.  
  345. .label {
  346. text-decoration:bold;
  347. font-weight:700;
  348. margin-right:5px;
  349. }
  350.  
  351. /**Post Info, Notes**/
  352.  
  353. #postinfo {
  354. width:392px;
  355. padding:4px;
  356. font-size:10px;
  357. color:{color:link};
  358. background-color:{color:footer background};
  359. text-transform:lowercase;
  360. font-style:normal;
  361. letter-spacing:2px;
  362. text-align:center;
  363. border-top:1px solid {color:footer border};
  364. -moz-transition-duration:0.5s;
  365. -webkit-transition-duration:0.5s;
  366. -o-transition-duration:0.5s;
  367. }
  368.  
  369. #postinfo a {
  370. color:{color:link};
  371. text-align:center;
  372. letter-spacing:1px;
  373. font-style:normal;
  374. }
  375.  
  376. #postinfo a:hover {
  377. color:{color:hover};
  378. }
  379. {block:ifgrayscale}
  380. #post img {
  381. -webkit-filter: grayscale(100%);
  382. -webkit-transition: all .90s ease-in-out;
  383. }
  384. #post img:hover {
  385. -webkit-filter: grayscale(0);
  386. }
  387. .html_photoset {
  388. -webkit-filter: grayscale(100%);
  389. -webkit-transition: all .90s ease-in-out;
  390. }
  391. .html_photoset:hover {
  392. -webkit-filter: grayscale(0);
  393. }
  394. {/block:ifgrayscale}
  395.  
  396. #tags {
  397. text-align:center;
  398. font-size:10px;
  399. font:Helvetica;
  400. background-color:{color:footer background};
  401. }
  402.  
  403. .note {
  404. text-transform:lowercase;
  405. font-style:normal;
  406. letter-spacing:0px;
  407. font-size: 9px;
  408. text-align:left;
  409. line-height:90%;
  410. margin-left:200px;
  411. padding-bottom:-10px;
  412. }
  413.  
  414. .note li {
  415. list-style-type:none;
  416. padding:10px 25px 10px 25px;
  417. text-align:left;
  418. margin:0px;
  419. -moz-transition-duration:0.5s;
  420. -webkit-transition-duration:0.5s;
  421. -o-transition-duration:0.5s;
  422. }
  423. #lacy {
  424. position:fixed;
  425. opacity:1;
  426. z-index:-9999999999;
  427. width:100%;
  428. top:0px;
  429. left:0px;
  430. height:29px; /* change this according to your lace!! */
  431. background-image:url("{image:lace}");
  432. background-repeat: repeat;
  433. }
  434. .gosh a {
  435. bottom:2px;
  436. right:2px;
  437. color:{color:link};
  438. font-family:helvetica;
  439. font-size:11px;
  440. position:fixed;
  441. }
  442. {CustomCSS}
  443.  
  444. </style>
  445. </head>
  446.  
  447. <body>
  448. <div id="theme">
  449. <div id="lacy"></div>
  450. <div id="sidebar">
  451. <img src="{image:sidebar}">
  452. <div class="links">
  453. {block:IfLink1}
  454. <a href="{text:link1 url}">{text:link1}</a>
  455. {/block:IfLink1}
  456. {block:IfLink2}
  457. <a href="{text:link2 url}">{text:link2}</a>
  458. {/block:IfLink2}
  459. {block:IfLink3}
  460. <a href="{text:link3 url}">{text:link3}</a>
  461. {/block:IfLink3}
  462. {block:IfLink4}
  463. <a href="{text:link4 url}">{text:link4}</a>
  464. {/block:IfLink4}
  465. </div>
  466. <div class="desc">
  467. {Description}
  468. </div>
  469. {block:Pagination}
  470. <div class="pagi">
  471. {block:PreviousPage}
  472. <a href="{PreviousPage}"><b>« </b></a>
  473. {/block:PreviousPage}
  474. {block:NextPage}
  475. <a href="{NextPage}"><b> »</b></a>
  476. {/block:NextPage}
  477. </div>
  478. {/block:Pagination}
  479. </div>
  480.  
  481. <div id="postcontainer">
  482.  
  483. {block:Posts}
  484.  
  485. <div id="post">
  486.  
  487. {block:Text}{block:Title}<h2>{Title}</h2>{/block:Title}{Body}{/block:Text}
  488.  
  489. {block:Quote}<h2>“{Quote}”</h2><h1>{Source}</h1>{/block:Quote}
  490.  
  491. {block:Link}<a href="{URL}"><h2>{Name}</h2></a>
  492. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  493.  
  494. {block:Photo}<center><img src="{PhotoURL-400}"/></center>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  495.  
  496. {block:Photoset}<center>{Photoset-400}</center>
  497. {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  498.  
  499. {block:Chat}<ul class="chat">{block:Title}<h2>{Title}</h2>{/block:Title}{block:Lines}<li>{block:Label}<span class="label">{Label}</span>{/block:Label}&nbsp;{Line}</li>{/block:Lines}</ul>{/block:Chat}
  500.  
  501. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  502.  
  503. {block:Answer}<div class="ask"><i>{Asker} whispered:</i> {Question}</div><div class="ans">{Answer}</div>{/block:answer}
  504.  
  505. {block:Audio}
  506. <div class="audio">
  507. {block:AlbumArt}<img class="audio-album" src="{AlbumArtURL}">{/block:AlbumArt}
  508. <div class="audio-player">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div>
  509.  
  510. <div class="audio-info">
  511. {block:TrackName}<b>Title:</b> {TrackName}<BR>{/block:TrackName}
  512. {block:Artist}<b>Artist:</b> {Artist}<BR>{/block:Artist}
  513. {block:Album}<b>Album:</b> {Album}<BR>{/block:Album}
  514. {block:PlayCount}<b>Plays:</b> {PlayCount}<BR>{/block:PlayCount}
  515. </div></div>
  516. <div class="audiocaption">{block:Caption}{Caption}{/block:Caption}</div>
  517. {/block:Audio}
  518.  
  519. <div id="postinfo">{block:Date}Posted <a href="{Permalink}">{TimeAgo}</a>{/block:Date}{block:NoteCount} + <a href="{Permalink}"> {NoteCountWithLabel}</a>{/block:NoteCount}</div>
  520. <div id="tags">{block:HasTags}{block:Tags} #<a href="{TagURL}">{Tag}</a>{/block:Tags}{/block:HasTags}</div>
  521. </div>
  522. {/block:Posts}
  523.  
  524. {block:PostNotes}
  525. {PostNotes}
  526. {/block:PostNotes}
  527. </div>
  528. </div>
  529. </div>
  530. </div>
  531. <div class="gosh"><a href="http://ylissan.tumblr.com" target="_blank">x</a></div>
  532. </body>
  533. </html>
Advertisement
Add Comment
Please, Sign In to add comment