-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
106 lines (96 loc) · 1.95 KB
/
styles.css
File metadata and controls
106 lines (96 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
body {
background-color:#000;
margin:0;
overflow:hidden;
padding:0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.screen {
animation:colorPulse 5s infinite ease-in-out;
background-image:radial-gradient(#444, #111);
box-shadow:0 0 5vmin 1vmin #000 inset;
box-sizing:border-box;
font-family:'Fira Mono', monospace;
font-size:20px;
height:100vh;
overflow:hidden;
padding:10vmin;
width:100vw;
}
.screen:before {
animation:wave 10s infinite ease-in-out;
content:"";
height:20vh;
left:0;
opacity:.5;
position:absolute;
right:0;
z-index:1;
}
.screen:after {
background-image:linear-gradient(transparent, transparent 3px, #222);
background-size:4px 4px;
bottom:0;
content:"";
left:0;
pointer-events:none;
position:absolute;
right:0;
top:0;
z-index:2;
}
p:last-child:after {
animation:blink 1s infinite;
content:"_";
}
@keyframes colorPulse {
0%, 100% {
color:#0c0;
}
48%, 52% {
color:#090;
}
50% {
color:#060;
}
}
@keyframes wave {
0% {
box-shadow:0 -10vh 20vh #0c0;
top:-100vh;
}
48%, 52% {
box-shadow:0 -10vh 20vh #090;
}
50% {
box-shadow:0 -10vh 20vh #060;
}
100% {
box-shadow:0 -10vh 20vh #0c0;
top:200vh;
}
}
@keyframes blink {
50% {
opacity:0;
}
}
/* Ingrandisce e centra il div del conto alla rovescia */
#countdownDiv {
font-size: calc(10vw + 10vh);
color: #333;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center; /* Centra il testo all'interno del div */
/* Aggiunta per centrare il contenuto verticalmente */
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}