-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
86 lines (76 loc) · 1.58 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
body {
background-image: linear-gradient(to bottom right, #4b6cb7, #182848);
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
width: auto;
height: auto;
}
.container {
padding: 200px;
padding-left: 0;
padding-right: 0;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
}
.center {
width: 500px;
height: 500px;
margin: 0 auto;
background-color: white;
padding: 20px;
border-radius: 10px;
border: 2px solid #ddd;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
h1 {
margin-top: 0;
}
form {
margin-top: 20px;
}
input[type="number"] {
width: 60px;
}
input[type="button"] {
margin-top: 10px;
padding: 10px;
font-size: 16px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
input[type="button"]:hover {
background-color: #3e8e41;
}
#total-time {
margin-top: 20px;
font-size: 20px;
font-weight: bold;
}
@media (max-width: 768px) {
.container {
width: 100%;
height: auto;
border: none;
box-shadow: none;
border-radius: 0;
padding-top: 250px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.center {
width: 90%;
height: 50%;
}
}