-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
154 lines (148 loc) · 2.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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@import url("https://fonts.googleapis.com/css2?family=Roboto&family=Russo+One&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
overflow-x: hidden;
}
body {
overflow-x: hidden;
background-color: #ecf0f1;
font-family: "Roboto", sans-serif;
}
/* Header */
header {
width: 100%;
height: 10vh;
background-color: #9b59b6;
display: grid;
place-items: center;
}
#logo-img {
width: 40px;
height: 40px;
}
/* Container */
.container {
width: 100%;
min-height: 90vh;
background-color: yellow;
margin: 0 auto;
display: grid;
grid-template-rows: 5% 10% 85%;
}
/* Current Time Box */
.current-time-box {
width: 100%;
background-color: #9b59b6;
display: flex;
justify-content: center;
align-items: center;
letter-spacing: 3px;
font-family: "Russo One", sans-serif;
font-weight: lighter;
}
/* Set Alarm Box */
.set-alarm-box {
width: 100%;
background-color: #ecf0f1;
color: #9b59b6;
border-bottom: 2px solid #9b59b6;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.set-alarm-box h3 {
text-transform: uppercase;
font-weight: bold;
}
input {
width: 80px;
background-color: #ecf0f1;
border: none;
border-bottom: 2px solid #9b59b6;
outline: none;
height: 30px;
font-size: 1.2rem;
padding: 5px;
}
select {
background: #9b59b6;
outline: none;
padding: 10px;
color: #ecf0f1;
font-size: 1.2rem;
}
select option {
background-color: #9b59b6;
color: #ecf0f1;
border: none;
outline: none;
}
select option:hover {
background-color: #ecf0f1;
color: #9b59b6;
}
.set-btn,
.delete-btn {
background-color: #9b59b6;
color: #ecf0f1;
outline: none;
border: none;
padding: 10px;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 3px;
transition: 0.3s ease;
}
.set-btn:hover,
.delete-btn:hover {
box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.6);
}
/* Alarm display box */
.alarm-display-box {
background-color: #ecf0f1;
}
.alarm-box {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #9b59b6;
color: #ecf0f1;
width: 100%;
height: 100%;
padding: 1rem;
visibility: hidden;
}
.delete-btn {
background-color: #ecf0f1;
color: #9b59b6;
margin-top: 1rem;
}
/* Error msg */
.error-msg {
color: #fff;
text-align: center;
}
@media (max-width: 768px) {
.container {
width: 100%;
}
input {
font-size: 1rem;
border: 1px solid #34495e;
}
input:focus {
box-shadow: 0px 0px 3px #34495e;
}
select {
font-size: 1rem;
padding: 5px;
}
.set-alarm-box h3 {
display: none;
}
}