-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (104 loc) · 2.09 KB
/
style.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
115
116
117
:root {
--green: rgb(0, 179, 107);
--blue: rgb(0, 13, 26);
}
* {
box-sizing: border-box;
}
body {
background-color: var(--blue);
font-family: Arial, Helvetica, sans-serif;
}
h1 {
font-size: 40px;
font-weight: bold;
color: white;
text-shadow: -1px 0 var(--green), 0 1px var(--green), 1px 0 var(--green), 0 -1px var(--green);
margin-bottom: 40px;
}
.container {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
flex-direction: column;
width: 80%;
margin: 0 auto;
min-width: 340px;
max-width: 600px;
padding: 10px;
position: relative;
background: rgba( 255, 255, 255, 0.15 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.3 );
backdrop-filter: blur( 3px );
-webkit-backdrop-filter: blur( 3px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.time-container,
.labels {
font-family: 'Lucida Sans', 'Lucida Sans Regular';
color: rgb(116, 187, 158);
font-size: 30px;
display: grid;
grid-template-columns: 90px 90px 90px 90px;
text-align: center;
}
.labels {
font-size: small;
}
.start-time,
.stop-time,
.reset-time {
font-size: 25px;
background-color: var(--green);
color: white;
padding: 10px;
border: 1px solid var(--green);
border-radius: 5px;
cursor: pointer;
margin-right: 5px;
margin-top: 40px;
margin-bottom: 15px;
}
.start-time:hover,
.stop-time:hover,
.reset-time:hover {
background-color: rgba(0, 13, 26, 0.096);
border: 1px solid var(--green);
}
.author-text{
font-size: 15px;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
display: flex;
justify-content: center;
margin-bottom: 20px;
text-align: center;
color: white;
}
/*For reponsiveness on mobile devices*/
@media screen and (max-width: 600px) {
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: 0 auto;
}
.time-container,
.labels {
grid-template-columns: 80px 80px 80px 80px;
}
.start-time,
.stop-time,
.reset-time {
font-size: 18px;
padding: 8px 12px;
}
.author-text {
font-size: 12px;
}
}