Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <link rel="stylesheet" href="css/normalize.css" media="all">
- <link rel="stylesheet" href="css/style.css" media="all">
- <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,900,300italic,400italic,700italic,900italic|Raleway:400,200,300,500,700,600,800,900' rel='stylesheet' type='text/css'>
- <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
- <script src="js/jquery-1.11.1.min.js"></script>
- <script src="js/device.min.js"></script>
- <script src="js/jquery.mb.YTPlayer.js"></script>
- <script src="js/custom.js"></script>
- <meta name="robots" content="noindex,follow" />
- </head>
- <body>
- <section class="big-background">
- <section id="videos">
- <video preload="none" controls>
- <source type="video/mp4" src="http://capra.bplaced.net//video/background.mp4">
- </section>
- <script>
- (function () {
- "use strict";
- var videosSection = document.getElementById("videos");
- var videosSectionClone = videosSection.cloneNode();
- var videos = videosSection.getElementsByTagName("video");
- var randomVideo = videos.item(Math.floor(Math.random() * videos.length)).cloneNode(true);
- randomVideo.removeAttribute("controls");
- randomVideo.setAttribute("preload", "auto");
- videosSectionClone.appendChild(randomVideo);
- videosSection.parentNode.replaceChild(videosSectionClone, videosSection);
- randomVideo.play();
- })();
- </script>
- <script language="JavaScript">
- document.onkeypress = function (event) {
- event = (event || window.event);
- if (event.keyCode == 123) {
- //alert('No F-12');
- return false;
- }
- }
- document.onmousedown = function (event) {
- event = (event || window.event);
- if (event.keyCode == 123) {
- //alert('No F-keys');
- return false;
- }
- }
- document.onkeydown = function (event) {
- event = (event || window.event);
- if (event.keyCode == 123) {
- //alert('No F-keys');
- return false;
- }
- }
- </script>
- <script type="text/javascript">
- function toSpans(span) {
- var str = span.firstChild.data;
- var a = str.length;
- span.removeChild(span.firstChild);
- for (var i = 0; i < a; i++) {
- var theSpan = document.createElement("SPAN");
- theSpan.appendChild(document.createTextNode(str.charAt(i)));
- span.appendChild(theSpan);
- }
- }
- function RainbowSpan(span, hue, deg, brt, spd, hspd) {
- this.deg = (deg == null ? 360 : Math.abs(deg));
- this.hue = (hue == null ? 0 : Math.abs(hue) % 360);
- this.hspd = (hspd == null ? 3 : Math.abs(hspd) % 360);
- this.length = span.firstChild.data.length;
- this.span = span;
- this.speed = (spd == null ? 50 : Math.abs(spd));
- this.hInc = this.deg / this.length;
- this.brt = (brt == null ? 255 : Math.abs(brt) % 256);
- this.timer = null;
- toSpans(span);
- this.moveRainbow();
- }
- RainbowSpan.prototype.moveRainbow = function () {
- if (this.hue > 359) this.hue -= 360;
- var color;
- var b = this.brt;
- var a = this.length;
- var h = this.hue;
- for (var i = 0; i < a; i++) {
- if (h > 359) h -= 360;
- if (h < 60) {
- color = Math.floor(((h) / 60) * b);
- red = b;
- grn = color;
- blu = 0;
- } else if (h < 120) {
- color = Math.floor(((h - 60) / 60) * b);
- red = b - color;
- grn = b;
- blu = 0;
- } else if (h < 180) {
- color = Math.floor(((h - 120) / 60) * b);
- red = 0;
- grn = b;
- blu = color;
- } else if (h < 240) {
- color = Math.floor(((h - 180) / 60) * b);
- red = 0;
- grn = b - color;
- blu = b;
- } else if (h < 300) {
- color = Math.floor(((h - 240) / 60) * b);
- red = color;
- grn = 0;
- blu = b;
- } else {
- color = Math.floor(((h - 300) / 60) * b);
- red = b;
- grn = 0;
- blu = b - color;
- }
- h += this.hInc;
- this.span.childNodes[i].style.color = "rgb(" + red + ", " + grn + ", " + blu + ")";
- }
- this.hue += this.hspd;
- }
- </script>
- <div class="pattern"></div>
- <div class="big-background-container">
- <h1 class="big-background-title">Svetislav</h1>
- <div class="divider"></div>
- <h1 id="colorize"></h1>
- <header id="header">
- <p class="small-background-title">server hoster • developer</p>
- <font color="white">
- <div id="socials">
- <br>
- <a href="https://steamcommunity.com/id/capracs/" target=_blank"><img src="http://capra.bplaced.net/files/ssteam.png" style="margin: 0; padding: 0;width: 40px;" alt="Steam"></a>
- <a href="callto://gov.capra" target=_blank"><img src="http://capra.bplaced.net/files/skype.png" style="margin: 0; padding: 0;width: 40px;" alt="Skype"></a>
- <a href="https://high-minded.net/members/ch3pra.24898/" target=_blank"><img src="http://capra.bplaced.net/files/High.png" style="margin: 0; padding: 0;width: 40px;"/ alt="HighMinded"></a>
- <a href="ts3server://ts.caprahosting.eu" target=_blank"><img src="http://capra.bplaced.net/files/TS.png" style="margin: 0; padding: 0;width: 40px;"/ alt="Teamspeak3"></a>
- </div>
- </header>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement