-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
134 lines (127 loc) · 2.21 KB
/
style.css
File metadata and controls
134 lines (127 loc) · 2.21 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
@import url('https://fonts.googleapis.com/css?family=VT323');
.app{
font-family: 'VT323', monospace;
position:relative;
margin:20px auto;
width:300px;
}
.stopwatch{
width:300px;
height:300px;
border-radius:50%;
background-color:#111;
box-shadow: 3px 3px 20px rgba(10,10,90,.75);
}
.btn{
width:26px;
height:10px;
position:absolute;
text-align:center;
color:white;
line-height:46px;
font-size:11px;
font-family:Arial, sans-serif;
cursor:pointer;
}
.btntop{
width:26px;
height:10px;
background-color:#111;
margin-left:0px;
margin-top:-10px;
}
.stem{
position:relative;
width:20px;
height:12px;
margin:0px auto;
background-color:#111;
}
.startstop{
left:243px;
top:30px;
transform:rotate(43deg);
}
.time{
left:280px;
top:204px;
transform:rotate(112deg)
}
.reset{
left:32px;
top:30px;
transform:rotate(-43deg);
}
.label{
position:fixed;
top:0px;
}
.label-reset{
margin-left:-5px;
}
.label-startstop{
margin-left:-12px;
}
.label-time{
width:100px;
margin-left:-35px
}
.screen{
width:250px;
height:250px;
border-radius:50%;
background-color:#9b9;
position:absolute;
top:25px;
left:25px;
box-shadow: inset 0px 0px 20px;
overflow:hidden;
}
.timer{
font-size:56px;
text-align:center;
position:relative;
overflow:hidden;
text-shadow: 0px 0px 6px rgba(0,0,0,.25);
}
.clockface{
width:51px;
height:51px;
border-radius: 50%;
border:1px solid black;
margin:20px auto 0px auto;
box-sizing: border-box;
position: relative;
}
.clockface .hand{
width: 1px;
height:20px;
background-color: #111;
position: relative;
left:24px;
top:6px;
transform-origin: 50% 100%;
transform: rotate(0deg);
box-shadow: 0px 0px 6px rgba(0,0,0,.75);
}
.times{
box-sizing: border-box;
margin:0px auto;
border:1px solid #111;
width:140px;
height:80px;
font-size: 9px;
overflow: auto;
padding:5px 15px;
}
/* SCROLLBARS TAKEN FROM CSS-TRICKS.COM */
.times::-webkit-scrollbar {
width: 1em;
}
.times::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
.times::-webkit-scrollbar-thumb {
background-color: #111;
outline: 1px solid slategrey;
}