This is a simple greeter for lightdm-webkit2, with a countdown to the next Chaos Communication Congress.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
3.3 KiB

<!doctype html>
<script src="../_vendor/js/jquery.min.js"></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>C3 Counter</title>
<meta name="description" content="An image crossfade animation done with CSS3">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/style2.css">
<link rel="stylesheet" href="css/demo2.css">
<link rel="stylesheet" href="css/font.css">
var countDownDate = new Date("dec 28, 2020 00:00:01").getTime();
var x = setInterval(function() {
var now = new Date().getTime();
var distance = countDownDate - now;
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
document.getElementById("demo").innerHTML = "there are only " + ("<br>") + days + " days left" + ("<br>") + " until 37C3";
if (distance < 0) {
document.getElementById("demo").innerHTML = "It's Congress";
}, 1000);
<style type="text/css">
body {
<script src="src/jquerz.min.js"></script>
<script type="text/javascript">
$(function() {
$('.fadein img:gt(0)').hide();
setInterval(function () {
$('.fadein :first-child').fadeOut(2000)
}, 6000); // 4 seconds
p {
text-align: center;
font-size: 60px;
margin-top: 0px;
color: #fff;
position: relative;
z-index: 99;
text-transform: uppercase;
font-weight: bold;
font-family: sans-serif;
text-align: left;
padding-top: 25px;
padding-left: 25px;
font-size: 7em;
line-height: 0.8;
font-weight: 900;
font-family: 'c3';
<input type="text" id="input" placeholder="user" name="input">
<script src="main.js"></script>
<p id="demo"></p>
<div class="fadein" >
<img src="img/01.jpg">
<img src="img/02.jpg">
<img src="img/03.jpg">
<img src="img/04.jpg">
<img src="img/05.jpg">
<img src="img/06.jpg">
<img src="img/07.jpg">
<img src="img/08.jpg">
<img src="img/09.jpg">
<img src="img/10.jpg">
<img src="img/11.jpg">
<img src="img/12.jpg">
<img src="img/13.jpg">
<img src="img/14.jpg">
<img src="img/15.jpg">
<img src="img/16.jpg">
<img src="img/17.jpg">
<img src="img/18.jpg">
<img src="img/19.jpg">
<img src="img/20.jpg">
<img src="img/21.jpg">
<img src="img/22.jpg">
<img src="img/23.jpg">
<img src="img/24.jpg">
<img src="img/25.jpg">
<img src="img/26.jpg">
<img src="img/27.jpg">
<img src="img/28.jpg">
<img src="img/29.jpg">
<img src="img/30.jpg">
<img src="img/31.jpg">
<img src="img/32.jpg">
<img src="img/33.jpg">
<img src="img/34.jpg">
<img src="img/35.jpg">
<img src="img/36.jpg">
<img src="img/37.jpg">
<img src="img/38.jpg">