camera-warning added

This commit is contained in:
riot 2017-12-10 15:32:49 +01:00
parent 893eded705
commit 24783ec398
3 changed files with 101 additions and 0 deletions

View file

@ -55,6 +55,7 @@ There are also screens available from c-beam:
* [bar status](http://c-flo.cbrp3.c-base.org/bar-status/) * [bar status](http://c-flo.cbrp3.c-base.org/bar-status/)
* [internet traffic](http://c-flo.cbrp3.c-base.org/internet/) * [internet traffic](http://c-flo.cbrp3.c-base.org/internet/)
* [alien alarm](http://c-flo.cbrp3.c-base.org/alien-alarm/) * [alien alarm](http://c-flo.cbrp3.c-base.org/alien-alarm/)
* [camera warning](http://c-flo.cbrp3.c-base.org/camera-warning/)
There are also screens available from c-beam: There are also screens available from c-beam:

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M14 9h-12c-1.104 0-2 .896-2 2v8c0 1.104.896 2 2 2h12c1.104 0 2-.896 2-2v-8c0-1.104-.896-2-2-2zm-1 4h-10v-1h10v1zm-4.757-9h2.757v2h-2.103c-.514 0-1.008.198-1.38.553l-.469.447h-3.048l2.121-2.121c.563-.563 1.326-.879 2.122-.879zm9.817 1c0 1.104-.896 2-2 2h-4.06v-4h4.06c1.104 0 2 .895 2 2zm5.94 5v10l-6-3v-4l6-3z"/></svg>

After

Width:  |  Height:  |  Size: 410 B

99
camera-warning/index.html Normal file
View file

@ -0,0 +1,99 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>c-base alien alarm</title>
<link rel="stylesheet" href="../theme/c-base.css">
<style>
body {
background-color: hsl(0, 98%, 46%);
animation: color 0.6s infinite linear alternate;
}
h1 {
text-align: center;
font-size: 15vmin;
margin-top: 10vmin;
white-space: nowrap;
width: 100vw;
overflow: hidden;
color: black;
text-transform: lowercase;
line-height: 17vmin;
}
h2 {
text-align: center;
font-size: 5vmin;
margin-top: 0vmin;
white-space: nowrap;
width: 100vw;
overflow: hidden;
color: black;
text-transform: lowercase;
line-height: 6vmin;
}
img {
position: absolute;
left: 35vw;
top: 50vh;
width: 30vw;
animation: moveleftright 3s infinite linear alternate,
moveupdown 1.6s infinite ease-in-out alternate,
flip 1.6s infinite ease-in-out alternate;
}
@keyframes moveleftright {
from {
left: 10vw;
}
to {
left: 60vw;
}
}
@keyframes moveupdown {
0%, 30% {
top: 50vh;
transform: scaleY(1)
}
40% {
top: 25vh;
transform: scaleY(-1)
}
50%, 100% {
top: 50vh;
transform: scaleY(1)
}
}
@keyframes flip {
0%, 35% {
transform: scaleY(1)
}
40% {
transform: scaleY(-1)
}
45%, 100% {
transform: scaleY(1)
}
}
@keyframes color {
0%, 20% {
background-color: hsl(35, 98%, 46%);
}
80%, 100% {
background-color: hsl(0, 98%, 46%);
}
}
@keyframes size {
from {
font-size: 10vmin;
}
to {
font-size: 16vmin;
}
}
</style>
</head>
<body>
<h1>Video Recording</h1>
<h2>There is video recording in the mainhall!</h2>
<img src="camera.svg">
</body>
</html>