no message
This commit is contained in:
		
						commit
						ad21f5a5af
					
				
					 7 changed files with 1903 additions and 0 deletions
				
			
		
							
								
								
									
										91
									
								
								css/clock.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										91
									
								
								css/clock.css
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,91 @@
 | 
				
			||||||
 | 
					/* If you want you can use font-face */
 | 
				
			||||||
 | 
					@font-face {
 | 
				
			||||||
 | 
					    font-family: 'BebasNeueRegular';
 | 
				
			||||||
 | 
					    src: url('BebasNeue-webfont.eot');
 | 
				
			||||||
 | 
					    src: url('BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
 | 
				
			||||||
 | 
					         url('BebasNeue-webfont.woff') format('woff'),
 | 
				
			||||||
 | 
					         url('BebasNeue-webfont.ttf') format('truetype'),
 | 
				
			||||||
 | 
					         url('BebasNeue-webfont.svg#BebasNeueRegular') format('svg');
 | 
				
			||||||
 | 
					    font-weight: normal;
 | 
				
			||||||
 | 
					    font-style: normal;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.container {
 | 
				
			||||||
 | 
					    width: 960px;
 | 
				
			||||||
 | 
					    margin: 0 auto;
 | 
				
			||||||
 | 
					    overflow: hidden;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.clock {
 | 
				
			||||||
 | 
					    width: 800px;
 | 
				
			||||||
 | 
					    margin: 0 auto;
 | 
				
			||||||
 | 
					    padding: 30px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    color: #fff;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#Date {
 | 
				
			||||||
 | 
					    font-family: 'BebasNeueRegular', Arial, Helvetica, sans-serif;
 | 
				
			||||||
 | 
					    font-size: 36px;
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					    text-shadow: 0 0 5px #00c6ff;
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ul {
 | 
				
			||||||
 | 
					    width: 800px;
 | 
				
			||||||
 | 
					    margin: 0 auto;
 | 
				
			||||||
 | 
					    padding: 0px;
 | 
				
			||||||
 | 
					    list-style: none;
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ul li {
 | 
				
			||||||
 | 
					    display: inline;
 | 
				
			||||||
 | 
					    font-size: 10em;
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					    font-family: 'BebasNeueRegular', Arial, Helvetica, sans-serif;
 | 
				
			||||||
 | 
					    text-shadow: 0 0 5px #00c6ff;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#point {
 | 
				
			||||||
 | 
					    position: relative;
 | 
				
			||||||
 | 
					    -moz-animation: mymove 1s ease infinite;
 | 
				
			||||||
 | 
					    -webkit-animation: mymove 1s ease infinite;
 | 
				
			||||||
 | 
					    padding-left: 10px;
 | 
				
			||||||
 | 
					    padding-right: 10px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Simple Animation */
 | 
				
			||||||
 | 
					@-webkit-keyframes mymove {
 | 
				
			||||||
 | 
					    0% {opacity: 1.0;
 | 
				
			||||||
 | 
					    text-shadow: 0 0 20px #00c6ff;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					50% {
 | 
				
			||||||
 | 
					    opacity: 0;
 | 
				
			||||||
 | 
					    text-shadow: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					100% {
 | 
				
			||||||
 | 
					    opacity: 1.0;
 | 
				
			||||||
 | 
					    text-shadow: 0 0 20px #00c6ff;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@-moz-keyframes mymove {
 | 
				
			||||||
 | 
					    0% {
 | 
				
			||||||
 | 
					        opacity: 1.0;
 | 
				
			||||||
 | 
					        text-shadow: 0 0 20px #00c6ff;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    50% {
 | 
				
			||||||
 | 
					        opacity: 0;
 | 
				
			||||||
 | 
					        text-shadow: none;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    100% {
 | 
				
			||||||
 | 
					        opacity: 1.0;
 | 
				
			||||||
 | 
					        text-shadow: 0 0 20px #00c6ff;
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										70
									
								
								css/style.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								css/style.css
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,70 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
 | 
				
			||||||
 | 
					body{line-height:1}
 | 
				
			||||||
 | 
					article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
 | 
				
			||||||
 | 
					nav ul{list-style:none}
 | 
				
			||||||
 | 
					blockquote,q{quotes:none}
 | 
				
			||||||
 | 
					blockquote:before,blockquote:after,q:before,q:after{content:none}
 | 
				
			||||||
 | 
					a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration:none}
 | 
				
			||||||
 | 
					mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
 | 
				
			||||||
 | 
					del{text-decoration:line-through}
 | 
				
			||||||
 | 
					abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
 | 
				
			||||||
 | 
					table{border-collapse:collapse;border-spacing:0}
 | 
				
			||||||
 | 
					hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
 | 
				
			||||||
 | 
					input,select{vertical-align:middle}
 | 
				
			||||||
 | 
					li{list-style:none}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* ---- base ---- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					html,body{
 | 
				
			||||||
 | 
						width:100%;
 | 
				
			||||||
 | 
						height:100%;
 | 
				
			||||||
 | 
						background:#111;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					html{
 | 
				
			||||||
 | 
					  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body{
 | 
				
			||||||
 | 
					  font:normal 75% Arial, Helvetica, sans-serif;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					canvas{
 | 
				
			||||||
 | 
					  display:block;
 | 
				
			||||||
 | 
					  vertical-align:bottom;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* ---- particles.js container ---- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#particles-js{
 | 
				
			||||||
 | 
					  width: 100%;
 | 
				
			||||||
 | 
					  height: 100%;
 | 
				
			||||||
 | 
					  background-color: #000000;
 | 
				
			||||||
 | 
					  background-image: url('');
 | 
				
			||||||
 | 
					  background-size: cover;
 | 
				
			||||||
 | 
					  background-position: 50% 50%;
 | 
				
			||||||
 | 
					  background-repeat: no-repeat;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.cliff{
 | 
				
			||||||
 | 
							position: absolute;
 | 
				
			||||||
 | 
							margin: auto;
 | 
				
			||||||
 | 
							top: 0;
 | 
				
			||||||
 | 
							right: 0;
 | 
				
			||||||
 | 
							bottom: 0;
 | 
				
			||||||
 | 
							left: 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								height: 30%;
 | 
				
			||||||
 | 
						    width: 50%;
 | 
				
			||||||
 | 
						  
 | 
				
			||||||
 | 
								display:none
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										48
									
								
								index.php
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								index.php
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,48 @@
 | 
				
			||||||
 | 
					<!DOCTYPE html>
 | 
				
			||||||
 | 
					<html lang="de">
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					  <meta charset="utf-8">
 | 
				
			||||||
 | 
					  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
 | 
				
			||||||
 | 
					  <link rel="stylesheet" media="screen" href="css/style.css">
 | 
				
			||||||
 | 
					  <link rel="stylesheet" media="screen" href="css/clock.css">
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<script src="plugins/jquery-3.2.1.min.js"></script>
 | 
				
			||||||
 | 
					<script>
 | 
				
			||||||
 | 
					$(document).ready(function(){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        $("#div1").fadeIn(3000);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					</script>
 | 
				
			||||||
 | 
					<script src="plugins/clock.js"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<div id="particles-js">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<div id="div1" class="cliff">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <div class="clock">
 | 
				
			||||||
 | 
					  <div id="Date"></div>
 | 
				
			||||||
 | 
					    <ul>
 | 
				
			||||||
 | 
					        <li id="hours"></li>
 | 
				
			||||||
 | 
					        <li id="point">:</li>
 | 
				
			||||||
 | 
					        <li id="min"></li>
 | 
				
			||||||
 | 
					        <li id="point">:</li>
 | 
				
			||||||
 | 
					        <li id="sec"></li>
 | 
				
			||||||
 | 
					    </ul>
 | 
				
			||||||
 | 
					  </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</div><br>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</div>
 | 
				
			||||||
 | 
					<script src="particles.js"></script>
 | 
				
			||||||
 | 
					<script src="load.js"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
							
								
								
									
										115
									
								
								load.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										115
									
								
								load.js
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,115 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					particlesJS('particles-js',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					"particles": {
 | 
				
			||||||
 | 
					  "number": {
 | 
				
			||||||
 | 
					    "value": 80,
 | 
				
			||||||
 | 
					    "density": {
 | 
				
			||||||
 | 
					      "enable": true,
 | 
				
			||||||
 | 
					      "value_area": 800
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "color": {
 | 
				
			||||||
 | 
					    "value": "#ffffff"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "shape": {
 | 
				
			||||||
 | 
					    "type": "circle",
 | 
				
			||||||
 | 
					    "stroke": {
 | 
				
			||||||
 | 
					      "width": 0,
 | 
				
			||||||
 | 
					      "color": "#000000"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "polygon": {
 | 
				
			||||||
 | 
					      "nb_sides": 5
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "image": {
 | 
				
			||||||
 | 
					      "src": "img/github.svg",
 | 
				
			||||||
 | 
					      "width": 100,
 | 
				
			||||||
 | 
					      "height": 100
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "opacity": {
 | 
				
			||||||
 | 
					    "value": 0.5,
 | 
				
			||||||
 | 
					    "random": false,
 | 
				
			||||||
 | 
					    "anim": {
 | 
				
			||||||
 | 
					      "enable": false,
 | 
				
			||||||
 | 
					      "speed": 1,
 | 
				
			||||||
 | 
					      "opacity_min": 0.1,
 | 
				
			||||||
 | 
					      "sync": false
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "size": {
 | 
				
			||||||
 | 
					    "value": 3,
 | 
				
			||||||
 | 
					    "random": true,
 | 
				
			||||||
 | 
					    "anim": {
 | 
				
			||||||
 | 
					      "enable": false,
 | 
				
			||||||
 | 
					      "speed": 40,
 | 
				
			||||||
 | 
					      "size_min": 0.1,
 | 
				
			||||||
 | 
					      "sync": false
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "line_linked": {
 | 
				
			||||||
 | 
					    "enable": true,
 | 
				
			||||||
 | 
					    "distance": 150,
 | 
				
			||||||
 | 
					    "color": "#ffffff",
 | 
				
			||||||
 | 
					    "opacity": 0.4,
 | 
				
			||||||
 | 
					    "width": 1
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "move": {
 | 
				
			||||||
 | 
					    "enable": true,
 | 
				
			||||||
 | 
					    "speed": 7.8914764163227265,
 | 
				
			||||||
 | 
					    "direction": "none",
 | 
				
			||||||
 | 
					    "random": true,
 | 
				
			||||||
 | 
					    "straight": false,
 | 
				
			||||||
 | 
					    "out_mode": "out",
 | 
				
			||||||
 | 
					    "bounce": false,
 | 
				
			||||||
 | 
					    "attract": {
 | 
				
			||||||
 | 
					      "enable": false,
 | 
				
			||||||
 | 
					      "rotateX": 600,
 | 
				
			||||||
 | 
					      "rotateY": 1200
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					},
 | 
				
			||||||
 | 
					"interactivity": {
 | 
				
			||||||
 | 
					  "detect_on": "canvas",
 | 
				
			||||||
 | 
					  "events": {
 | 
				
			||||||
 | 
					    "onhover": {
 | 
				
			||||||
 | 
					      "enable": true,
 | 
				
			||||||
 | 
					      "mode": "grab"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "onclick": {
 | 
				
			||||||
 | 
					      "enable": true,
 | 
				
			||||||
 | 
					      "mode": "push"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "resize": true
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "modes": {
 | 
				
			||||||
 | 
					    "grab": {
 | 
				
			||||||
 | 
					      "distance": 400,
 | 
				
			||||||
 | 
					      "line_linked": {
 | 
				
			||||||
 | 
					        "opacity": 1
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "bubble": {
 | 
				
			||||||
 | 
					      "distance": 400,
 | 
				
			||||||
 | 
					      "size": 40,
 | 
				
			||||||
 | 
					      "duration": 2,
 | 
				
			||||||
 | 
					      "opacity": 8,
 | 
				
			||||||
 | 
					      "speed": 3
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "repulse": {
 | 
				
			||||||
 | 
					      "distance": 200,
 | 
				
			||||||
 | 
					      "duration": 0.4
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "push": {
 | 
				
			||||||
 | 
					      "particles_nb": 4
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "remove": {
 | 
				
			||||||
 | 
					      "particles_nb": 2
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					},
 | 
				
			||||||
 | 
					"retina_detect": true
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					);
 | 
				
			||||||
							
								
								
									
										1541
									
								
								particles.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1541
									
								
								particles.js
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
							
								
								
									
										34
									
								
								plugins/clock.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								plugins/clock.js
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,34 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(document).ready(function() {
 | 
				
			||||||
 | 
					// Create two variable with the names of the months and days in an array
 | 
				
			||||||
 | 
					var monthNames = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ];
 | 
				
			||||||
 | 
					var dayNames= ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Create a newDate() object
 | 
				
			||||||
 | 
					var newDate = new Date();
 | 
				
			||||||
 | 
					// Extract the current date from Date object
 | 
				
			||||||
 | 
					newDate.setDate(newDate.getDate());
 | 
				
			||||||
 | 
					// Output the day, date, month and year
 | 
				
			||||||
 | 
					$('#Date').html(dayNames[newDate.getDay()] + " " + newDate.getDate() + ' ' + monthNames[newDate.getMonth()] + ' ' + newDate.getFullYear());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					setInterval( function() {
 | 
				
			||||||
 | 
						// Create a newDate() object and extract the seconds of the current time on the visitor's
 | 
				
			||||||
 | 
						var seconds = new Date().getSeconds();
 | 
				
			||||||
 | 
						// Add a leading zero to seconds value
 | 
				
			||||||
 | 
						$("#sec").html(( seconds < 10 ? "0" : "" ) + seconds);
 | 
				
			||||||
 | 
						},1000);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					setInterval( function() {
 | 
				
			||||||
 | 
						// Create a newDate() object and extract the minutes of the current time on the visitor's
 | 
				
			||||||
 | 
						var minutes = new Date().getMinutes();
 | 
				
			||||||
 | 
						// Add a leading zero to the minutes value
 | 
				
			||||||
 | 
						$("#min").html(( minutes < 10 ? "0" : "" ) + minutes);
 | 
				
			||||||
 | 
					    },1000);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					setInterval( function() {
 | 
				
			||||||
 | 
						// Create a newDate() object and extract the hours of the current time on the visitor's
 | 
				
			||||||
 | 
						var hours = new Date().getHours();
 | 
				
			||||||
 | 
						// Add a leading zero to the hours value
 | 
				
			||||||
 | 
						$("#hours").html(( hours < 10 ? "0" : "" ) + hours);
 | 
				
			||||||
 | 
					    }, 1000);
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
							
								
								
									
										4
									
								
								plugins/jquery-3.2.1.min.js
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								plugins/jquery-3.2.1.min.js
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	Add table
		
		Reference in a new issue