-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcover.css
90 lines (79 loc) · 1.65 KB
/
cover.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
*,
*:before,
*:after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background: #e0e5ec;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Roboto', sans-serif;
}
.container{
display: flex;
flex-direction: column;
align-items: center;
flex-wrap: wrap;
background-color: #ffffff;
width: 40%;
min-width: 500px;
padding: 30px 0;
border-radius: 10px;
background: #ffffff;
box-shadow: 20px 20px 60px #bebebe,
-20px -20px 60px #ffffff;
}
.displayTimer{
width: 90%;
background: #ffffff;
box-shadow: 20px 20px 60px #bebebe,
-20px -20px 60px #ffffff;
padding: 40px 0;
font-size: 55px;
display: flex;
justify-content: space-around;
border-radius: 5px;
}
.buttons{
width: 90%;
margin: 30px auto 0 auto;
display: flex;
justify-content: space-around;
}
button{
width: 120px;
height: 45px;
background: #ffffff;
box-shadow: 20px 20px 60px #bebebe,
-20px -20px 60px #ffffff;
border: none;
font-size: 18px;
border-radius: 5px;
cursor: pointer;
outline: none;
}
button:hover{
box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
-4px -4px 6px 0 rgba(116, 125, 136, .2),
inset -4px -4px 6px 0 rgba(255,255,255,.5),
inset 4px 4px 6px 0 rgba(116, 125, 136, .3);
}
@media all and (max-width: 500px) {
.container{
min-width: 320px;
}
.displayTimer{
font-size: 35px;
}
.buttons{
flex-direction: column;
align-items: center;
}
button{
margin: 10px;
}
}