-
Notifications
You must be signed in to change notification settings - Fork 0
/
stopwatch.css
91 lines (85 loc) · 1.83 KB
/
stopwatch.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
@font-face {
font-family: 'BPdotsUnicase';
src: url('./font/BPdotsUnicase-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
background: #333;
color: white;
text-transform: uppercase;
font-family: 'BPdotsUnicase';
}
body {
display:flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#container {
width: 480px;
border:2px solid rgb(255, 255, 255);
display:flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
border: 4px solid;
padding: 30px;
gap: 20px;
background: #333;
/* border-radius: 40px; */
box-shadow: 0 0 25px #111;
/* box-shadow: 5px 5px 15px 2px rgb(255, 255, 255), 5px 5px 15px 2px rgb(255, 255, 255); */
border-image: linear-gradient(45deg,#333, dodgerblue, #333, dodgerblue) 1;
}
#buttons {
display:flex;
gap:5px;
}
button {
padding: 5px 18px 5px 18px;
/* border:3px solid rgb(240, 240, 240); */
border: 3px solid #333;
box-shadow: 0 0 8px #111;
border-radius: 4px;
font-weight: bold;
font-size: 16px;
cursor: pointer;
}
#output {
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-size: 70px;
}
button:hover {
background: rgb(58, 58, 58);
}
h1 {
text-shadow: 0 0 5px #111;
}
#headline {
box-shadow: 0 0 25px #111;
padding: 5px 20px 13px 20px;
border-radius: 25% 25% 8% 8%;
background: rgb(56, 56, 56);
}
#headline2 {
box-shadow: 0 0 20px #111;
padding: 5px 20px 13px 20px;
border-radius: 8% 8% 25% 25%;
background: rgb(56, 56, 56);
}
@media screen and (max-width: 500px){
#container {
width: 95%;
}
#output {
font-size: 54px;
}
}