91 lines
1.7 KiB
CSS
91 lines
1.7 KiB
CSS
/* 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;
|
|
}
|
|
|
|
body, html {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
}
|
|
|
|
.clock {
|
|
width: 800px;
|
|
margin: 0 auto;
|
|
padding: 30px;
|
|
color: #fff;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
overflow: hidden;
|
|
z-index: 10;
|
|
opacity: 0;
|
|
animation-name: show;
|
|
animation-delay: 3s;
|
|
animation-duration: 3s;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
#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;
|
|
animation: mymove 1s ease infinite;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
/* Simple Animation */
|
|
@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;
|
|
}
|
|
}
|
|
|
|
@keyframes show {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
}
|