-
-
Notifications
You must be signed in to change notification settings - Fork 286
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (88 loc) · 1.56 KB
/
style.css
File metadata and controls
100 lines (88 loc) · 1.56 KB
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "Roboto", "Segoe UI", sans-serif;
}
body {
background: #c5b7a9;
color: #797d8131;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
/* Centered card*/
.centre {
background-color: #000000;
padding: 40px 60px;
border-radius: 10px;
text-align: center;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
min-width: 300px;
}
/* Time display */
h1 {
font-size: 2.5rem;
margin-bottom: 30px;
font-weight: 600;
color: #f1bcaf;
letter-spacing: 1px;
}
/* Input time*/
#alarmSet {
padding: 4px 15px 6px 15px;
font-size: 1.3rem;
border-radius: 4px;
border: 2px solid #cbc1bc;
outline: none;
margin-bottom: 20px;
margin-right: 10px;
width: 100px;
text-align: center;
background-color: #e8dfdb;
color: #121212;
}
/* Buttons */
button {
padding: 12px 25px;
margin: 10px;
font-size: 1rem;
border-radius: 5px;
border: none;
cursor: pointer;
font-weight: 600;
transition: all 0.3s ease-in-out;
}
/* Set Alarm */
#set {
background-color: #1f6718;
color: #fff;
}
#set:hover {
background-color: #447f3d;
transform: translateY(-1px);
}
/* Stop Alarm */
#stop {
background-color: #825047;
color: #fff;
}
#stop:hover {
background-color: brown;
transform: translateY(-1px);
}
/* keep old styling in case you need to revert back */
/* .centre {
position: fixed;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
#alarmSet {
margin: 20px;
}
h1 {
text-align: center;
} */