-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
113 lines (87 loc) · 1.55 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
*,
*:before,
*:after {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: #ffa1f7;
}
.container {
background-color: #2b2929;
width: 30%;
min-width: 500px;
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
padding: 20px 0;
padding-bottom: 50px;
border-radius: 10px;
}
.time-card {
padding: 0 10px;
}
.display-time {
position: relative;
width: 92%;
background: #070404;
left: 4%;
padding: 40px 0;
font-family: 'Roboto mono', monospace;
color: #ce47e3;
font-size: 40px;
display: flex;
align-items: center;
justify-content: space-around;
border-radius: 5px;
box-shadow: 0 0 20px rgba(196, 13, 172, 0.25);
}
.buttons {
width: 90%;
margin: 20px auto 0 auto;
display: flex;
justify-content: space-around;
}
.buttons button {
width: 200px;
height: 45px;
background-color: #1f981f;
color: #ffffff;
border: none;
font-family: 'Poppins', sans-serif;
font-size: 18px;
border-radius: 5px;
cursor: pointer;
outline: none;
}
.buttons button:nth-last-child(2) {
background-color: #d43340;
}
.buttons button:nth-last-child(1) {
background-color: #d864c7;
}
@media screen and (max-width:876px) {
.container {
width: 10%;
min-width: 90%;
padding: 90px 0;
padding-bottom: 90px;
}
.display-time {
width: 90%;
padding: 80px 0;
font-size: 26px;
}
.buttons {
width: 92%;
justify-content: space-between;
}
.buttons button {
width: 90px;
height: 50px;
margin: 5px;
font-size: 20px;
}
}