add fade effect, hover and more content (cmd)
This commit is contained in:
parent
5ce16cfd41
commit
2b9a68fe92
4 changed files with 82 additions and 6 deletions
BIN
assets/images/ts3.png
Normal file
BIN
assets/images/ts3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
52
assets/style/fade.css
Normal file
52
assets/style/fade.css
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
|
||||||
|
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
|
||||||
|
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
|
||||||
|
|
||||||
|
:root{
|
||||||
|
--ofset-time-cb: 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in {
|
||||||
|
opacity:0;
|
||||||
|
-webkit-animation:fadeIn ease-in 1;
|
||||||
|
-moz-animation:fadeIn ease-in 1;
|
||||||
|
animation:fadeIn ease-in 1;
|
||||||
|
|
||||||
|
-webkit-animation-fill-mode:forwards;
|
||||||
|
-moz-animation-fill-mode:forwards;
|
||||||
|
animation-fill-mode:forwards;
|
||||||
|
|
||||||
|
-webkit-animation-duration:1s;
|
||||||
|
-moz-animation-duration:1s;
|
||||||
|
animation-duration:1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in.zero {
|
||||||
|
-webkit-animation-delay: var(--ofset-time-cb);
|
||||||
|
-moz-animation-delay: var(--ofset-time-cb);
|
||||||
|
animation-delay: var(--ofset-time-cb);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in.one {
|
||||||
|
-webkit-animation-delay: 0.7s;
|
||||||
|
-moz-animation-delay: 0.7s;
|
||||||
|
animation-delay: 0.7s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in.two {
|
||||||
|
-webkit-animation-delay: 1.2s;
|
||||||
|
-moz-animation-delay:1.2s;
|
||||||
|
animation-delay: 1.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in.three {
|
||||||
|
-webkit-animation-delay: 1.6s;
|
||||||
|
-moz-animation-delay: 1.6s;
|
||||||
|
animation-delay: 1.6s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in.four {
|
||||||
|
-webkit-animation-delay: 2.1s;
|
||||||
|
-moz-animation-delay: 2.1s;
|
||||||
|
animation-delay: 2.1s;
|
||||||
|
}
|
|
@ -1,3 +1,10 @@
|
||||||
body{
|
body{
|
||||||
background-color: black;
|
background-color: black;
|
||||||
|
}
|
||||||
|
.cmd-container{
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
|
||||||
|
display: block;
|
||||||
|
color: white;
|
||||||
}
|
}
|
29
index.html
29
index.html
|
@ -1,25 +1,42 @@
|
||||||
<link rel="stylesheet" type="text/css" href="assets/style/glitch.css">
|
<link rel="stylesheet" type="text/css" href="assets/style/glitch.css">
|
||||||
<link rel="stylesheet" type="text/css" href="assets/style/style.css">
|
<link rel="stylesheet" type="text/css" href="assets/style/style.css">
|
||||||
<link rel="stylesheet" type="text/css" href="assets/style/sphere.css">
|
<link rel="stylesheet" type="text/css" href="assets/style/sphere.css">
|
||||||
|
<link rel="stylesheet" type="text/css" href="assets/style/fade.css">
|
||||||
|
|
||||||
<div class="headline">
|
<head>
|
||||||
|
<title>Cliffbreak.de</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="headline fade-in zero">
|
||||||
<div class="glitch-wrapper">
|
<div class="glitch-wrapper">
|
||||||
<div class="glitch" data-text="Cliffbreak">Cliffbreak</div>
|
<div class="glitch" data-text="Cliffbreak">Cliffbreak</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="sphere-wrapper">
|
<div class="sphere-wrapper">
|
||||||
<sphere onclick="href('http://git.cliffbreak.de');">
|
<sphere class="fade-in one" onclick="href('http://git.cliffbreak.de');">
|
||||||
<div class="sphere-content-warapper">
|
<div class="sphere-content-warapper">
|
||||||
<img src="https://git.cliffbreak.de/img/gitea-lg.png" alt="gitEa">
|
<img src="https://git.cliffbreak.de/img/gitea-lg.png" alt="gitEa">
|
||||||
</div>
|
</div>
|
||||||
</sphere>
|
</sphere>
|
||||||
<sphere>
|
<sphere class="fade-in two" onclick="href('https://ts.cliffbreak.de/')">
|
||||||
<div class="sphere-content-warapper">
|
<div class="sphere-content-warapper">
|
||||||
|
<img src="assets/images/ts3.png" alt="ts3">
|
||||||
</div>
|
</div>
|
||||||
</sphere>
|
</sphere>
|
||||||
<sphere></sphere>
|
<sphere class="fade-in three">
|
||||||
<sphere></sphere>
|
<div class="sphere-wrapper">
|
||||||
|
<img src="https://cloud.cliffbreak.de/apps/theming/image/logo?useSvg=1&v=4">
|
||||||
|
</div>
|
||||||
|
</sphere>
|
||||||
|
<!-- <sphere class="fade-in four"></sphere> -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="cmd-container">
|
||||||
|
<a class="fade-in zero">init cliffbreak..</a>
|
||||||
|
<a class="fade-in one">loading content..</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in a new issue