-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
114 lines (101 loc) · 1.97 KB
/
styles.css
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
107
108
109
110
111
112
113
114
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
@font-face {
font-family: "bebas";
src: url('./fonts/bebasneue-book-webfont.woff') format('woff'),
url('./fonts/bebasneue-book-webfont.woff2') format('woff2');
}
body {
align-items: center;
background: #2B2A30;
display: flex;
justify-content: center;
margin: 0;
min-height: 100vh;
min-width: 100vw;
padding: 0;
}
/* outer glow */
.wrapper {
align-items: center;
border-radius: 50%;
box-shadow: -5px 14px 44px #000000, 5px -16px 50px rgba(255, 255, 255, 0.15);
display: flex;
height: 518px;
justify-content: center;
position: relative;
width: 518px;
}
.ring {
position: absolute;
left: 0;
stroke: #09A65A;
top: 0;
z-index: 1;
}
.ring.ending circle {
stroke: #900A0A;
}
/* inner circle */
.timer {
align-items: center;
background: radial-gradient(71.4% 71.4% at 51.7% 28.6%, #3A393F 0%, #17171A 100%);
border-radius: 50%;
box-shadow: inset 0px 0px 114px rgba(0, 0, 0, 0.45);
color: white;
display: flex;
flex-direction: column;
height: 500px;
justify-content: center;
position: relative;
width: 500px;
z-index: 2;
}
/* actual time */
.time {
display: flex;
font-family: "bebas";
font-size: 196px;
margin: 30px auto;
position: relative;
top: 30px;
}
input[type="text"] {
border: 0;
border-bottom: 1px dashed white;
background: none;
color: white;
font-family: "bebas";
font-size: 196px;
height: 170px;
width: 150px;
text-align: center;
outline: none;
}
input[type=text]:disabled {
border-bottom: none;
}
.start {
cursor: pointer;
font-family: 'Montserrat', sans-serif;
font-size: 16px;
letter-spacing: 10px;
line-height: 20px;
background: none;
color: white;
opacity: .5;
border: none;
text-transform: uppercase;
margin-bottom: 20px;
}
.start:hover {
opacity: 1;
}
.settings {
border: none;
background: none;
cursor: pointer;
opacity: 0.3;
}
.settings:hover {
opacity: 1;
}